2025-08-15 16:34:31 +08:00

128 lines
3.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace SWS.CAD.Models
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创 建:超级管理员
/// 日 期2022-06-21 15:32
/// 描 述:接线模块 - 通道
/// </summary>
public class ec_PanelChannel
{
public ec_PanelChannel()
{
lock_flg = 0;//默认0
}
#region
/// <summary>
/// StripID
/// </summary>
/// <returns></returns>
public string StripID { get; set; } = "";
/// <summary>
/// PanelID
/// </summary>
/// <returns></returns>
//public string PanelID { get; set; } = "";
/// <summary>
/// ID
/// </summary>
/// <returns></returns>
public string ChannelID { get; set; }
/// <summary>
/// 通道名字
/// </summary>
/// <returns></returns>
public string ChannelName { get; set; } = "";
/// <summary>
/// IO
/// </summary>
public string IO_TYPE { get; set; } = "";
/// <summary>
/// 锁定0 1
/// </summary>
/// <returns></returns>
public int lock_flg { get; set; }
/// <summary>
/// 顺序
/// </summary>
/// <returns></returns>
public int? Channel_Seq { get; set; }
/// <summary>
/// 伪分组名称
/// </summary>
/// <returns></returns>
public string FakeGroupName { get; set; } = "";
/// <summary>
/// 伪分组描述
/// </summary>
/// <returns></returns>
public string FakeGroupDesc { get; set; } = "";
/// <summary>
/// 伪分组描述(英文)
/// </summary>
/// <returns></returns>
public string FakeGroupDescEN { get; set; } = "";
/// <summary>
/// 伪信号类型
/// </summary>
/// <returns></returns>
public string FakeSignalType { get; set; } = "";
/// <summary>
/// 如果是母线,则直接体现在通道上
/// </summary>
/// <returns></returns>
public string HomerunCableId { get; set; } = "";
/// <summary>
/// 创建人
/// </summary>
/// <returns></returns>
public string CreateUserID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
/// <returns></returns>
public string UpdateUserID { get; set; }
/// <summary>
/// 更新时间
/// </summary>
/// <returns></returns>
public DateTime? UpdateTime { get; set; }
#endregion
#region
/// <summary>
/// 方便批量创建时从http里获取
/// </summary>
public List<ec_PanelStripTerm> Terms { set; get; }
public ec_Wire_Group Signal { set; get; }
/// <summary>
/// 如果是母线,则直接体现在通道上
/// </summary>
/// <returns></returns>
public string HomerunCableName { get; set; } = "";
/// <summary>
/// true时表示假的。真正的结构还是panel strip term
/// </summary>
bool fakeFlg { get; set; } = false;
#endregion
}
}