Beispiel #1
0
 private void InnerWriteBoolTagValue(BoolTag tag)
 {
     foreach (var item in tag.GetAddresses())
     {
         master.WriteSingleCoil(myDevice.Id, (ushort)(item - 1), tag.GetWriteValue());
     }
 }
Beispiel #2
0
 public void WriteBoolTagValue(BoolTag tag)
 {
     foreach (var item in tag.GetAddresses())
     {
         master.WriteSingleCoilAsync((ushort)(item - 1), tag.GetWriteValue());
     }
 }