Пример #1
0
 public void OnDoorClose()
 {
     DoorStateEvent?.Invoke(this, new DoorStateEventArgs()
     {
         DoorOpen = false
     });
 }
Пример #2
0
 public void OnDoorOpen()
 {
     DoorStateEvent?.Invoke(this, new DoorStateEventArgs()
     {
         DoorOpen = true
     });
 }