protected override IUposDevice GetDevice() { _device = GetCashDrawerDevice(); var cashDrawerDeviceEnabledPropertyValidator = new CashDrawerDeviceEnabledPropertyValidator(_props, _device); _props.SetPropertyValidator(PropertyConstants.PIDX_DeviceEnabled, cashDrawerDeviceEnabledPropertyValidator); return(_device); }
public CashDrawerDeviceEnabledPropertyValidator(IUposProperties properties, ICashDrawerDevice device) { _properties = properties; _device = device; }