Package ch.psi.wica.model.channel.value
Class WicaChannelValueConnectedReal
java.lang.Object
ch.psi.wica.model.channel.WicaChannelData
ch.psi.wica.model.channel.value.WicaChannelValue
ch.psi.wica.model.channel.value.WicaChannelValueConnected
ch.psi.wica.model.channel.value.WicaChannelValueConnectedReal
- Direct Known Subclasses:
WicaChannelValueMixins.WicaChannelValueConnectedRealSerializerMixin
Represents the value of a connected channel whose underlying type is REAL.
-
Constructor Summary
ConstructorsConstructorDescriptionWicaChannelValueConnectedReal
(WicaChannelAlarmSeverity alarmSeverity, WicaChannelAlarmStatus alarmStatus, LocalDateTime dataSourceTimestamp, double value) Constructs a new instance of a value for a channel whose type is REAL. -
Method Summary
Methods inherited from class ch.psi.wica.model.channel.value.WicaChannelValueConnected
getDataSourceTimestamp, getWicaAlarmSeverity, getWicaChannelAlarmStatus, getWicaChannelType
Methods inherited from class ch.psi.wica.model.channel.value.WicaChannelValue
isConnected
Methods inherited from class ch.psi.wica.model.channel.WicaChannelData
getType, getWicaServerTimestamp
-
Constructor Details
-
WicaChannelValueConnectedReal
public WicaChannelValueConnectedReal(WicaChannelAlarmSeverity alarmSeverity, WicaChannelAlarmStatus alarmStatus, LocalDateTime dataSourceTimestamp, double value) Constructs a new instance of a value for a channel whose type is REAL.- Parameters:
alarmSeverity
- the alarm severity.alarmStatus
- the alarm status.dataSourceTimestamp
- the data source timestamp.value
- the value.
-
-
Method Details
-
getValue
public double getValue()Returns the value of the channel.- Returns:
- the value.
-
toString
- Overrides:
toString
in classWicaChannelValueConnected
-