Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 ///<param name="name">Contains a human-readable description of the value in Value.</param>
 ///<param name="value">Contains the human-readable value.</param>
 ///
 public SpanGap(TimeElementType type, string code, string name, string value) : base(DatamodelDTD.SPANGAP)
 {
     this.SetType(type);
     this.Code  = code;
     this.Name  = name;
     this.Value = value;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 ///<param name="name">Contains a human-readable description of the value in Value.</param>
 ///<param name="value">Contains the human-readable value.</param>
 ///
 public TimeElement(TimeElementType type, string code, string name, string value) : base(DatamodelDTD.TIMEELEMENT)
 {
     this.SetType(type);
     this.Code  = code;
     this.Name  = name;
     this.Value = value;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 ///<param name="name">Contains a human-readable description of the value in Value.</param>
 ///<param name="value">Contains the human-readable value.</param>
 ///
 public TimeElement( TimeElementType type, string code, string name, string value )
     : base(DatamodelDTD.TIMEELEMENT)
 {
     this.SetType( type );
     this.Code = code;
     this.Name = name;
     this.Value = value;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 ///<param name="name">Contains a human-readable description of the value in Value.</param>
 ///<param name="value">Contains the human-readable value.</param>
 ///
 public SpanGap( TimeElementType type, string code, string name, string value )
     : base(DatamodelDTD.SPANGAP)
 {
     this.SetType( type );
     this.Code = code;
     this.Name = name;
     this.Value = value;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A TimeElementType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( TimeElementType val )
 {
     SetField( DatamodelDTD.TIMEELEMENT_TYPE, val );
 }
Ejemplo n.º 6
0
 ///<summary>Adds the value of the <c>&lt;SpanGap&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 /// <param name="Code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 /// <param name="Name">Contains a human-readable description of the value in Value.</param>
 /// <param name="Value">Contains the human-readable value.</param>
 ///<remarks>
 /// <para>This form of <c>setSpanGap</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddSpanGap</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddSpanGap(TimeElementType Type, string Code, string Name, string Value)
 {
     AddChild(DatamodelDTD.SPANGAPS_SPANGAP, new SpanGap(Type, Code, Name, Value));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A TimeElementType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(TimeElementType val)
 {
     SetField(DatamodelDTD.SPANGAP_TYPE, val);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A TimeElementType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( TimeElementType val )
 {
     SetField( DatamodelDTD.SPANGAP_TYPE, val );
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A TimeElementType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(TimeElementType val)
 {
     SetField(DatamodelDTD.TIMEELEMENT_TYPE, val);
 }
Ejemplo n.º 10
0
 ///<summary>Adds the value of the <c>&lt;TimeElement&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 /// <param name="Code">This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.</param>
 /// <param name="Name">Contains a human-readable description of the value in Value.</param>
 /// <param name="Value">Contains the human-readable value.</param>
 ///<remarks>
 /// <para>This form of <c>setTimeElement</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddTimeElement</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddTimeElement(TimeElementType Type, string Code, string Name, string Value)
 {
     AddChild(DatamodelDTD.TIMEELEMENTS_TIMEELEMENT, new TimeElement(Type, Code, Name, Value));
 }