{
    "version":"2.0.1_irish_rail",
    "triggers":[
        {
            "name":"vehicle_repo_logger",
            "key":"-",
            "rules":[
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"periodic",
                    "operation":"eBigger"
                }
            ],
            "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_OnlyStore"
            ],
            "tagnames":[
                "vehicle_repo"
            ],
            "write":[

            ]
        },
        {
            "name":"boot_status",
            "key":"BOOT_STATUS",
            "rules":[
                {
                    "variable":"boot_status",
                    "duration":0,
                    "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":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"boot_status",
                    "duration":0,
                    "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":"0",
                    "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":[
                {
                    "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_no_driver",
            "key":"DSM_no_driver",
            "rules":[
                {
                    "variable":"dr_aut",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"''",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"sEqual"
                }
            ],
            "logical":[
                {
                    "open":"R(1)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[                
            ],
            "notification":[
            ],
            "tagnames":[

            ],
            "write":[
                {
                    "alias":"matlab_DSM_no_driver",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"engine",
            "key":"ENGN",
            "rules":[
                {
                    "variable":"boot_status",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"time_sync",
                    "duration":0,
                    "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":"gps_status",
            "key":"GPS",
            "rules":[
                {
                    "variable":"gps_status",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "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":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_VEHICLES-Event-HighFreq"
            ],
            "write":[

            ]
        },
        {
            "name":"periodic_status",
            "key":"STATUS",
            "rules":[
                {
                    "variable":"timestamp",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"120",
                    "duration2":1,
                    "math2":"periodic",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "vehicle_repo",
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_VEHICLES-Event-HighFreq"
            ],
            "write":[
                {
                    "alias":"matlab_rfe_scr",
                    "value":"",
                    "priority":"0"
                },
                {
                    "alias":"matlab_rfe_zone",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"step_error",
            "key":"STEP_ERR",
            "rules":[
                {
                    "variable":"step",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"5",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"bigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)",
                    "close":"~R(1)",
                    "init":1
                }
            ],
            "information":[
                {
                    "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":0,
                    "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":"movement",
            "key":"MVMNT",
            "rules":[
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "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"
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_VEHICLES-Event-HighFreq"
            ],
            "write":[

            ]
        },
        {
            "name":"DSM_micro_sleep",
            "key":"DR_FTG",
            "rules":[
                {
                    "variable":"DSM_micro_sleep",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_micro_sleep",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_yawning",
            "key":"DR_YAWN",
            "rules":[
                {
                    "variable":"DSM_yawning",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_yawning",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_smoking",
            "key":"DR_SMK",
            "rules":[
                {
                    "variable":"DSM_smoking",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_smoking",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_phone",
            "key":"DR_CLL",
            "rules":[
                {
                    "variable":"DSM_phone",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_phone",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_distraction_vertical",
            "key":"DR_DSTR",
            "rules":[
                {
                    "variable":"DSM_distraction_vertical",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_distraction_vertical",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_distraction_horizontal",
            "key":"DR_DSTR",
            "rules":[
                {
                    "variable":"DSM_distraction_horizontal",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_distraction_horizontal",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"DSM_obstruction",
            "key":"DR_OCCL",
            "rules":[
                {
                    "variable":"DSM_obstruction",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ]
        },
        {
            "name":"MicroSleep",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_micro_sleep",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Yawning",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_yawning",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Smoking",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_smoking",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Phone",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_phone",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"DistractionVertical",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_distraction_vertical",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"DistractionHorizontal",
            "key":"DR_DSTR",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_distraction_horizontal",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Obstruction",
            "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"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_obstruction",
                    "value":"",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"no_risk_level",
            "key":"NORISKLEVEL",
            "rules":[
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"pause_mode",
                    "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(1)|R(2)|R(3)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                    ]
                }
            ],
            "notification":[
            ],
            "tagnames":[
            ],
            "write":[

            ]
        },
                {
            "name":"MicroSleep",
            "key":"DR_FTG",
            "rules":[
                {
                    "variable":"DSM_micro_sleep",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_micro_sleep",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_micro_sleep",
                    "value":"1",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Yawning",
            "key":"DR_YAWN",
            "rules":[
                {
                    "variable":"DSM_yawning",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_yawning",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_yawning",
                    "value":"1",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Smoking",
            "key":"DR_SMK",
            "rules":[
                {
                    "variable":"DSM_smoking",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_smoking",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_smoking",
                    "value":"1",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"Phone",
            "key":"DR_CLL",
            "rules":[
                {
                    "variable":"DSM_phone",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_phone",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_phone",
                    "value":"1",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"DistractionVertical",
            "key":"DR_DSTR",
            "rules":[
                {
                    "variable":"DSM_distraction_vertical",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_distraction_vertical",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_distraction_vertical",
                    "value":"1",
                    "priority":"0"
                }
            ]
        },
        {
            "name":"DistractionHorizontal",
            "key":"DR_DSTR",
            "rules":[
                {
                    "variable":"DSM_distraction_horizontal",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"pause_mode",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"1",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"DSM_distraction_horizontal",
                    "duration":3,
                    "math":"min",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"equal"
                },
                {
                    "variable":"iteration",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"2",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"smaller"
                },
                {
                    "variable":"cabin",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"0",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"different"
                },
                {
                    "variable":"spe",
                    "duration":0,
                    "math":"lastValue",
                    "variable2":"10",
                    "duration2":1,
                    "math2":"lastValue",
                    "operation":"eBigger"
                }
            ],
            "logical":[
                {
                    "open":"R(1)&R(2)&(R(3)|R(4))&R(5)&R(6)",
                    "close":"",
                    "init":1
                }
            ],
            "information":[
                {
                    "repos":[
                        "rfe_repo"
                    ],
                    "othersOpen":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ],
                    "othersClose":[
                        {
                            "nameInfo":"",
                            "variable":"",
                            "duration":0,
                            "math":""
                        }
                    ]
                }
            ],
            "notification":[
                "Forwarder_Instantaneous"
            ],
            "tagnames":[
                "MS_WORKFLOWS-engine-triggers"
            ],
            "write":[
                {
                    "alias":"matlab_DSM_distraction_horizontal",
                    "value":"1",
                    "priority":"0"
                }
            ]
        }
    ]
}
