Exemplo n.º 1
0
        public ItemData <string> ReadString(DeviceAddress address, DataSource source = DataSource.Cache)
        {
            ushort siz = address.DataSize;

            return(source == DataSource.Cache ? _cacheReader.ReadString(address, siz) :
                   _plcReader.ReadString(address, siz));
        }