Пример #1
0
        public override void ExecuteRefreshEvent(RefreshEventCommand command)
        {
            base.ExecuteRefreshEvent(command);

            Dictionary <byte, object> eventContent = command.EventContent;

            string room_property_json = JsonConvert.SerializeObject(eventContent);

            Debug.LogFormat("Event: {0}, {1}", command.EventCode, room_property_json);
            RoomPanel.EventParamsJson = room_property_json;
        }
Пример #2
0
 public virtual void Execute(RefreshEventCommand argument)
 {
     this.RefreshEvent.OnNext(argument);
 }
Пример #3
0
 public virtual void ExecuteRefreshEvent(RefreshEventCommand command)
 {
     command.Sender = RoomPanel;
     RoomPanel.RefreshEvent.OnNext(command);
 }
Пример #4
0
 public virtual void RefreshEventExecuted(RefreshEventCommand command)
 {
 }
Пример #5
0
 public virtual void RefreshEvent(RoomPanelViewModel viewModel, RefreshEventCommand arg)
 {
 }
Пример #6
0
 public virtual void RefreshEventHandler(RefreshEventCommand command)
 {
     this.RefreshEvent(command.Sender as RoomPanelViewModel, command);
 }