Newer
Older
SensorHub / SensorHub.Config / ConfigItems.cs
root on 17 Sep 2021 3 KB first commit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SensorHub.Config
{
    public class ConfigItems
    {
        public float thresh { get; set; }   //报警阈值10000901 0004
        public float height { get; set; }   //10000060 0004
        public int repeat { get; set; }     //1000000A 0001
        public short period { get; set; }     //上报周期10000062 0002

        public string acqStart { get; set; } //开始采集时间 10000104 0002
        public short interval { get; set; }  //采集间隔10000105 0002
        public short times { get; set; }     //采集次数10000106 0002
        public float elecThresh { get; set; } //电流阈值10000900 0004

        public float liquidDataThreshold { get; set; } //液位边界阈值10000902 0004   threshold:极限;临界值

        public string sleepStartTime { get; set; } //休眠开始时间10000202 0002

        public int limitDig { get; set; } //开挖报警阈值10000900 0001

        public string Channel1TurnOnTime { get; set; } //通道1开灯时间 10000201 0002
        public string Channel1TurnOffTime { get; set; } //通道1关灯时间10000202 0002
        public string Channel2TurnOnTime { get; set; } //通道2开灯时间 10000203 0002
        public string Channel2TurnOffTime { get; set; } //通道2关灯时间10000204 0002

        public string RemoteControl { get; set; } //远程控制,00-两个灯关,11-两个灯开,01-灯1开灯2关,10-灯1关灯2开,F1-灯1开,F0-灯1关,1F-灯2开,0F-灯2关
                                                    //50000001 0001
        public short SetBrightness { get; set; } //调光 10000205 0001

        public string MultiCollect { get; set; } //多功能实时采集

        public string acqStartFlow { get; set; }//流量采集开始时间 10000104 0002
        public short intervalFlow { get; set; }//流量采集间隔(分)10000105 0002
        public short acqTimesFlow { get; set; }//流量采集次数   10000106 0002
        public string upStartFlow { get; set; }//流量上报开始时间10000107 0002
        public short upTimesFlow { get; set; }//流量上传次数10000108 0002

        public string acqStartNoise { get; set; }//噪声采集开始时间10000120 0002
        public short intervalNoise { get; set; }//噪声采集间隔(分)10000121 0002
        public short acqTimesNoise { get; set; }//噪声采集次数10000122 0002
        public string upStartNoise { get; set; }//噪声上报开始时间10000123 0002
        public short upTimesNoise { get; set; }//噪声上传次数10000124 0002

        public string acqStartPressure { get; set; }//压力采集开始时间10000110 0002
        public short intervalPressure { get; set; }//压力采集间隔(分)10000111 0002
        public short acqTimesPressure { get; set; }//压力采集次数10000112 0002
        public string upStartPressure { get; set; }//压力上报开始时间10000113 0002
        public short upTimesPressure { get; set; }//压力上传次数 10000114 0002
        public float lowerLimitPressure { get; set; }//压力报警下限 10000900 0004
        public float upperLimitPressure { get; set; }//压力报警上限 10000901 0004

        public string ip { get; set; }      //10000022 
        public int port { get; set; }       //10000023

        public string sm4Key { get; set; }  //sm4算法密钥  10000A00 0010
        public string ideKey { get; set; }  //设备身份标识 10000A01 0006
    }
}