|
@@ -239,5 +239,136 @@ else
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+!!----STEPFATHER------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
+
|
|
|
+if week <= 5:
|
|
|
+ if hour = 6 and minut < 10:
|
|
|
+ sdadloc = 1
|
|
|
+ elseif hour = 6 and minut < 45:
|
|
|
+ sdadloc = 1
|
|
|
+ elseif hour = 7 and minut < 15:
|
|
|
+ sdadloc = 4
|
|
|
+ elseif hour = 7 and minut < 30:
|
|
|
+ sdadloc = 4
|
|
|
+ elseif hour = 8 and minut < 30:
|
|
|
+ sdadloc = 13
|
|
|
+ elseif hour = 8 and minut < 45:
|
|
|
+ sdadloc = 5
|
|
|
+ elseif hour = 17 and minut < 45:
|
|
|
+ sdadloc = 0
|
|
|
+ elseif hour < 18:
|
|
|
+ sdadloc = 4
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ sdadloc = 4
|
|
|
+ elseif hour = 19 and minut < 45:
|
|
|
+ sdadloc = 8
|
|
|
+!!I assume that he meet misha in the garage
|
|
|
+ elseif hour = 21 and minut < 45:
|
|
|
+ sdadloc = 13
|
|
|
+ elseif hour < 22:
|
|
|
+ sdadloc = 5
|
|
|
+ else
|
|
|
+ sdadloc = 1
|
|
|
+ end
|
|
|
+else
|
|
|
+ if hour = 6 and minut < 45:
|
|
|
+ sdadloc = 1
|
|
|
+ elseif hour = 7 and minut < 15:
|
|
|
+ sdadloc = 1
|
|
|
+ elseif hour = 7 and minut < 30:
|
|
|
+ sdadloc = 1
|
|
|
+ elseif hour < 8:
|
|
|
+ sdadloc = 5
|
|
|
+ elseif hour < 9:
|
|
|
+ sdadloc = 13
|
|
|
+ elseif hour < 11:
|
|
|
+ sdadloc = 8
|
|
|
+!!I assume that he meet misha/sergey in the garage
|
|
|
+ elseif hour = 11 and minut < 10:
|
|
|
+ if week = 6:
|
|
|
+ sdadloc = 8
|
|
|
+!!I assume that he meet misha/sergey in the garage
|
|
|
+ else
|
|
|
+ sdadloc = 0
|
|
|
+ end
|
|
|
+ elseif hour < 13:
|
|
|
+ if week = 6:
|
|
|
+ sdadloc = 8
|
|
|
+!!I assume that he meet misha/sergey in the garage
|
|
|
+ else
|
|
|
+ sdadloc = 16
|
|
|
+ end
|
|
|
+ elseif hour = 13 and minut < 10:
|
|
|
+ if week = 6:
|
|
|
+ sdadloc = 8
|
|
|
+!!I assume that he meet misha/sergey in the garage
|
|
|
+ else
|
|
|
+ sdadloc = 0
|
|
|
+ end
|
|
|
+ elseif hour < 18:
|
|
|
+ sdadloc = 8
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ sdadloc = 4
|
|
|
+ elseif hour < 22:
|
|
|
+ sdadloc = 13
|
|
|
+ else
|
|
|
+ sdadloc = 1
|
|
|
+ end
|
|
|
+end
|
|
|
+
|
|
|
+!!---KOLKA------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
+
|
|
|
+if week <= 5:
|
|
|
+ if hour = 6 and minut < 45:
|
|
|
+ kolloc = 13
|
|
|
+ elseif hour = 7 and minut < 15:
|
|
|
+ kolloc = 4
|
|
|
+ elseif hour < 8:
|
|
|
+ kolloc = 0
|
|
|
+ elseif hour < 14:
|
|
|
+ kolloc = 0
|
|
|
+ elseif hour = 16 and minut < 45:
|
|
|
+ kolloc = rand(10,11,12)
|
|
|
+ elseif hour < 17:
|
|
|
+ kolloc = 0
|
|
|
+ elseif hour < 18:
|
|
|
+ kolloc = 13
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ kolloc = 4
|
|
|
+ elseif hour = 18 and minut < 45:
|
|
|
+ kolloc = 0
|
|
|
+ elseif hour < 21:
|
|
|
+ kolloc = 10
|
|
|
+ elseif hour = 21 and minut < 15:
|
|
|
+ kolloc = 5
|
|
|
+ elseif hour < 23:
|
|
|
+ kolloc = 13
|
|
|
+ else
|
|
|
+ kolloc = 13
|
|
|
+ end
|
|
|
+else
|
|
|
+ if hour = 6 and minut < 45:
|
|
|
+ kolloc = 13
|
|
|
+ elseif hour = 7 and minut < 15:
|
|
|
+ kolloc = 4
|
|
|
+ elseif hour < 10:
|
|
|
+ kolloc = 13
|
|
|
+ elseif hour = 13 and minut < 10:
|
|
|
+ kolloc = 13
|
|
|
+ elseif hour < 18:
|
|
|
+ kolloc = rand(8,10,11,12)
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ kolloc = 4
|
|
|
+ elseif hour < 21:
|
|
|
+ kolloc = rand(10,11,12)
|
|
|
+ elseif hour = 21 and minut 15:
|
|
|
+ kolloc = 5
|
|
|
+ elseif hour < 23:
|
|
|
+ kolloc = 13
|
|
|
+ else
|
|
|
+ kolloc = 13
|
|
|
+ end
|
|
|
+end
|
|
|
+
|
|
|
--- family_schdule ---------------------------------
|
|
|
|