56 void setData(
double globalTimestamp, uint16_t inputStates) {
57 timestamp = globalTimestamp;
58 if (_currentInput != inputStates) {
59 anyWarning = (inputStates & 0x00DB) != 0x00DB;
60 auxPowerNetworksOff = (inputStates & 0x0001) == 0;
61 thermalEquipmentOff = (inputStates & 0x0002) == 0;
62 airSupplyOff = (inputStates & 0x0008) == 0;
63 cabinetDoorOpen = (inputStates & 0x0010) == 0;
64 tmaMotionStop = (inputStates & 0x0040) == 0;
65 gisHeartbeatLost = (inputStates & 0x0080) == 0;
66 _currentInput = inputStates;
67 M1M3SSPublisher::instance().logInterlockWarning(
this);
78 if (_heartbeatMismatch < 0 || _heartbeatMismatch != mismatched) {
79 timestamp = globalTimestamp;
80 _heartbeatMismatch = mismatched;
81 heartbeatStateOutputMismatch = mismatched;
82 M1M3SSPublisher::instance().logInterlockWarning(
this);