Esempio n. 1
0
 public void SetColor(int StateCode, int PType)
 {
     FB14 LL = new FB14();
     _SetColor(LL.SetColor(StateCode, PType));
     StatusLowLevel = LL.Status_DI_Status;
     FaultLowLevel = LL.Fault_DI_Element;
 }
        public void SpeedMonitorColor(int value, bool TopSpeedMonitor)
        {
            FB14 Monitor = new FB14();
            _SetColorSpeedMonitor(Monitor.SetColor(value, 7135), TopSpeedMonitor);

            if (TopSpeedMonitor)
            {
                StatusSpeedMonitorTop = Monitor.Status_DI_Status;
                FaultSpeedMonitorTop = Monitor.Fault_DI_Element;
            }
            else
            {
                StatusSpeedMonitorBottom = Monitor.Status_DI_Status;
                FaultSpeedMonitorBottom = Monitor.Fault_DI_Element;
            }
        }
        public void BeltAlignmentColor(int value, int MonitorNumber)
        {
            FB14 Monitor = new FB14();
            _SetColorBeltAlignment(Monitor.SetColor(value, 7135), MonitorNumber);

            if (MonitorNumber == 1)
            {
                FaultBeltAlignment1 = Monitor.Fault_DI_Element;
                //BeltAlign_RectTop1.Fill
            }
            else if (MonitorNumber == 2)
            {
                FaultBeltAlignment2 = Monitor.Fault_DI_Element;
            }
            else if (MonitorNumber == 3)
            {
                FaultBeltAlignment3 = Monitor.Fault_DI_Element;
            }
            else if (MonitorNumber == 4)
            {
                FaultBeltAlignment4 = Monitor.Fault_DI_Element;
            }
            else if (MonitorNumber == 5)
            {
                FaultBeltAlignment5 = Monitor.Fault_DI_Element;
            }
        }
 public void SetColor(int StateCode, int PType)
 {
     FB14 oFlow = new FB14();
     _SetColor(oFlow.SetColor(StateCode, PType));
     StatusOverflow = oFlow.Status_DI_Status;
     FaultOverflow = oFlow.Fault_DI_Element;
 }
Esempio n. 5
0
 public void SetColor(int StateCode, int PType)
 {
     FB14 ML = new FB14();
     _SetColor(ML.SetColor(StateCode, PType));
     StatusMidLevel = ML.Status_DI_Status;
     FaultMidLevel = ML.Fault_DI_Element;
 }
 public void SetColor(int StateCode)
 {
     FB14 HL = new FB14();
     _SetColor(HL.SetColor(StateCode, 7131));
     StatusSwitch = HL.Status_DI_Status;
     FaultSwitch = HL.Fault_DI_Element;
 }