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);
 }
Example #3
0
 public WriteDoubleArrayValue(UnconnectedAddressBase <double[]> address, ConnectedWriteClient connectedWriteClient, double[] initalValue)
     : base(address, connectedWriteClient)
 {
 }
 public WritableBoolValue(UnconnectedAddressBase <bool> address, ConnectedWriteClient writeClient)
     : base(address, writeClient)
 {
 }
Example #5
0
 public WritableStringValue(UnconnectedAddressBase <string> address, ConnectedWriteClient writeClient)
     : base(address, writeClient)
 {
 }