Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleBYTE Format Profile 예제
collapsetrue
{
    "profile_id": "simulator_byte",
    "profile_name": "simulator(byte)",
    "app_name": "simulator_byte",
    "profile_file": "simulator_byte.profil",
    "format": "BYTE",
    "byte_one": 4,
    "byte_count": 1,
    "max_sensor": 1,
    "module_info": {"sampling_hz":1024},
    "module_name": "simulator(byte)",
    "listen_port": 50002,
    "input_count": 1,
    "data_type": "INTEGER",
    "endian": "LITTLE",
    "default_tag": [
        {"caption":"Z1", "tagname":"Z1", "using":"Y", "to_fog":"Y", "limits":[{"min":0, "max":3010, "err_msg":"error", "check":"Y"}, {"min":10, "max":3000, "err_msg":"warning", "check":"Y"}]}
    ]
}

...

Code Block
languagejs
titleCSV Format Profile 예제collapsetrue
{
    "profile_id": "csvfile",
    "profile_name": "csvfile",
    "app_name": "csvfile",
    "profile_file": "csvfile.profil",
    "format": "CSV",
    "csv_skip_first": "Y",
    "sep_char": ",",
    "time_column": "0",
    "date_format": "",
    "csv_header": "",
    "max_sensor": 9999,
    "module_info": {"full_path":"", "name_rule":"test_*.csv"},
    "module_name": "csvfile",
    "listen_port": 50002,
    "input_count": 0,
    "default_tag": []
}

...

Code Block
languagejs
titleTAG Format Profile 예제collapsetrue
{
    "profile_id": "simulator_tag",
    "profile_name": "simulator(tag)",
    "app_name": "simulator_tag",
    "profile_file": "simulator_tag.profil",
    "format": "TAG",
    "date_format": "",
    "max_sensor": 9999,
    "module_info": {"min_value":2000, "max_value":3000, "sampling_hz":500},
    "module_name": "simulator(tag)",
    "listen_port": 50002,
    "input_count": 2,
    "data_type": "INTEGER",
    "endian": "LITTLE",
    "default_tag": [
        {"caption":"TAG 1", "tagname":"TAG1", "using":"Y", "to_fog":"Y", "limits":[{"min":1000, "max":3100, "err_msg":"error", "check":"Y"}, {"min":1050, "max":3050, "err_msg":"warning", "check":"Y"}]},
        {"caption":"TAG 2", "tagname":"TAG2", "using":"Y", "to_fog":"Y", "limits":[{"min":1000, "max":3100, "err_msg":"error", "check":"Y"}, {"min":1050, "max":3050, "err_msg":"warning", "check":"Y"}]}
    ]
}

...