UnpackData(PubSubBuffer,InternalTime,Byte,Byte,String,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,String,ArrayList) Method
- Last UpdatedApr 08, 2026
- 2 minute read
Unpacks several RealTime database (RTDB) fields from one PubSub buffer.
public static void UnpackData(
PubSubBuffer pubBuffer,
out OASySDNA.Common.InternalTime timestamp,
out byte foregroundColor,
out byte alarmSeverity,
out string messageText,
out bool inAlarm,
out bool alarmInhibited,
out bool inError,
out bool flashing,
out bool fresh,
out bool inManualOverride,
out bool offscan,
out string tagAttribute,
ref ArrayList currentValueList
)
public:
static void UnpackData(
PubSubBuffer^ pubBuffer,
[Out] OASySDNA.Common.InternalTime timestamp,
[Out] byte foregroundColor,
[Out] byte alarmSeverity,
[Out] String^ messageText,
[Out] bool inAlarm,
[Out] bool alarmInhibited,
[Out] bool inError,
[Out] bool flashing,
[Out] bool fresh,
[Out] bool inManualOverride,
[Out] bool offscan,
[Out] String^ tagAttribute,
ArrayList^% currentValueList
)
Parameters
- pubBuffer
- The received PubSubBuffer with packed data.
- timestamp
- The time at which the RTDB was updated.
- foregroundColor
- The color representing the alarm state.
- alarmSeverity
- The severity of the alarm state.
- messageText
- The current message text (for example, OPEN, HIGH).
- inAlarm
- true if the point is in alarm. Otherwise, false.
- alarmInhibited
- true if the alarms are inhibited. Otherwise, false.
- inError
- true if the point is in error (for example, instrument failure). Otherwise, false.
- flashing
- true if the point has an unacknowledged alarm. Otherwise, false.
- fresh
- true if the data is fresh (that is, not stale). Otherwise, false.
- inManualOverride
- true if the point is in manual override. Otherwise, false.
- offscan
- true if the remote has been placed offscan. Otherwise, false.
- tagAttribute
- The command inhibit tags.
- currentValueList
- A list of the object's current values.