Пример #1
0
 public void Add(PanelMission newMission)
 {
     TheContainer.Add(newMission.MissionNumber, newMission);
 }
Пример #2
0
        public PanelMission GetMission()
        {
            PanelMission returnpanel = MissionQueue.Dequeue();

            return(returnpanel);
        }
Пример #3
0
 string TransferMission2string(PanelMission panelMission)
 {
     return(JsonConvert.SerializeObject(panelMission));
 }
Пример #4
0
 public PanelMissionMessage(MessageType messageType, PanelMission panelMission) : base(messageType)
 {
     ThePanelMission = panelMission;
     this.Append(TransferMission2string(ThePanelMission));
 }
Пример #5
0
 public PanelMissionMessage(NetMQMessage theMessage)
 {
     TheMessageType  = (MessageType)theMessage[0].ConvertToInt32();
     ThePanelMission = Transferstring2Mission(theMessage[1].ConvertToString());
 }
Пример #6
0
 public PanelMissionMessage(BaseMessage theMessage) : base(theMessage)
 {
     ThePanelMission = Transferstring2Mission(theMessage[1].ConvertToString());
 }