Translations:Rule Examples/172/en

Материал из Wiren Board

Schedules.registerSchedule({

   "name" : "signboard", // signboard
   "autoUpdate" : "1m",
   "intervals" : [
     [ [12, 30], [20, 30] ],  // in UTC, 15:30 - 23:30 MSK
     [ [3, 30], [5, 20] ],  // in UTC, 6:30 - 8:20 MSK
   ]
 });
 Schedules.registerSchedule({
   "name" : "ext_working_hours_15m",
   "autoUpdate" : "1m",
   "intervals" : [
     [ [4, 45], [20, 15] ],  // still UTC, 07:45 - 23:15 MSK
   ]
 });
 Schedules.registerSchedule({
   "name" : "working_hours",
   "autoUpdate" : "1m",
   "intervals" : [
     [ [5, 0], [19, 0] ],  // still UTC, 8:00 - 22:00 MSK
   ]
 });
 Schedules.registerSchedule({
   "name" : "working_hours_15m",
   "autoUpdate" : "1m",
   "intervals" : [
     [ [4, 45], [19, 15] ],  // still UTC, 7:45 - 22:15 MSK
   ]
 });
 Schedules.registerSchedule({
   "name" : "frontshop_lighting",
   "autoUpdate" : "1m",
   "intervals" : [
     [ [4, 20], [20, 45] ],  // still UTC, 7:20 -23:45 MSK
   ]
 });
 Schedules.registerSchedule({
   "name" : "heaters_schedule",
   "intervals" : [
      [ [4, 0], [17, 0] ],  // still UTC, 07:00 - 20:00 MSK дневной режим
   ]
 });
 Schedules.initSchedules();