From 96b6869bb20677f9b945f67c014a9b992ee05ac4 Mon Sep 17 00:00:00 2001 From: patrick.xu <patrick.xu@broconcentric.com> Date: 星期三, 28 四月 2021 11:40:01 +0800 Subject: [PATCH] 1. 添加离线测试功能 2. 单键分开测量修改赋值和释放时判断 --- src/Bro.M071.Model/Model/KeyUnitData.cs | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/src/Bro.M071.Model/Model/KeyUnitData.cs b/src/Bro.M071.Model/Model/KeyUnitData.cs index ccea504..3c58fe3 100644 --- a/src/Bro.M071.Model/Model/KeyUnitData.cs +++ b/src/Bro.M071.Model/Model/KeyUnitData.cs @@ -1,6 +1,7 @@ 锘� using System; using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace Bro.M071.Model.Model { @@ -32,10 +33,50 @@ /// </summary> [StringLength(64)] public string ItemValue { get; set; } + + /// <summary> + /// 浜у搧缂栫爜 + /// </summary> + [NotMapped] + public string ProductionCode { get; set; } + [NotMapped] + public string ProductionBarcode { get; set; } } public class KeyUnitDataRequest : BaseRequest { } + public class KeyUnitData_DTO + { + public string Id { get; set; } + + /// <summary> + /// 浜у搧娴嬮噺璁板綍Id + /// </summary> + public string ProductionMeasurementRecordsId { get; set; } + + /// <summary> + /// 閿崟鍏� + /// </summary> + public string Key { get; set; } + + /// <summary> + /// 妫�娴嬮」 + /// </summary> + public string MeasurementItem { get; set; } + + /// <summary> + /// 璇ラ敭 妫�娴嬮」 鐨勫�� + /// </summary> + public string ItemValue { get; set; } + + /// <summary> + /// 浜у搧缂栫爜 + /// </summary> + public string ProductionCode { get; set; } + + public string ProductionBarcode { get; set; } + } + } -- Gitblit v1.8.0