コード例 #1
0
        public LPMSimPartConfigBase(LPMSimPartConfigBase rhs)
        {
            LPMName           = rhs.LPMName;
            Type              = rhs.Type;
            PortSpecStr       = rhs.PortSpecStr;
            PersistDirPathStr = rhs.PersistDirPathStr;

            Mapper_Installed    = rhs.Mapper_Installed;
            E84_1_Installed     = rhs.E84_1_Installed;
            E84_2_Installed     = rhs.E84_2_Installed;
            IntegratedRFID_Type = rhs.IntegratedRFID_Type;
            SeperateRFID_Type   = rhs.SeperateRFID_Type;

            ResetInputsOnStart   = rhs.ResetInputsOnStart;
            ResetPositionOnStart = rhs.ResetPositionOnStart;
            ResetE84OnStart      = rhs.ResetE84OnStart;

            useFastMotion       = rhs.useFastMotion;
            VacuumOffMotionTime = rhs.VacuumOffMotionTime;
            VacuumOnMotionTime  = rhs.VacuumOnMotionTime;
            ClampMotionTime     = rhs.ClampMotionTime;
            TBarMotionTime      = rhs.TBarMotionTime;
            MidMotionTime       = rhs.MidMotionTime;
            LongMotionTime      = rhs.LongMotionTime;

            MapResultPattern = new LPMSimConfigSetAndArrayItems(rhs.MapResultPattern);
            CarrierTypeSpec  = new LPMSimConfigSetAndArrayItems(rhs.CarrierTypeSpec);
        }
コード例 #2
0
 public bool IsEqualTo(LPMSimPartConfigBase rhs)
 {
     return(LPMName == rhs.LPMName &&
            Type == rhs.Type &&
            PortSpecStr == rhs.PortSpecStr &&
            PersistDirPathStr == rhs.PersistDirPathStr &&
            Mapper_Installed == rhs.Mapper_Installed &&
            E84_1_Installed == rhs.E84_1_Installed &&
            E84_2_Installed == rhs.E84_2_Installed &&
            IntegratedRFID_Type == rhs.IntegratedRFID_Type &&
            SeperateRFID_Type == rhs.SeperateRFID_Type &&
            ResetInputsOnStart == rhs.ResetInputsOnStart &&
            ResetPositionOnStart == rhs.ResetPositionOnStart &&
            ResetE84OnStart == rhs.ResetE84OnStart &&
            UseFastMotion == rhs.UseFastMotion &&
            VacuumOnMotionTime == rhs.VacuumOnMotionTime &&
            VacuumOffMotionTime == rhs.VacuumOffMotionTime &&
            ClampMotionTime == rhs.ClampMotionTime &&
            TBarMotionTime == rhs.TBarMotionTime &&
            MidMotionTime == rhs.MidMotionTime &&
            LongMotionTime == rhs.LongMotionTime &&
            MapResultPattern.IsEqualTo(rhs.MapResultPattern) &&
            CarrierTypeSpec.IsEqualTo(rhs.CarrierTypeSpec)
            );
 }
コード例 #3
0
ファイル: LPMSim.cs プロジェクト: mosaicsys/MosaicLibCS
 public bool IsEqualTo(LPMSimPartConfigBase rhs)
 {
     return (LPMName == rhs.LPMName
             && Type == rhs.Type
             && PortSpecStr == rhs.PortSpecStr
             && PersistDirPathStr == rhs.PersistDirPathStr
             && Mapper_Installed == rhs.Mapper_Installed
             && E84_1_Installed == rhs.E84_1_Installed
             && E84_2_Installed == rhs.E84_2_Installed
             && IntegratedRFID_Type == rhs.IntegratedRFID_Type
             && SeperateRFID_Type == rhs.SeperateRFID_Type
             && ResetInputsOnStart == rhs.ResetInputsOnStart
             && ResetPositionOnStart == rhs.ResetPositionOnStart
             && ResetE84OnStart == rhs.ResetE84OnStart
             && UseFastMotion == rhs.UseFastMotion
             && VacuumOnMotionTime == rhs.VacuumOnMotionTime
             && VacuumOffMotionTime == rhs.VacuumOffMotionTime
             && ClampMotionTime == rhs.ClampMotionTime
             && TBarMotionTime == rhs.TBarMotionTime
             && MidMotionTime == rhs.MidMotionTime
             && LongMotionTime == rhs.LongMotionTime
             && MapResultPattern.IsEqualTo(rhs.MapResultPattern)
             && CarrierTypeSpec.IsEqualTo(rhs.CarrierTypeSpec)
             );
 }
コード例 #4
0
ファイル: LPMSim.cs プロジェクト: mosaicsys/MosaicLibCS
        public LPMSimPartConfigBase(LPMSimPartConfigBase rhs)
        {
            LPMName = rhs.LPMName;
            Type = rhs.Type;
            PortSpecStr = rhs.PortSpecStr;
            PersistDirPathStr = rhs.PersistDirPathStr;

            Mapper_Installed = rhs.Mapper_Installed;
            E84_1_Installed = rhs.E84_1_Installed;
            E84_2_Installed = rhs.E84_2_Installed;
            IntegratedRFID_Type = rhs.IntegratedRFID_Type;
            SeperateRFID_Type = rhs.SeperateRFID_Type;

            ResetInputsOnStart = rhs.ResetInputsOnStart;
            ResetPositionOnStart = rhs.ResetPositionOnStart;
            ResetE84OnStart = rhs.ResetE84OnStart;

            useFastMotion = rhs.useFastMotion;
            VacuumOffMotionTime = rhs.VacuumOffMotionTime;
            VacuumOnMotionTime = rhs.VacuumOnMotionTime;
            ClampMotionTime = rhs.ClampMotionTime;
            TBarMotionTime = rhs.TBarMotionTime;
            MidMotionTime = rhs.MidMotionTime;
            LongMotionTime = rhs.LongMotionTime;

            MapResultPattern = new LPMSimConfigSetAndArrayItems(rhs.MapResultPattern);
            CarrierTypeSpec = new LPMSimConfigSetAndArrayItems(rhs.CarrierTypeSpec);
        }
コード例 #5
0
ファイル: LPMSim.cs プロジェクト: mosaicsys/MosaicLibCS
 public State(LPMSimPartConfigBase config)
     : this()
 {
     LPMName = config.LPMName;
     Config = config;
 }
コード例 #6
0
ファイル: LPMSim.cs プロジェクト: mosaicsys/MosaicLibCS
        public void UpdateFrom(LPMSimPartConfigBase config)
        {
            SelectedMapResultPattern = config.MapResultPattern.ItemsAsArray.SafeAccess(SelectedMapResultPatternIndex, String.Empty);
            SelectedMapResultSlotStateList = SelectedMapResultSlotStateList.Parse(SelectedMapResultPattern);        // fixes null caused by DataContract deserializer.

            SelectedCarrierTypeSpec = config.CarrierTypeSpec.ItemsAsArray.SafeAccess(SelectedCarrierTypeSpecIndex, String.Empty);

            StringScanner ss = new StringScanner(SelectedCarrierTypeSpec);
            SelectedCarrierType = ss.ExtractToken();

            InfoPads infoPads = InfoPads.None;
            if (ss.ParseXmlAttribute("InfoPads", out infoPads))
                SelectedInfoPads = infoPads;
        }