| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Yw.EPAnet |
| | | namespace Yw.EPAnet |
| | | { |
| | | /// <summary> |
| | | /// 检查失败 |
| | | /// </summary> |
| | | public class CheckFailed |
| | | { |
| | | /// <summary> |
| | | /// 组件id(string.IsNullOrEmpty-整体 ) |
| | | /// </summary> |
| | | public string ParterId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 失败类型 |
| | | /// </summary> |
| | | public eCheckFailType FailType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 失败原因 |
| | | /// </summary> |
| | | public string FailReason { get; set; } |
| | | |
| | | public FailType Type { get; set; } |
| | | |
| | | public string ModelName { get; set; } |
| | | } |
| | | |
| | | public enum FailType |
| | | { |
| | | 管线缺少端点 = 1, |
| | | 喷头只能连接管道 = 2, |
| | | 缺少水箱或水池对象 = 3, |
| | | 管件对象连管件对象 = 4, |
| | | 属性错误 = 5, |
| | | 孤立点, |
| | | 孤立管线, |
| | | |
| | | } |
| | | |
| | | |
| | | } |