131 lines
3.7 KiB
C#
131 lines
3.7 KiB
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace SWS.CAD.Models
|
|||
|
{
|
|||
|
public class ec_enginedata
|
|||
|
{
|
|||
|
public ec_enginedata()
|
|||
|
{
|
|||
|
CaseID = "0";
|
|||
|
}
|
|||
|
#region 实体成员
|
|||
|
/// <summary>
|
|||
|
/// 工程数据ID
|
|||
|
/// </summary>
|
|||
|
public string EngineDataID { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 位号
|
|||
|
/// </summary>
|
|||
|
public string TagNumber { get; set; } = "";
|
|||
|
/// <summary>
|
|||
|
/// 对象类型ID。<see cref="ec_objecttypeEntity.ObjectTypeID"/>"/>
|
|||
|
/// </summary>
|
|||
|
public string ObjectTypeID { get; set; } = "";
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 查询时,为该位号当前激活的case。
|
|||
|
/// 更新提交时,为该位号需要修改的case。<see cref="ec_CaseEntity.CaseID"/>
|
|||
|
/// </summary>
|
|||
|
public string CaseID { get; set; } = "0";
|
|||
|
/// <summary>
|
|||
|
/// 数据状态
|
|||
|
/// </summary>
|
|||
|
public string DataStatus { get; set; } = "";
|
|||
|
/// <summary>
|
|||
|
/// 流水号
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public int? SerialNumber { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 创建人
|
|||
|
/// </summary>
|
|||
|
public string CreateUserID { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 创建时间
|
|||
|
/// </summary>
|
|||
|
public DateTime? CreateTime { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 更新人
|
|||
|
/// </summary>
|
|||
|
public string UpdateUserID { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 更新时间
|
|||
|
/// </summary>
|
|||
|
public DateTime? UpdateTime { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 是否被锁
|
|||
|
/// 0 AND 1
|
|||
|
/// </summary>
|
|||
|
public string Locked { get; set; } = "0";
|
|||
|
#endregion
|
|||
|
|
|||
|
#region 扩展字段
|
|||
|
/// <summary>
|
|||
|
/// import Drawing用
|
|||
|
/// </summary>
|
|||
|
public string originId { get; set; } = "";
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 对象类型名称
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public string ObjectTypeName { get; set; } = "";
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 连接的电缆,主要用于UpdatePixelAndProp方法
|
|||
|
/// </summary>
|
|||
|
public List<ec_enginedata> connected_cables { set; get; } = new List<ec_enginedata> { };
|
|||
|
|
|||
|
|
|||
|
///// <summary>
|
|||
|
///// 给电缆用的
|
|||
|
///// </summary>
|
|||
|
//[SugarColumn(IsIgnore = true)]
|
|||
|
//public ec_enginedataEntity FromTag { set; get; }
|
|||
|
/// <summary>
|
|||
|
/// 给电缆用的
|
|||
|
/// </summary>
|
|||
|
public ec_enginedata ToTag { set; get; }
|
|||
|
/// <summary>
|
|||
|
/// 针对电缆而言,它的平行电缆
|
|||
|
/// </summary>
|
|||
|
public List<ec_parallel_Cable> parallel_cables { set; get; }
|
|||
|
/// <summary>
|
|||
|
/// 工程数据图元集合
|
|||
|
/// </summary>
|
|||
|
public List<ec_enginedata_pixel> EngineDataPixel { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 工程数据属性集合
|
|||
|
/// </summary>
|
|||
|
public List<ec_enginedata_property> EngineDataProperty { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 数据状态名称
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public string DataStatusName { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 对象类型完整路径 中文
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public string FullPathCN { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 对象类型名称(英文)
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public string ObjectTypeNameEN { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 布置图的块对象
|
|||
|
/// </summary>
|
|||
|
public ec_library_file Layout_Block_File { get; set; }
|
|||
|
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
}
|
|||
|
|