예제 #1
0
        protected override IUposDevice GetDevice()
        {
            _device = GetCashDrawerDevice();
            var cashDrawerDeviceEnabledPropertyValidator = new CashDrawerDeviceEnabledPropertyValidator(_props, _device);

            _props.SetPropertyValidator(PropertyConstants.PIDX_DeviceEnabled, cashDrawerDeviceEnabledPropertyValidator);

            return(_device);
        }
예제 #2
0
 public CashDrawerDeviceEnabledPropertyValidator(IUposProperties properties, ICashDrawerDevice device)
 {
     _properties = properties;
     _device     = device;
 }