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