You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

508 lines
15 KiB
C#

11 months ago
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LanShengModel
{
[SugarTable("LS_DeviceData")]
public class DeviceData
{
/// <summary>
/// 编号
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string? Id { get; set; }
/// <summary>
/// 设备状态
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? Status { get; set; }
/// <summary>
/// 故障代码
/// </summary>
[SugarColumn(Length = 20, IsNullable = true)]
public string? ErrCode { get; set; }
/// <summary>
/// 故障信息
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? ErrMsg { get; set; }
/// <summary>
/// 当前DTU的软件版本号
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Version { get; set; }
/// <summary>
/// 启动指示 (0未启动, 1已启动)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B7 { get; set; }
/// <summary>
/// 电锁/IC卡 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B6 { get; set; }
/// <summary>
/// 笼内急停 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B5 { get; set; }
/// <summary>
/// 笼顶急停 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B4 { get; set; }
/// <summary>
/// 防坠器限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B3 { get; set; }
/// <summary>
/// 防冲顶限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B2 { get; set; }
/// <summary>
/// 备用限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B1 { get; set; }
/// <summary>
/// GPS限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data2_B0 { get; set; }
/// <summary>
/// 进料门限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B7 { get; set; }
/// <summary>
/// 出料门限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B6 { get; set; }
/// <summary>
/// 天窗门限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B5 { get; set; }
/// <summary>
/// 上限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B4 { get; set; }
/// <summary>
/// 下限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B3 { get; set; }
/// <summary>
/// 上减速限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B2 { get; set; }
/// <summary>
/// 下减速限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B1 { get; set; }
/// <summary>
/// 抱闸状态 0动作 1未动作
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data3_B0 { get; set; }
/// <summary>
/// 一体机驱动故障
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data4 { get; set; }
/// <summary>
/// 一体机逻辑故障
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data5 { get; set; }
/// <summary>
/// 一体机电梯载重
/// </summary>
[SugarColumn(IsNullable = true)]
public decimal? Data6 { get; set; }
// <summary>
/// 一体机运行频率
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data7 { get; set; }
/// <summary>
/// 一体机输入电压
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data8 { get; set; }
/// <summary>
/// 一体机输出电流
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data10 { get; set; }
/// <summary>
/// 一体机当前楼层
/// </summary>
[SugarColumn(Length = 5, IsNullable = true)]
public int? Data11 { get; set; }
/// <summary>
/// 一体机目标楼层
/// </summary>
[SugarColumn(Length = 5, IsNullable = true)]
public int? Data12 { get; set; }
/// <summary>
/// 信道号
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data13 { get; set; }
/// <summary>
/// 一体机操作模式1智能模式2笼顶操作3防坠测试
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B6 { get; set; }
/// <summary>
/// 一体机上升输入0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B5 { get; set; }
/// <summary>
/// 一体机下降输入0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B4 { get; set; }
/// <summary>
/// 一体机高速输入0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B3 { get; set; }
/// <summary>
/// 一体机上升输出0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B2 { get; set; }
/// <summary>
/// 一体机下降输出0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B1 { get; set; }
/// <summary>
/// 一体机高速输出0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data14_B0 { get; set; }
/// <summary>
/// 一体机运行状态1上升2下降3停机
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B6 { get; set; }
/// <summary>
/// 门机运行状态1上升2下降3停机
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B4 { get; set; }
/// <summary>
/// 进料门上限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B3 { get; set; }
/// <summary>
/// 进料门下限位 (0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B2 { get; set; }
/// <summary>
/// 出料门上限位0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B1 { get; set; }
/// <summary>
/// 出料门下限位0断开1闭合
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data15_B0 { get; set; }
/// <summary>
/// 一体机通讯0异常1正常
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B7 { get; set; }
/// <summary>
/// 门机通讯0异常1正常
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B6 { get; set; }
/// <summary>
/// 左右笼通讯0异常1正常
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B5 { get; set; }
/// <summary>
/// 人数摄像头通讯0异常1正常
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B4 { get; set; }
/// <summary>
/// 门机控制 0无1进料门2出料门
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B2 { get; set; }
/// <summary>
/// 进料门光幕(0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B1 { get; set; }
/// <summary>
/// 出料门光幕(0断开1闭合)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data16_B0 { get; set; }
/// <summary>
/// 门机故障代码
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data17 { get; set; }
/// <summary>
/// 门机控制0自动 1手动
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data18 { get; set; }
/// <summary>
/// 手动模式0点动 1开关到位
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data19 { get; set; }
/// <summary>
/// 检修开关0正常 1检修
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data20 { get; set; }
/// <summary>
/// 吊笼内人数
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data21 { get; set; }
/// <summary>
/// 语音码
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data22 { get; set; }
/// <summary>
/// 自动平层开关0关闭 1开启
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data23 { get; set; }
/// <summary>
/// 已学楼层数
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data24 { get; set; }
/// <summary>
/// 密码第一位
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data25_B4 { get; set; }
/// <summary>
/// 密码第二位
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data25_B0 { get; set; }
/// <summary>
/// 密码第三位
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data26_B4 { get; set; }
/// <summary>
/// 密码第四位
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data26_B0 { get; set; }
/// <summary>
/// 限速 (0不限速1限速)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B7 { get; set; }
/// <summary>
/// 锁机 (0不锁机1锁机)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B6 { get; set; }
/// <summary>
/// 故障复位 (0不复位1复位)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B5 { get; set; }
/// <summary>
/// 超载清零 (0不清零1清零)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B4 { get; set; }
/// <summary>
/// 载波修改 (0不修改1修改载波)
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B3 { get; set; }
/// <summary>
/// 预留
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B2 { get; set; }
/// <summary>
/// 预留
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B1 { get; set; }
/// <summary>
/// 修改完成标志0未完成1完成
/// </summary>
[SugarColumn(IsNullable = true)]
public int? Data27_B0 { get; set; }
/// <summary>
/// 协议版本号1 施工梯 2通用机 3塔机4揽胜升降机
/// </summary>
[SugarColumn(IsNullable = true)]
public int? AgreementVersion { get; set; }
/// <summary>
/// 上传数据的间隔时间每隔n秒,0XFFFF表示关闭定时上传
/// </summary>
[SugarColumn(IsNullable = true)]
public int? DataTick { get; set; }
/// <summary>
/// 全部为ASCII码字符需要记录下来上下线后都能显示上线后如和上一次不一致需做个图标标识出来
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? ICCID { get; set; }
/// <summary>
/// 东经
/// </summary>
[SugarColumn(IsNullable = true)]
public string? Longitude { get; set; }
/// <summary>
/// 北纬
/// </summary>
[SugarColumn(IsNullable = true)]
public string? Latitude { get; set; }
/// <summary>
/// 连接字符串长度
/// </summary>
[SugarColumn(IsNullable = true)]
public int? ConnectStrLength { get; set; }
/// <summary>
/// 连接字符串
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? ConnectString { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? UpdateDate { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? OfflineDate { get; set; }
/// <summary>
/// 修改标志1外围控制板执行修改0外围控制板不执行修改
/// </summary>
[SugarColumn(IsNullable = true)]
public int? UpdateTag { get; set; }
/// <summary>
/// IP是否修改,0:不修改,1:修改
/// </summary>
[SugarColumn(IsNullable = true)]
public int? IPSFXG { get; set; }
/// <summary>
/// 运行次数
/// </summary>
[SugarColumn(IsNullable = true,IsOnlyIgnoreInsert = true,DefaultValue = "0")]
public int? RunCount { get; set; }
#region 业务字段
[SugarColumn(IsIgnore = true)]
public string? MsgType { get; set; }
#endregion
}
}