Skip to content

Commit

Permalink
Added value attribute
Browse files Browse the repository at this point in the history
Added `value` attribute to `UmlInstanceValue`
  • Loading branch information
tbm0115 committed Mar 30, 2023
1 parent dddcd5d commit bf05b91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MtconnectTranspiler/MtconnectTranspiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>MTConnect Transpiler</Title>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<Authors>mtconnect, tbm0115</Authors>
<Company>MTConnect Institute; TAMS;</Company>
<Description>A library capable of parsing an XMI for the MTConnect Standard and passing it to an implemented transpiler.</Description>
Expand Down
8 changes: 7 additions & 1 deletion MtconnectTranspiler/Xmi/UML/UmlInstanceValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ public class UmlInstanceValue : DefaultValue
/// <c>instance</c> attribute
/// </summary>
[XmlAttribute(AttributeName = XmlHelper.XmiStructure.instance, Namespace = "")]
public string Instance { get; set; } = string.Empty;
public string? Instance { get; set; }

/// <summary>
/// <c>value</c> attribute
/// </summary>
[XmlAttribute(AttributeName = XmlHelper.XmiStructure.value, Namespace = "")]
public string? Value { get; set; }
}
}

0 comments on commit bf05b91

Please sign in to comment.