Пример #1
0
        public Dictionary <PROPERTIES, object> GetAllProps(string deviceOrGroupName)
        {
            IDeviceReader device = GetReaderDevice(deviceOrGroupName);

            return(device.GetAllProps().Result);
        }
Пример #2
0
        public async Task <Dictionary <PROPERTIES, object> > GetAllProps(string deviceOrGroupName)
        {
            IDeviceReader device = _all[deviceOrGroupName] as IDeviceReader;

            return(await device.GetAllProps());
        }