/// <summary> /// Gets the size of the table in bytes. /// </summary> /// <param name="Table0">The Table 0 object.</param> /// <param name="Table51">The Table 51 object.</param> /// <returns>The size of the table in bytes.</returns> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 10/12/06 RCG 7.35.00 N/A Created private static uint GetTableSize(CTable00 Table0, StdTable51 Table51) { uint uiSize = 0; // DST_TIME_EFF uiSize += Table0.TIMESize; // DST_TIME_AMT uiSize += 1; if (Table51.IsTimeZoneAvailable == true) { // TIME_ZONE_OFFSET uiSize += 2; } return(uiSize); }
/// <summary> /// Constructor /// </summary> /// <param name="psem">The PSEM communications object for this session</param> /// <param name="Table0">The Table 0 object for the current device</param> /// <param name="Table51">The Table 51 object for the current device</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 10/12/06 RCG 7.35.00 N/A Created public StdTable53(CPSEM psem, CTable00 Table0, StdTable51 Table51) : base(psem, 53, StdTable53.GetTableSize(Table0, Table51)) { m_Table51 = Table51; }