private void OnDoorStateChange(DoorStateEnum DoorStateIn) { DoorChangedEvent?.Invoke(this, new DoorEventArg() { DoorState = DoorStateIn }); }
public void OnDoorClose() { StateOpen = false; DoorChangedEvent?.Invoke(this, new DoorChangedEventArgs() { State = this.StateOpen }); }
public void OnDoorOpen() { StateOpen = true; DoorChangedEvent?.Invoke(this, new DoorChangedEventArgs() { State = this.StateOpen }); }
protected virtual void OnDoorChanged(DoorEventArgs e) { DoorChangedEvent?.Invoke(this, e); }
protected virtual void DoorStatusChanged(ChangeDoorStatusEvent e) { DoorChangedEvent?.Invoke(this, e); }
public virtual void OnDoorStateChanged(DoorStateChangedEventArgs e) { DoorChangedEvent?.Invoke(this, e); }