1
0

448_avtonorm 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # avtonorm
  2. <<<<<<< 448_avtonorm
  3. if car = 1: set normhour = 20
  4. if car = 2: set normhour = 20
  5. if car = 3: set normhour = 20
  6. if car = 4: set normhour = 20
  7. if car = 5: set normhour = 20
  8. if car = 6: set normhour = 20
  9. if car = 7: set normhour = 20
  10. if car = 8: set normhour = 20
  11. if car = 9: set normhour = 15
  12. if car = 10: set normhour = 18
  13. if car = 11: set normhour = 15
  14. if car >= 95: set normhour = 50
  15. =======
  16. if car = 1:set normhour = 20
  17. if car = 2:set normhour = 20
  18. if car = 3:set normhour = 20
  19. if car = 4:set normhour = 20
  20. if car = 5:set normhour = 20
  21. if car = 6:set normhour = 20
  22. if car = 7:set normhour = 20
  23. if car = 8:set normhour = 20
  24. if car = 9:set normhour = 15
  25. if car = 10:set normhour = 18
  26. if car = 11:set normhour = 15
  27. if car >= 95:set normhour = 50
  28. >>>>>>> 448_avtonorm
  29. if wrek = 0:
  30. set normneed = tehcar - teh
  31. <<<<<<< 448_avtonorm
  32. set normrem = normneed * normhour
  33. =======
  34. set normrem = normneed*normhour
  35. >>>>>>> 448_avtonorm
  36. end
  37. if wrek = 1:
  38. set normneed = tehcar - teh
  39. <<<<<<< 448_avtonorm
  40. set normremK = (normneed * normhour)*70
  41. set normrem = (normneed * normhour)+ normremK
  42. =======
  43. set normremK = (normneed*normhour)*70
  44. set normrem = (normneed*normhour)+ normremK
  45. >>>>>>> 448_avtonorm
  46. end
  47. --- avtonorm ---------------------------------