示例#1
0
        public CreateCBSysWorkFlowStates SetLastSatelliteEnd(CBody Satellite)
        {
            if (ActiveState != CreateCBSysWorkFlowStates.SelectSatellite)
            {
                ActiveState = CreateCBSysWorkFlowStates.Error;
                return(ActiveState);
            }

            Sys.Satellites.Add(Satellite);

            ActiveState = CreateCBSysWorkFlowStates.CreateCBSys;
            return(ActiveState);
        }
示例#2
0
        public CreateCBSysWorkFlowStates SetCentralBody(CBody CentralBody)
        {
            if (ActiveState != CreateCBSysWorkFlowStates.SelectCentralBody)
            {
                ActiveState = CreateCBSysWorkFlowStates.Error;
                return(ActiveState);
            }


            Sys.CentralBody = CentralBody;
            ActiveState     = CreateCBSysWorkFlowStates.SelectSatellite;
            return(ActiveState);
        }