Newer
Older
SensorHub / SensorHub.Lamp / LampConfigItemsJson.cs
root on 17 Sep 2021 1 KB first commit
using SensorHub.Servers.JsonFormat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SensorHub.Lamp
{
    public class LampConfigItemsJson
    {
        public string acqStart { get; set; }//采集开始时间
        public short interval { get; set; }//采集间隔
        public short times { get; set; }//采集次数
        public short repeat { get; set; }//重传次数
        public float thresh { get; set; } //电流阈值

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

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