示例#1
0
 public ItemData <int> ReadInt32(DeviceAddress address, DataSource source = DataSource.Cache)
 {
     return(source == DataSource.Cache ? _cacheReader.ReadInt32(address) : _plcReader.ReadInt32(address));
 }
示例#2
0
 public ItemData <int> ReadInt32(DeviceAddress address, DataSource source = DataSource.Cache)
 {
     return(_reader.ReadInt32(address));
 }