예제 #1
0
        public ucFloorButton(int iFloor)
        {
            InitializeComponent();
            FloorText = iFloor.ToString();

            Evt.Instance(FloorText + "ClearButtonUI").Event += ClearButtonUI;
        }
예제 #2
0
        public void DoorControl()
        {
            // UI의 FloorButton 색깔 제거 및 눌린 층 List에서 제거
            Evt.Instance(model.NowFloor + "ClearButtonUI").Invoke();
            model.ReservedFloorList.Remove(model.NowFloor);

            DoorOpenAndDelayCloseThread();
        }
예제 #3
0
 public DoorAlert()
 {
     Evt.Instance("EvtDoorOpen").Event  += DoorOpen;
     Evt.Instance("EvtDoorClose").Event += DoorClose;
 }