Ejemplo n.º 1
0
        public static bool GetSMPStatusIndividual(Machine.Beam beam, Machine.Page1.SMPFlags smpFlags)
        {
            switch (smpFlags)
            {
            case Machine.Page1.SMPFlags.Link_Status_of_Beam_Permits:
                return(CheckLinkStatusOfBeamPermits(beam));

            case Machine.Page1.SMPFlags.Global_Beam_Permit:
                return(CheckGlobalBeamPermit(beam));

            case Machine.Page1.SMPFlags.Setup_Beam:
                return(CheckSetupBeam(beam));

            case Machine.Page1.SMPFlags.Beam_Presence:
                return(CheckBeamPresence(beam));

            case Machine.Page1.SMPFlags.Moveable_Devices_Allowed_In:
                return(CheckMoveableDevicesAllowedIn(beam));

            case Machine.Page1.SMPFlags.Stable_Beams:
                return(CheckStableBeams(beam));

            default:
                return(false);
            }
        }
Ejemplo n.º 2
0
 public static bool GetSMPStatus(Machine.Beam beam, Machine.Page1.SMPFlags smpFlag)
 {
     return(GetSMPStatusIndividual(beam, smpFlag));
 }