public static ConnectedWriteClient CreateAndConnect(AmsNetId id, int port, TimeSpan cycleTime) { var connectedClient = new ConnectedWriteClient(cycleTime); connectedClient.Client.Connect(id, port); return connectedClient; }
public WriteableValue(UnconnectedAddressBase <T> address, ConnectedWriteClient writeClient) { this.unConnectedAddress = address; this.writeClient = writeClient; writeClient.RegisterCyclicWriting(this); }
public WriteDoubleArrayValue(UnconnectedAddressBase <double[]> address, ConnectedWriteClient connectedWriteClient, double[] initalValue) : base(address, connectedWriteClient) { }
public WritableBoolValue(UnconnectedAddressBase <bool> address, ConnectedWriteClient writeClient) : base(address, writeClient) { }
public WritableStringValue(UnconnectedAddressBase <string> address, ConnectedWriteClient writeClient) : base(address, writeClient) { }