public static ConnectedReadClient CreateAndConnect(AmsNetId id, int port, TimeSpan readCycle) { var connectedClient = new ConnectedReadClient(readCycle); connectedClient.client.Connect(id.ToString(), port); return(connectedClient); }
public ReadableBoolValue(UnconnectedAddressBase <bool> address, ConnectedReadClient connectedReadClient) : base(address, connectedReadClient) { }
public ReadableDoubleArray2DValue(UnconnectedAddressBase <double[, ]> address, ConnectedReadClient connectedReadClient) : base(address, connectedReadClient) { }
public ReadableValue(UnconnectedAddressBase <T> address, ConnectedReadClient connectedReadClient) { this.connectedReadClient = connectedReadClient; this.InitialAddress = address; connectedReadClient.RegisterForCyclicReading(this); }
public ReadableStringValue(UnconnectedAddressBase <string> address, ConnectedReadClient connectedReadClient) : base(address, connectedReadClient) { }