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