public Dictionary <PROPERTIES, object> GetAllProps(string deviceOrGroupName) { IDeviceReader device = GetReaderDevice(deviceOrGroupName); return(device.GetAllProps().Result); }
public async Task <Dictionary <PROPERTIES, object> > GetAllProps(string deviceOrGroupName) { IDeviceReader device = _all[deviceOrGroupName] as IDeviceReader; return(await device.GetAllProps()); }