public PLC() { instance = this; Q = _Q.instance; I = _I.instance; client = new TcpClient("127.0.0.1", 0xfa57); writer = new StreamWriter(client.GetStream()); reader = new StreamReader(client.GetStream()); writer.AutoFlush = true; }
static _Q() { instance = new _Q(); }