ConditionSnapshot Class
Constructor
ConditionSnapshot
-
condition -
branchId
Parameters:
-
conditionObject -
branchIdObject
Item Index
Methods
- getBrandId
- getComment
- getEnabledState
- getEnabledStateAsString
- getEventId
- getEventType!~YUIDOC_LINE~!return
- getLastSeverity
- getMessage!~YUIDOC_LINE~!return
- getQuality
- getRetain
- getSeverity
- getSourceNode!~YUIDOC_LINE~!return
- getSuppressedState
- readValue
- renewEventId
- resolveSelectClause
- setClientUserId
- setComment
- setEnabledState
- setLastSeverity
- setLocalTime
- setMessage
- setQuality
- setReceiveTime
- setRetain
- setSeverity
- setSuppressedState
- setTime
Methods
getEnabledState
()
Boolean
Returns:
getEnabledStateAsString
()
String
Returns:
getEventId
()
ByteString
Returns:
getEventType!~YUIDOC_LINE~!return
()
getLastSeverity
()
UInt16
Returns:
getMessage!~YUIDOC_LINE~!return
()
getRetain
()
Boolean
Returns:
getSeverity
()
UInt16
Returns:
getSourceNode!~YUIDOC_LINE~!return
()
getSuppressedState
()
Boolean
Returns:
readValue
-
nodeId -
selectClause
Parameters:
-
nodeIdNodeId -
selectClauseSelectClause
Returns:
renewEventId
()
resolveSelectClause
-
selectClause
Parameters:
-
selectClauseSelectClause
setClientUserId
-
userIdentity
Parameters:
-
userIdentityString
setComment
-
txtMessage
Set condition comment
Comment contains the last comment provided for a certain state (ConditionBranch). It may have been provided by an AddComment Method, some other Method or in some other manner. The initial value of this Variable is null, unless it is provided in some other manner. If a Method provides as an option the ability to set a Comment, then the value of this Variable is reset to null if an optional comment is not provided.
Parameters:
-
txtMessageLocalizedText
setEnabledState
-
value
Parameters:
-
valueBoolean
Returns:
void
setLastSeverity
-
severity
Parameters:
-
severityUInt16
setLocalTime
-
localTime
LocalTime is a structure containing the Offset and the DaylightSavingInOffset flag. The Offset specifies the time difference (in minutes) between the Time Property and the time at the location in which the event was issued. If DaylightSavingInOffset is TRUE, then Standard/Daylight savings time (DST) at the originating location is in effect and Offset includes the DST c orrection. If FALSE then the Offset does not include DST correction and DST may or may not have been in effect.
Parameters:
-
localTimeTimeZone
setReceiveTime
-
time
setReceiveTime
(as per OPCUA 1.0.3 part 5)
ReceiveTime provides the time the OPC UA Server received the Event from the underlying device of another Server.
ReceiveTime is analogous to ServerTimestamp defined in Part 4, i.e. in the case where the OPC UA Server gets an Event from another OPC UA Server, each Server applies its own ReceiveTime. That implies that a Client may get the same Event, having the same EventId, from different Servers having different values of the ReceiveTime.
The ReceiveTime shall always be returned as value and the Server is not allowed to return a StatusCode for the ReceiveTime indicating an error.
Parameters:
-
timeDate: UTCTime
setRetain
-
retainFlag
Parameters:
-
retainFlagBoolean
setSeverity
-
severity
Parameters:
-
severityUInt16
setSuppressedState
-
suppressed
Parameters:
-
suppressedBoolean
setTime
-
time
(as per OPCUA 1.0.3 part 5)
Time provides the time the Event occurred. This value is set as close to the event generator as possible. It often comes from the underlying system or device. Once set, intermediate OPC UA Servers shall not alter the value.
Parameters:
-
timeDate
The NodeOPCUA API