From 1dd158434a41627a6684cd630b2696fb83b1e3d6 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 19 十二月 2024 13:23:04 +0800 Subject: [PATCH] 流量计整改 --- Dto/HStation.Dto.Assets.Core/17-flowmeter/02-main/AddAssetsFlowmeterMainInput.cs | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Dto/HStation.Dto.Assets.Core/17-Flowmeter/02-AssetsFlowmeterMain/AddAssetsFlowmeterMainInput.cs b/Dto/HStation.Dto.Assets.Core/17-flowmeter/02-main/AddAssetsFlowmeterMainInput.cs similarity index 68% rename from Dto/HStation.Dto.Assets.Core/17-Flowmeter/02-AssetsFlowmeterMain/AddAssetsFlowmeterMainInput.cs rename to Dto/HStation.Dto.Assets.Core/17-flowmeter/02-main/AddAssetsFlowmeterMainInput.cs index 5c938b9..1f18937 100644 --- a/Dto/HStation.Dto.Assets.Core/17-Flowmeter/02-AssetsFlowmeterMain/AddAssetsFlowmeterMainInput.cs +++ b/Dto/HStation.Dto.Assets.Core/17-flowmeter/02-main/AddAssetsFlowmeterMainInput.cs @@ -1,52 +1,52 @@ -锘縰sing System.ComponentModel.DataAnnotations; - -namespace HStation.Dto +锘縩amespace HStation.Dto { /// <summary> - /// 娴侀噺璁� - ///</summary> + /// + /// </summary> public class AddAssetsFlowmeterMainInput { - /// <summary> - /// 鍚嶇О - ///</summary> - [Required] - public string Name { get; set; } /// <summary> - /// 绯诲垪ID - ///</summary> + /// 绯诲垪id + /// </summary> [Required, Range(1, long.MaxValue, ErrorMessage = "SeriesID 蹇呴』澶т簬0")] public long SeriesID { get; set; } /// <summary> + /// 鍚嶇О + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> /// 灞�闃荤郴鏁� - ///</summary> + /// </summary> + [Required] public double MinorLoss { get; set; } /// <summary> - /// 璇嗗埆鍏抽敭瀛� - ///</summary> - public List<string > KeyWord { get; set; } + /// 鍏抽敭瀛� + /// </summary> + public List<string> KeyWords { get; set; } /// <summary> /// 鍙傛暟 - ///</summary> + /// </summary> public Dictionary<string, string> Paras { get; set; } /// <summary> /// 鏍囩 - ///</summary> + /// </summary> public List<string> Flags { get; set; } /// <summary> /// 鏍囧織 - ///</summary> + /// </summary> public string TagName { get; set; } /// <summary> /// 璇存槑 - ///</summary> + /// </summary> public string Description { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3