예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LiteralData" /> class.
 /// </summary>
 /// <param name="value">value.</param>
 /// <param name="dataType">dataType.</param>
 /// <param name="uom">uom.</param>
 public LiteralData(string value = default(string),
                    NameReferenceType dataType = default(NameReferenceType),
                    NameReferenceType uom      = default(NameReferenceType))
 {
     this.Value    = value;
     this.DataType = dataType;
     this.Uom      = uom;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LiteralDataDomain" /> class.
 /// </summary>
 /// <param name="valueDefinition">valueDefinition.</param>
 /// <param name="defaultValue">defaultValue.</param>
 /// <param name="dataType">dataType.</param>
 /// <param name="uom">uom.</param>
 public LiteralDataDomain(OneOfliteralDataDomainValueDefinition valueDefinition = default(OneOfliteralDataDomainValueDefinition), string defaultValue = default(string), NameReferenceType dataType = default(NameReferenceType), NameReferenceType uom = default(NameReferenceType))
 {
     this.ValueDefinition = valueDefinition;
     this.DefaultValue    = defaultValue;
     this.DataType        = dataType;
     this.Uom             = uom;
 }