Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableChronoRm" /> class.
 /// </summary>
 /// <param name="intervals">Chronometer intervals.</param>
 public ProcessVariableChronoRm(List <ChronoIntervalRm> intervals = default(List <ChronoIntervalRm>), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.Intervals = intervals;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableDecimalRm" /> class.
 /// </summary>
 /// <param name="value">Variable value.</param>
 public ProcessVariableDecimalRm(double?value = default(double?), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.Value = value;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableArrayRm" /> class.
 /// </summary>
 /// <param name="values">Variable value.</param>
 public ProcessVariableArrayRm(List <Object> values = default(List <Object>), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.Values = values;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableDatetimeRm" /> class.
 /// </summary>
 /// <param name="utcValue">Variable value.</param>
 public ProcessVariableDatetimeRm(DateTime?utcValue = default(DateTime?), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.UtcValue = utcValue;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableBooleanRm" /> class.
 /// </summary>
 /// <param name="value">Variable value.</param>
 public ProcessVariableBooleanRm(bool?value = default(bool?), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.Value = value;
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableStringRm" /> class.
 /// </summary>
 /// <param name="value">Variable value.</param>
 public ProcessVariableStringRm(string value = default(string), Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm)) : base(id, variableType, variableDefinition)
 {
     this.Value = value;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessVariableRm" /> class.
 /// </summary>
 /// <param name="id">Process variable identifier.</param>
 /// <param name="variableType">Variable type [0&#x3D;Any, 1&#x3D;String, 2&#x3D;Int, 3&#x3D;Decimal, 4&#x3D;Boolean, 5&#x3D;Datetime, 6&#x3D;Array, 7&#x3D;Matrix, 8&#x3D;Chrono].</param>
 /// <param name="variableDefinition">variableDefinition.</param>
 public ProcessVariableRm(Guid?id = default(Guid?), int?variableType = default(int?), DiagramVariableRm variableDefinition = default(DiagramVariableRm))
 {
     this.Id                 = id;
     this.VariableType       = variableType;
     this.VariableDefinition = variableDefinition;
 }