void FireAllEvents(string Token, DoorState state) { EventServer.DoorModeEvent(this, "Initialized", Token, state.DoorMode); EventServer.DoorMonitorEvent(this, "Initialized", Token, state.DoorMonitor); EventServer.DoorDoubleLockMonitorEvent(this, "Initialized", Token, state.DoorDoubleLockMonitor); EventServer.DoorLockMonitorEvent(this, "Initialized", Token, state.DoorLockMonitor); EventServer.DoorAlarmMonitorEvent(this, "Initialized", Token, state.DoorAlarm); EventServer.DoorTamperMonitorEvent(this, "Initialized", Token, state.DoorTamper); }