Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::units Namespace Reference

Namespaces

namespace  builders
 

Classes

class  AimBuilder
 
class  DimBuilder
 
class  DiomBuilder
 
class  PmmBuilder
 
class  TimBuilder
 
class  Unit
 
struct  UnitData
 
struct  UnitIdAndName
 
class  UnitInfo
 
struct  UnitLogicInfo
 
class  Units
 

Enumerations

enum class  eUnitType {
  Aim18 , Dim36 , Diom24 , Rms ,
  Lum , Pmm , SLim , Tim28 ,
  Heartbeat , CommFailure
}
 

Functions

void prvConfigureChannel (const std::shared_ptr< iv::channels::AbstractChannel > &channel, const iv::types::channelId &channelId, iv::types::unitId unitId, iv::types::channelOrder order, iv::channels::eChannelSpecificType specificType)
 
void prvConfigureChannelActiveConsumedPower (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelMainBarVoltage (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelGeneratorVoltage (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelGeneratorCurrent (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelGeneratorFrequency (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelMainBarFrequency (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelActiveConsumedCalculatedPower (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelGeneratorRegulationMode (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelGroupBRKAndDGStatus (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelRunningHours (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelMainBarFrequencyMode (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelMainBarLoadMode (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelMainBarPriority (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelFrequencySetPoint (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelPowerSetPoint (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelPriority (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelPowerAvailable (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelMainBarPowerAvailable (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelBreakerStatus (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelGeneratorStatus (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelPriorityBackup (const std::shared_ptr< iv::channels::VirtualAnalog > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelGeneratorStartOrder (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelBreakerConnectOrder (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelGeneratorStopOrder (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelBreakerDisconnectOrder (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelIncreaseSpeed (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelDecreaseSpeed (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelGeneratorRemoteControl (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelBreakerConnectedFeedback (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelMainBarBlackout (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelBreakerRemote (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelFixedSpeed (const std::shared_ptr< iv::units::Unit > &unit, const std::string &genName)
 
void prvConfigureChannelRun (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelAutoMode (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelRunningBackup (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelAutoBackup (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelBreakerTripped (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelTrippedGenerator (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelHighLoadStatus (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelLowLoadStatus (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelOverload (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelReversePowerAlarm (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelAutoModeCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelSemiAutoModeCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelStartCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelStopCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelBreakerConnectCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelBreakerDisconnectCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelGeneratorResetCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
void prvConfigureChannelBreakerResetCommand (const std::shared_ptr< iv::channels::VirtualDigital > &channel, const std::string &genName, iv::types::unitId unitId)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateChannel (const iv::channels::eChannelBaseType type)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateTempChannel (iv::types::unitId unitId)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateVoltsChannel (iv::types::unitId unitId)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateHoursChannel (iv::types::unitId unitId)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateTestChannel (const iv::types::unitId unitId)
 
static std::shared_ptr< iv::channels::AbstractChannelprvCreateGenericCANFailure (const iv::types::unitId unitId, const iv::types::channelOrder channelOrder, const char can)
 
static std::shared_ptr< iv::channels::AbstractChannelreadChannel (const iv::file::xml::node &nodeChannel)
 
std::optional< eUnitTypegetUnitTypeFromUnitDataHwVersion (const std::string_view &hwVersion)
 

Enumeration Type Documentation

◆ eUnitType

enum class iv::units::eUnitType
strong
Enumerator
Aim18 
Dim36 
Diom24 
Rms 
Lum 
Pmm 
SLim 
Tim28 
Heartbeat 
CommFailure 

Function Documentation

◆ getUnitTypeFromUnitDataHwVersion()

std::optional< eUnitType > iv::units::getUnitTypeFromUnitDataHwVersion ( const std::string_view & hwVersion)
inline

◆ prvConfigureChannel()

void iv::units::prvConfigureChannel ( const std::shared_ptr< iv::channels::AbstractChannel > & channel,
const iv::types::channelId & channelId,
iv::types::unitId unitId,
iv::types::channelOrder order,
iv::channels::eChannelSpecificType specificType )

◆ prvConfigureChannelActiveConsumedCalculatedPower()

void iv::units::prvConfigureChannelActiveConsumedCalculatedPower ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelActiveConsumedPower()

void iv::units::prvConfigureChannelActiveConsumedPower ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelAutoBackup()

void iv::units::prvConfigureChannelAutoBackup ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelAutoMode()

void iv::units::prvConfigureChannelAutoMode ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelAutoModeCommand()

void iv::units::prvConfigureChannelAutoModeCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelBreakerConnectCommand()

void iv::units::prvConfigureChannelBreakerConnectCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelBreakerConnectedFeedback()

void iv::units::prvConfigureChannelBreakerConnectedFeedback ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelBreakerConnectOrder()

void iv::units::prvConfigureChannelBreakerConnectOrder ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelBreakerDisconnectCommand()

void iv::units::prvConfigureChannelBreakerDisconnectCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelBreakerDisconnectOrder()

void iv::units::prvConfigureChannelBreakerDisconnectOrder ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelBreakerRemote()

void iv::units::prvConfigureChannelBreakerRemote ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelBreakerResetCommand()

void iv::units::prvConfigureChannelBreakerResetCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelBreakerStatus()

void iv::units::prvConfigureChannelBreakerStatus ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelBreakerTripped()

void iv::units::prvConfigureChannelBreakerTripped ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelDecreaseSpeed()

void iv::units::prvConfigureChannelDecreaseSpeed ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelFixedSpeed()

void iv::units::prvConfigureChannelFixedSpeed ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelFrequencySetPoint()

void iv::units::prvConfigureChannelFrequencySetPoint ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelGeneratorCurrent()

void iv::units::prvConfigureChannelGeneratorCurrent ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelGeneratorFrequency()

void iv::units::prvConfigureChannelGeneratorFrequency ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelGeneratorRegulationMode()

void iv::units::prvConfigureChannelGeneratorRegulationMode ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelGeneratorRemoteControl()

void iv::units::prvConfigureChannelGeneratorRemoteControl ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelGeneratorResetCommand()

void iv::units::prvConfigureChannelGeneratorResetCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelGeneratorStartOrder()

void iv::units::prvConfigureChannelGeneratorStartOrder ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelGeneratorStatus()

void iv::units::prvConfigureChannelGeneratorStatus ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelGeneratorStopOrder()

void iv::units::prvConfigureChannelGeneratorStopOrder ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelGeneratorVoltage()

void iv::units::prvConfigureChannelGeneratorVoltage ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelGroupBRKAndDGStatus()

void iv::units::prvConfigureChannelGroupBRKAndDGStatus ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelHighLoadStatus()

void iv::units::prvConfigureChannelHighLoadStatus ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelIncreaseSpeed()

void iv::units::prvConfigureChannelIncreaseSpeed ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelLowLoadStatus()

void iv::units::prvConfigureChannelLowLoadStatus ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarBlackout()

void iv::units::prvConfigureChannelMainBarBlackout ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelMainBarFrequency()

void iv::units::prvConfigureChannelMainBarFrequency ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarFrequencyMode()

void iv::units::prvConfigureChannelMainBarFrequencyMode ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarLoadMode()

void iv::units::prvConfigureChannelMainBarLoadMode ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarPowerAvailable()

void iv::units::prvConfigureChannelMainBarPowerAvailable ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarPriority()

void iv::units::prvConfigureChannelMainBarPriority ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelMainBarVoltage()

void iv::units::prvConfigureChannelMainBarVoltage ( const std::shared_ptr< iv::units::Unit > & unit,
const std::string & genName )

◆ prvConfigureChannelOverload()

void iv::units::prvConfigureChannelOverload ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelPowerAvailable()

void iv::units::prvConfigureChannelPowerAvailable ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelPowerSetPoint()

void iv::units::prvConfigureChannelPowerSetPoint ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelPriority()

void iv::units::prvConfigureChannelPriority ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelPriorityBackup()

void iv::units::prvConfigureChannelPriorityBackup ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelReversePowerAlarm()

void iv::units::prvConfigureChannelReversePowerAlarm ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelRun()

void iv::units::prvConfigureChannelRun ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelRunningBackup()

void iv::units::prvConfigureChannelRunningBackup ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelRunningHours()

void iv::units::prvConfigureChannelRunningHours ( const std::shared_ptr< iv::channels::VirtualAnalog > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelSemiAutoModeCommand()

void iv::units::prvConfigureChannelSemiAutoModeCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelStartCommand()

void iv::units::prvConfigureChannelStartCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelStopCommand()

void iv::units::prvConfigureChannelStopCommand ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvConfigureChannelTrippedGenerator()

void iv::units::prvConfigureChannelTrippedGenerator ( const std::shared_ptr< iv::channels::VirtualDigital > & channel,
const std::string & genName,
iv::types::unitId unitId )

◆ prvCreateChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateChannel ( const iv::channels::eChannelBaseType type)
static

◆ prvCreateGenericCANFailure()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateGenericCANFailure ( const iv::types::unitId unitId,
const iv::types::channelOrder channelOrder,
const char can )
static

◆ prvCreateHoursChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateHoursChannel ( iv::types::unitId unitId)
static

◆ prvCreateTempChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateTempChannel ( iv::types::unitId unitId)
static

◆ prvCreateTestChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateTestChannel ( const iv::types::unitId unitId)
static

◆ prvCreateVoltsChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::prvCreateVoltsChannel ( iv::types::unitId unitId)
static

◆ readChannel()

static std::shared_ptr< iv::channels::AbstractChannel > iv::units::readChannel ( const iv::file::xml::node & nodeChannel)
static