Esempio n. 1
0
 /// <summary>
 ///     Constructor for a Data Journal List Value List that will
 ///     be associated with a Data Journal List Value.
 /// </summary>
 /// <param name="owningXiDataJournalListItem">
 ///     Identifies the historical data object to which this historical value set
 ///     belongs.
 /// </param>
 /// <param name="calculationTypeId"> The CalculationTypeId associated with the value set. </param>
 public XiDataJournalValueStatusTimestampSet(XiDataJournalListItem owningXiDataJournalListItem,
                                             Ssz.Utils.DataAccess.TypeId calculationTypeId)
 {
     _owningXiDataJournalListItem = owningXiDataJournalListItem;
     _calculationTypeId           = calculationTypeId;
     ResultCode = XiFaultCodes.E_FAIL;
     StartTime  = DateTime.UtcNow;
     EndTime    = DateTime.UtcNow;
 }
 /// <summary>
 ///     The constructor for the XiEventMessageFieldValue
 /// </summary>
 /// <param name="name"> The name of the field. </param>
 /// <param name="dataTypeId"> The data type of the field. </param>
 public XiEventMessageFieldValue(string name, Ssz.Utils.DataAccess.TypeId dataTypeId)
 {
     Name       = name;
     DataTypeId = dataTypeId;
 }
Esempio n. 3
0
 /// <summary>
 ///     The LocalId portion of the CalculationTypeId. Set to 0 if the LocalId is not a uint.
 /// </summary>
 public static uint GetCalculationTypeLocalId(Ssz.Utils.DataAccess.TypeId calculationTypeId)
 {
     return(Convert.ToUInt32(calculationTypeId.LocalId));
 }