LotSizingDataModel.Instance 2.0.1
Lot-sizing instance representation, descriptors and problem characterization.
Loading...
Searching...
No Matches
HistoricalSemanticsMetadata.cs
Go to the documentation of this file.
1using System;
2using System.Xml.Serialization;
3using LotSizingDataModel.Core.Common;
4
6
7/// <summary>
8/// Source-declared historical classification metadata.
9/// </summary>
10/// <remarks>
11/// This metadata is never used as evidence for detected generic semantics.
12/// It exists to preserve source labels and enable declared-vs-detected audits.
13/// </remarks>
14[Serializable]
15[XmlType(TypeName = "historicalSemanticsMetadata")]
16public sealed class HistoricalSemanticsMetadata : ModelObject
17{
18 private string _originalWolseyCode = string.Empty;
19 private WolseyDeclaredMachineLabel _declaredWolseyMachineLabel;
20
21 [XmlElement("originalWolseyCode")]
22 public string OriginalWolseyCode
23 {
24 get => _originalWolseyCode;
25 set => SetProperty(
26 ref _originalWolseyCode,
27 value?.Trim() ?? string.Empty);
28 }
29
30 [XmlAttribute("declaredWolseyMachineLabel")]
32 {
33 get => _declaredWolseyMachineLabel;
34 set => SetProperty(
35 ref _declaredWolseyMachineLabel,
36 value);
37 }
38}
39
40/// <summary>
41/// Wolsey machine labels preserved from the source without semantic inference.
42/// </summary>
44{
46 IM = 1,
47 VM = 2
48}
WolseyDeclaredMachineLabel
Wolsey machine labels preserved from the source without semantic inference.