| | |
| | | { |
| | | public string Barcode; |
| | | |
| | | public List<MeasurementUint> Measurements = new List<MeasurementUint>(); |
| | | public List<MeasurementUnit> Measurements = new List<MeasurementUnit>(); |
| | | |
| | | public List<IShapeElement> ElementList = new List<IShapeElement>(); |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | public class MeasurementUint : IComplexDisplay, INotifyPropertyChanged, IDisposable |
| | | public class MeasurementUnit : IComplexDisplay, INotifyPropertyChanged, IDisposable |
| | | { |
| | | public string Id = Guid.NewGuid().ToString(); |
| | | |
| | |
| | | [Category("单键配置")] |
| | | [Description("单键结果配置")] |
| | | [TypeConverter(typeof(KeyUnitResultConverter))] |
| | | public string KeyResult { get; set; } = ""; |
| | | public string KeyResultId { get; set; } = ""; |
| | | |
| | | |
| | | public List<HImage> KeyImages = new List<HImage>(); |
| | |
| | | { |
| | | string msg = Key; |
| | | |
| | | msg += string.IsNullOrWhiteSpace(KeyResult) ? "" : $"-{KeyResult}"; |
| | | msg += string.IsNullOrWhiteSpace(KeyResultId) ? "" : $"-{KeyResultId}"; |
| | | |
| | | return msg; |
| | | } |