예제 #1
0
 public void pumpLiter()
 {
     if (dSP.get2Cash() < (dSP.get2Liter() + 1) * dSP.getPrice2())
     {
         mEP.stopPump();
     }
     mEP.pumpOnce();
 }
예제 #2
0
 public void stopPump()
 {
     mEP.stopPump();
     mEP.receipt();
 }