Advertisement
deresuroberto

TS Lab7

Nov 17th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. cantitateCeasuriCerere FUNCTION RN1,D7
  2. .1,10/.35,12/.65,18/.80,24/.92,30/.97,36/1,48
  3.  
  4. histTimpNecesarLivrare TABLE M1 100 100 200
  5. histNumarImpachetariPerZi TABLE M1 100 100 200
  6.  
  7. timpImpachetar VARIABLE 120+10#p1
  8. capacitateIntialaDepozit EQU 1000
  9. capacitateMaximaDepozit EQU 4000
  10.  
  11. SAVEVALUE 1 0
  12.  
  13. GENERATE (Exponential(1,0,15))
  14. ASSIGN 1 fn$cantitateCeasuriCerere
  15.  
  16. TEST LE p1 capacitateIntialaDepozit etichetaFinal
  17. QUEUE impachetare
  18. SEIZE masinaImpachetare
  19. ADVANCE timpImpachetar
  20. RELEASE masinImpachetare
  21. DEPART impachetare
  22.  
  23. SAVEVALUE 1+ numarCeasuriImpachetate
  24.  
  25.  
  26. etichetaFinal TERMINATE 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement