private void setupEasySerialPort(EasySerialPort esp) { this.currEasySerialPort = esp; this.cbxCom.SelectedItem = esp.PortName; this.cbxBaudRate.SelectedItem = (int)esp.BaudRate; this.cbxParity.SelectedItem = esp.Parity; this.cbxDataBits.SelectedItem = (int)esp.DataBits; this.cbxStopBits.SelectedItem = esp.StopBits; this.currEasySerialPortBackUp = (EasySerialPort)this.currEasySerialPort.Clone(); }
public Proportioner LoadSetting(EasySerialPort easySerialPort, ControlType controlType, int channel) { switch (controlType) { case ControlType.Direct: this.Proportional = new ProportionorAnda(easySerialPort); break; case ControlType.PLC: this.Proportional = new ProportionorPLC(easySerialPort); break; case ControlType.Disable: this.Proportional = new ProportionorDisable(easySerialPort); break; } this.Proportional.Channel = channel; return(this); }
public ProportionorAnda(EasySerialPort easySerialPort) : base(easySerialPort) { }
public BarcodeScannableCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public LightCustom(EasySerialPort easySerialPort) : base(easySerialPort) { }
public LaserableIL(EasySerialPort easySerialPort) : base(easySerialPort) { }
public ThermostatOmron(byte slaveAddress, EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; this.AddressSlave = slaveAddress; }
public BarcodeScannableKencey(EasySerialPort easySerialPort) : base(easySerialPort) { easySerialPort.isDelimiter = true; easySerialPort.Delimiter = this.Delimiter; }
public ScalableSartorius(EasySerialPort easySerialPort) : base(easySerialPort) { this.EasySerialPort.isDelimiter = true; }
public ConveyorHeaterConnecion(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public AiKaThermostat(byte slaveAddress, EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; this.SlaveAddr = slaveAddress; }
//public ProportionorDisable() //{ // this.CommunicationOK = ComCommunicationSts.DISABLE; //} public ProportionorDisable(EasySerialPort easySerialPort) : base(easySerialPort) { this.CommunicationOK = ComCommunicationSts.DISABLE; }
public ScalebleDisable(EasySerialPort easySerialPort) : base(easySerialPort) { }
public LaserableDisable(EasySerialPort easySerialPort) : base(easySerialPort) { this.CommunicationOK = ComCommunicationSts.DISABLE; }
public BarcodeScannableDisable(EasySerialPort easySerialPort) : base(easySerialPort) { this.CommunicationOK = ComCommunicationSts.DISABLE; }
public ProportionorCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public LaserableSickOD2(EasySerialPort easySerialPort) : base(easySerialPort) { this.CmdReadValue = GetCmdReadValue(); }
public LaserableCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public ScalableMettler(EasySerialPort easySerialPort) : base(easySerialPort) { this.EasySerialPort.isDelimiter = true; }
public LightingCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public InvalidThermostat(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public ProportionorPLC(EasySerialPort easySerialPort) : base(easySerialPort) { }
public DigitalGageEee(EasySerialPort easySerialPort) : base(easySerialPort) { }
public DigitalGagableCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public ScalableCom(EasySerialPort easySerialPort) { this.EasySerialPort = easySerialPort; }
public LightingOPT(EasySerialPort easySerialPort) : base(easySerialPort) { this.Setup(0, easySerialPort.PortName); }