{
  "version": "",
  "triggers": [
    {
      "name": "vehicle_repo_logger",
      "key": "-",
      "rules": [
        {
          "variable": "timestamp",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "periodic",
          "operation": "eBigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 0
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_OnlyStore"
      ],
      "tagnames": [
        "vehicle_repo"
      ],
      "write": []
    },
    {
      "name": "boot_status",
      "key": "BOOT_STATUS",
      "rules": [
        {
          "variable": "boot_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "~R(1)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "conn_status",
      "key": "CON",
      "rules": [
        {
          "variable": "conn_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "boot_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "dr",
      "key": "DR",
      "rules": [
        {
          "variable": "dr_aut",
          "duration": 0,
          "math": "onChange",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "boot_status",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "dr_aut",
          "duration": 0,
          "math": "lastValue",
          "variable2": "''",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(2)&(~R(3))",
          "close": "R(1)|(~R(2))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "dr_aut",
              "variable": "dr_aut",
              "duration": 0,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "dr_aut",
              "variable": "dr_aut",
              "duration": 2,
              "math": "firstValue"
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_DRIVERS"
      ],
      "write": []
    },
    {
      "name": "DSM_phone_ext",
      "key": "DR_CLL",
      "rules": [
        {
          "variable": "matlab_DSM_phone",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_distraction_vertical_ext",
      "key": "DR_DSTR",
      "rules": [
        {
          "variable": "matlab_DSM_distraction_vertical",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_distraction_horizontal_ext",
      "key": "DR_DSTR_H",
      "rules": [
        {
          "variable": "matlab_DSM_distraction_horizontal",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_micro_sleep_ext",
      "key": "DR_FTG",
      "rules": [
        {
          "variable": "matlab_DSM_micro_sleep",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_video_loss_ext",
      "key": "DR_LOSS",
      "rules": [
        {
          "variable": "matlab_DSM_video_loss",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_no_driver_ext",
      "key": "DR_NO",
      "rules": [
        {
          "variable": "matlab_DSM_no_driver",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_obstruction_ext",
      "key": "DR_OCCL",
      "rules": [
        {
          "variable": "matlab_DSM_obstruction",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_smoking_ext",
      "key": "DR_SMK",
      "rules": [
        {
          "variable": "matlab_DSM_smoking",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "DSM_yawning_ext",
      "key": "DR_YAWN",
      "rules": [
        {
          "variable": "matlab_DSM_yawning",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "rfe_repo",
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "matlab_rfe_dr_time",
              "variable": "matlab_rfe_dr_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_rest_time",
              "variable": "matlab_rfe_rest_time",
              "duration": 1,
              "math": "lastValue"
            },
            {
              "nameInfo": "matlab_rfe_scr",
              "variable": "matlab_rfe_scr",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ]
    },
    {
      "name": "engine",
      "key": "ENGN",
      "rules": [
        {
          "variable": "boot_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "time_sync",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "FaceId_SnapShot",
      "key": "FACEID_SNAPSHOT",
      "rules": [
        {
          "variable": "matlab_DSM_obstruction",
          "duration": 0,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "matlab_DSM_no_driver",
          "duration": 0,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "dr_aut",
          "duration": 0,
          "math": "lastValue",
          "variable2": "''",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "sEqual"
        },
        {
          "variable": "spe",
          "duration": 0,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "different"
        },
        {
          "variable": "spe",
          "duration": 10,
          "math": "mean",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eSmaller"
        },
        {
          "variable": "driver_change",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "timestamp",
          "duration": 0,
          "math": "lastValue",
          "variable2": "600",
          "duration2": 1,
          "math2": "periodic",
          "operation": "eBigger"
        },
        {
          "variable": "timestamp",
          "duration": 0,
          "math": "lastValue",
          "variable2": "10",
          "duration2": 1,
          "math2": "periodic",
          "operation": "eBigger"
        },
        {
          "variable": "timestamp",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1800",
          "duration2": 1,
          "math2": "periodic",
          "operation": "eBigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)&((~R(3)&R(4)&R(5)&R(6)&R(8))|(R(3)&R(4)&R(7))|R(9))",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [],
          "othersClose": []
        }
      ],
      "notification": [
        "FaceId_Snapshot",
        "FaceId_Snapshot"
      ],
      "tagnames": [
        ""
      ],
      "write": []
    },
    {
      "name": "fms_status",
      "key": "FMS",
      "rules": [
        {
          "variable": "odo",
          "duration": 7,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        },
        {
          "variable": "boot_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [],
          "othersClose": []
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "gps_status",
      "key": "GPS",
      "rules": [
        {
          "variable": "gps_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "boot_status",
          "duration": 1,
          "math": "lastValue",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "HarshAcceleration",
      "key": "HRSH_ACC",
      "rules": [
        {
          "variable": "acce_speed",
          "duration": 3,
          "math": "mean",
          "variable2": "1.6",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        },
        {
          "variable": "acce_speed",
          "duration": 3,
          "math": "max",
          "variable2": "10",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "smaller"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)|(~R(2))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "acce_speed_mean",
              "variable": "acce_speed",
              "duration": -1,
              "math": "mean"
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ],
      "write": []
    },
    {
      "name": "HarshBrake",
      "key": "HRSH_BRK",
      "rules": [
        {
          "variable": "acce_speed",
          "duration": 1,
          "math": "mean",
          "variable2": "-2.5",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "smaller"
        },
        {
          "variable": "acce_speed",
          "duration": 1,
          "math": "min",
          "variable2": "-8",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "bigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)|(~R(2))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "acce_speed_mean",
              "variable": "acce_speed",
              "duration": -1,
              "math": "mean"
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ],
      "write": []
    },
    {
      "name": "ExcesiveIdling",
      "key": "IDL",
      "rules": [
        {
          "variable": "spe",
          "duration": 120,
          "math": "mean",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "rpm",
          "duration": 120,
          "math": "min",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        },
        {
          "variable": "rpm",
          "duration": 120,
          "math": "max",
          "variable2": "1100",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "smaller"
        },
        {
          "variable": "boot_status",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "iteration",
          "duration": 0,
          "math": "lastValue",
          "variable2": "120",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)&R(3)&R(4)&R(5)",
          "close": "(~R(1))|(~R(2))|(~R(3))|(~R(4))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ],
      "write": []
    },
    {
      "name": "DSM_distraction_horizontal",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_distraction_horizontal",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_micro_sleep",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_micro_sleep",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_no_driver",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_no_driver",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_obstruction",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_obstruction",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_phone",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_phone",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_smoking",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_smoking",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_video_loss",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_video_loss",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_distraction_vertical",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_distraction_vertical",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "DSM_yawning",
      "key": "RFE",
      "rules": [
        {
          "variable": "DSM_yawning",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "geofences",
          "duration": 0,
          "math": "all",
          "variable2": "'GEOF_DEPOT'",
          "duration2": 1,
          "math2": "all",
          "operation": "sEqual"
        }
      ],
      "logical": [
        {
          "open": "R(1)&(~R(2))",
          "close": "~R(1)|R(2)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [],
      "tagnames": []
    },
    {
      "name": "HighRPM",
      "key": "RPM",
      "rules": [
        {
          "variable": "rpm",
          "duration": 0,
          "math": "lastValue",
          "variable2": "3000",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "bigger"
        },
        {
          "variable": "boot_status",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)|(~R(2))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "rpm_max",
              "variable": "rpm",
              "duration": -1,
              "math": "max"
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ],
      "write": []
    },
    {
      "name": "SPL100",
      "key": "SPL",
      "rules": [
        {
          "variable": "spe",
          "duration": 10,
          "math": "min",
          "variable2": "100",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        },
        {
          "variable": "boot_status",
          "duration": 0,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)|(~R(2))",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "spe_max",
              "variable": "spe",
              "duration": -1,
              "math": "max"
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_WORKFLOWS-engine-triggers"
      ],
      "write": []
    },
    {
      "name": "periodic_status",
      "key": "STATUS",
      "rules": [
        {
          "variable": "timestamp",
          "duration": 1,
          "math": "lastValue",
          "variable2": "180",
          "duration2": 1,
          "math2": "periodic",
          "operation": "eBigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 0
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq",
        "MIS_T",
        "MS_VEHICLES-events"
      ],
      "write": []
    },
    {
      "name": "step_error",
      "key": "STEP_ERR",
      "rules": [
        {
          "variable": "step",
          "duration": 1,
          "math": "lastValue",
          "variable2": "2.5",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "eBigger"
        },
        {
          "variable": "iteration",
          "duration": 2,
          "math": "lastValue",
          "variable2": "5",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "bigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)&R(2)",
          "close": "~R(1)",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "step",
              "variable": "step",
              "duration": 1,
              "math": "lastValue"
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "time_status",
      "key": "TIME_SYNC",
      "rules": [
        {
          "variable": "time_sync",
          "duration": 1,
          "math": "lastValue",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [
            "vehicle_repo"
          ],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "Forwarder_Instantaneous"
      ],
      "tagnames": [
        "MS_VEHICLES-Event-HighFreq"
      ],
      "write": []
    },
    {
      "name": "calc_change_driver",
      "key": "calc_change_driver",
      "rules": [
        {
          "variable": "matlab_DSM_no_driver",
          "duration": 10,
          "math": "mean",
          "variable2": "1",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        }
      ],
      "logical": [
        {
          "open": "R(1)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "intern"
      ],
      "tagnames": [],
      "write": []
    },
    {
      "name": "init_calc_change_driver",
      "key": "init_calc_change_driver",
      "rules": [
        {
          "variable": "matlab_DSM_no_driver",
          "duration": 120,
          "math": "mean",
          "variable2": "0",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "equal"
        },
        {
          "variable": "spe",
          "duration": 10,
          "math": "mean",
          "variable2": "3",
          "duration2": 1,
          "math2": "lastValue",
          "operation": "bigger"
        }
      ],
      "logical": [
        {
          "open": "R(1)|R(2)",
          "close": "",
          "init": 1
        }
      ],
      "information": [
        {
          "repos": [],
          "othersOpen": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ],
          "othersClose": [
            {
              "nameInfo": "",
              "variable": "",
              "duration": 0,
              "math": ""
            }
          ]
        }
      ],
      "notification": [
        "intern"
      ],
      "tagnames": [],
      "write": []
    }
  ]
}