public void Add(PanelMission newMission) { TheContainer.Add(newMission.MissionNumber, newMission); }
public PanelMission GetMission() { PanelMission returnpanel = MissionQueue.Dequeue(); return(returnpanel); }
string TransferMission2string(PanelMission panelMission) { return(JsonConvert.SerializeObject(panelMission)); }
public PanelMissionMessage(MessageType messageType, PanelMission panelMission) : base(messageType) { ThePanelMission = panelMission; this.Append(TransferMission2string(ThePanelMission)); }
public PanelMissionMessage(NetMQMessage theMessage) { TheMessageType = (MessageType)theMessage[0].ConvertToInt32(); ThePanelMission = Transferstring2Mission(theMessage[1].ConvertToString()); }
public PanelMissionMessage(BaseMessage theMessage) : base(theMessage) { ThePanelMission = Transferstring2Mission(theMessage[1].ConvertToString()); }