// Activate Roadworks Warning
on key 'a'
{
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1::EventPosAndTime", 1);
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1::CauseCode", 3);
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1::SubCauseCode", 0);
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1::ActionIdOriginatingStationId", 0);
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1::ActionIdSequenceNumber", 1);
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1", 1);
}
// De-Activate Roadworks Warning
on key 'b'
{
C2xSetStationAttributeInt64("Events_Vehicle_Events_DENM1", 0);
}