コード例 #1
0
        public bool Dispense(DispenseAddress address, uint quantity)
        {
            var  t      = _machineAdapter.Status(false);
            bool result = _machineAdapter.DispenseProduct(address, quantity);
            var  t1     = _machineAdapter.Status(false);

            return(result);
        }
コード例 #2
0
 public bool IsAddressAvailable(DispenseAddress address)
 => _machineAdapter.IsBeltAvailable(address);