| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using Panuon.UI.Silver.Core;
- using System;
- using System.ComponentModel;
- namespace SHJX.Service.Model.Control
- {
- public class SampleDetail
- {
- [ReadOnlyColumn]
- [ColumnWidth("1*")]
- [Description("节点名称")]
- [DisplayName("节点名称")]
- public string NodeName { get; set; }
- [ColumnWidth("1*")]
- [Description("详细描述")]
- [DisplayName("详细描述")]
- public string Detail { get; set; }
- [ColumnWidth("1*")]
- [Description("样品体积")]
- [DisplayName("样品体积")]
- public double SampleVolume { get; set; }
- [ColumnWidth("1*")]
- [Description("样品倍数")]
- [DisplayName("样品倍数")]
- public double Multiple { get; set; }
- [ColumnWidth("1*")]
- [Description("硫酸汞")]
- [DisplayName("硫酸汞")]
- public double HgSO4 { get; set; }
- [ReadOnlyColumn]
- [ColumnWidth("1*")]
- [Description("样品类型")]
- [DisplayName("样品类型")]
- public string SampleType { get; set; }
- [ReadOnlyColumn]
- [ColumnWidth("1*")]
- [Description("样品浓度")]
- [DisplayName("样品浓度")]
- public string Concentration { get; set; }
- [ColumnWidth("1*")]
- [Description("快速滴定")]
- [DisplayName("快速滴定")]
- public bool QuickTitration { get; set; }
- [ColumnWidth("1*")]
- [IgnoreColumn]
- [DefaultValue(true)]
- [Description("任务下发")]
- [DisplayName("任务下发")]
- public bool WhetherSend { get; set; }
- [IgnoreColumn]
- [DefaultValue(false)]
- [Description("下发成功")]
- public bool TaskSendOk { get; set; }
- [IgnoreColumn]
- [DefaultValue(false)]
- [Description("是否完成")]
- public bool IsFinish { get; set; } = false;
- public SampleDetail()
- {
- Detail = DateTime.Now.ToString("MMddmmss");
- SampleVolume = 10;
- Multiple = 1;
- HgSO4 = 2;
- }
- }
- }
|