void DeviceNotificationManager_OnAttractionDeviceStatusChanged(AttractionStatusChanged attractionStatusChanged) { if (OnCurrentSessionStatusChanged != null) { OnCurrentSessionStatusChanged(attractionStatusChanged); } }
void AttractionStatusChangedNotification(AttractionStatusChanged attractionStatusChanged) { if (OnAttractionDeviceStatusChanged != null) { OnAttractionDeviceStatusChanged(attractionStatusChanged); } CurrentStatus = attractionStatusChanged.CurrentAttractionStatus; }
void DeviceNotificationManager_OnSessionStatusChanged(AttractionStatusChanged x) { switch (x.CurrentAttractionStatus) { case AttractionStatus.InSession: print("we are in Session now"); bStart = true; break; } }
void DeviceNotificationManager_OnCurrentSessionStatusChanged(AttractionStatusChanged NewStatus) { }