示例#1
0
 public override void Price()
 {
     if (!input.IsEmpty)
     {
         Quantity();
     }
     cr.State = EnterUnitPrice.Instance();
 }
示例#2
0
 public override void Price()
 {
     if (cr.IsAuthorisedFor(Authorizations.LabelAmountChanging))
     {
         cr.State = EnterUnitPrice.Instance();
     }
     else
     {
         throw new CashierAutorizeException();
     }
 }