Example #1
0
 public void Add(PanelMission newMission)
 {
     TheContainer.Add(newMission.MissionNumber, newMission);
 }
Example #2
0
        public PanelMission GetMission()
        {
            PanelMission returnpanel = MissionQueue.Dequeue();

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