public FModuleSetBase(ZLPLCModbusNode fPLCModbusNodeX, ZLPLCBusOnSerialPort fSerialPortBusX) { InitializeComponent(); Text += string.Format("[{0}]", "V1.180510"); fModulePLCBase = new ModulePLCBase(fPLCModbusNodeX, fSerialPortBusX); ClearAll(); }
public void CloseAll() { if (fModulePLCBase != null) { fModulePLCBase.Close(); } fModulePLCBase = null; Close(); }