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