private void OnDoorStateChange(DoorStateEnum DoorStateIn)
 {
     DoorChangedEvent?.Invoke(this, new DoorEventArg()
     {
         DoorState = DoorStateIn
     });
 }
示例#2
0
 public void OnDoorClose()
 {
     StateOpen = false;
     DoorChangedEvent?.Invoke(this, new DoorChangedEventArgs()
     {
         State = this.StateOpen
     });
 }
示例#3
0
 public void OnDoorOpen()
 {
     StateOpen = true;
     DoorChangedEvent?.Invoke(this, new DoorChangedEventArgs()
     {
         State = this.StateOpen
     });
 }
示例#4
0
文件: Door.cs 项目: SWTGrp10/HandIn2
 protected virtual void OnDoorChanged(DoorEventArgs e)
 {
     DoorChangedEvent?.Invoke(this, e);
 }
示例#5
0
 protected virtual void DoorStatusChanged(ChangeDoorStatusEvent e)
 {
     DoorChangedEvent?.Invoke(this, e);
 }
示例#6
0
 public virtual void OnDoorStateChanged(DoorStateChangedEventArgs e)
 {
     DoorChangedEvent?.Invoke(this, e);
 }