|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace LanShengModel
|
|
|
|
|
{
|
|
|
|
|
public class DeviceData1103
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? UpdateDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 启动指示 (0未启动, 1已启动)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B7 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电锁/IC卡 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 笼内急停 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 笼顶急停 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 防坠器限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B3 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 防冲顶限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备用限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// GPS限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data2_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 进料门限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B7 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出料门限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 天窗门限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 下限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B3 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上减速限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 下减速限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 抱闸状态 (0:动作 1:未动作)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data3_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机驱动故障
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机逻辑故障
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机电梯载重
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? Data6 { get; set; }
|
|
|
|
|
|
|
|
|
|
// <summary>
|
|
|
|
|
/// 一体机运行频率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data7 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机输入电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data8 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机输出电流
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data10 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机当前楼层
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data11 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机目标楼层
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data12 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 信道号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data13 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机操作模式(1:智能模式2:笼顶操作3防坠测试)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机上升输入(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机下降输入(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机高速输入(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B3 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机上升输出(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机下降输出(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机高速输出(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data14_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机运行状态(1:上升2:下降3:停机)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门机运行状态(1:上升2:下降3:停机)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 进料门上限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B3 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 进料门下限位 (0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出料门上限位(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出料门下限位(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data15_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一体机通讯(0异常,1正常)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B7 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门机通讯(0异常,1正常)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 左右笼通讯(0异常,1正常)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人数摄像头通讯(0异常,1正常)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门机控制 (0:无1进料门2出料门
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 进料门光幕(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出料门光幕(0断开,1闭合)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data16_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门机故障代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data17 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门机控制(0:自动 1:手动 )
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data18 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手动模式(0:点动 1:开关到位)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data19 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检修开关(0:正常 1:检修)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data20 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 吊笼内人数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data21 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 语音码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data22 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自动平层开关(0:关闭 1:开启)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data23 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已学楼层数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data24 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 密码第一位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data25_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 密码第二位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data25_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 密码第三位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data26_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 密码第四位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data26_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 限速 (0:不限速1:限速)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B7 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 锁机 (0:不锁机1:锁机)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B6 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 故障复位 (0:不复位1:复位)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 超载清零 (0:不清零1:清零)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B4 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 载波修改 (0:不修改1:修改载波)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B3 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改完成标志(0:未完成1:完成)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Data27_B0 { get; set; }
|
|
|
|
|
|
|
|
|
|
public static string[] GetColumns()
|
|
|
|
|
{
|
|
|
|
|
var Result = new List<string>();
|
|
|
|
|
var Type = typeof(DeviceData1103);
|
|
|
|
|
foreach (var Propety in Type.GetProperties())
|
|
|
|
|
{
|
|
|
|
|
Result.Add(Propety.Name);
|
|
|
|
|
}
|
|
|
|
|
return Result.ToArray();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|