/// <summary> /// Gets the size of table 2070 /// </summary> /// <param name="Table2069">The Actual Power Quality table that defines /// the struction of this table</param> /// <returns>The size of the table.</returns> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/12/07 mcm 8.0.11 N/A Created private static uint GetTableSize(MfgActualPowerQuality Table2069) { int NbrParameters = Table2069.NbrSagLevels + Table2069.NbrSwellLevels + Table2069.NbrInterruptionLevels + Table2069.NbrVoltageImbalanceLevels + Table2069.NbrCurrentImbalanceLevels + Table2069.NbrExcursionLevels; return((uint)(SIZE_OF_TABLE_2070_HEADER + SIZE_OF_PQ_PARAMETER * NbrParameters)); }
/// <summary> /// Mfg Table 24 (2069) - This table defines the layout of the VQ /// tables in this meter. /// </summary> /// <param name="psem">The PSEM communications object.</param> /// <param name="Table2069">The Actual Power Quality table that defines /// the struction of this table</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/12/07 mcm 8.0.11 N/A Created public MfgPowerQualityEvents(CPSEM psem, MfgActualPowerQuality Table2069) : base(psem, 2072, MfgPowerQualityEvents.GetTableSize(Table2069)) { m_Table2069 = Table2069; // m_EventList = new List<PowerQualityEvent>(); }
/// <summary> /// Mfg Table 23 (2071) - This table defines the layout of the VQ /// tables in this meter. /// </summary> /// <param name="psem">The PSEM communications object.</param> /// <param name="Table2069">The Actual Power Quality table that defines /// the struction of this table</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/12/07 mcm 8.0.11 N/A Created public MfgPowerQualityStatus(CPSEM psem, MfgActualPowerQuality Table2069) : base(psem, 2071, SIZE_OF_TABLE_2071) { m_Table2069 = Table2069; }
/// <summary> /// Mfg Table 22 (2070) - This table defines the layout of the VQ /// tables in this meter. /// </summary> /// <param name="psem">The PSEM communications object.</param> /// <param name="Table2069">The Actual Power Quality table that defines /// the struction of this table</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/12/07 mcm 8.0.11 N/A Created public MfgPowerQualityParameters(CPSEM psem, MfgActualPowerQuality Table2069) : base(psem, 2070, MfgPowerQualityParameters.GetTableSize(Table2069)) { m_Table2069 = Table2069; }
/// <summary> /// Gets the size of table 2072 /// </summary> /// <param name="Table2069">The Actual Power Quality table that defines /// the struction of this table</param> /// <returns>The size of the table.</returns> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/12/07 mcm 8.0.11 N/A Created private static uint GetTableSize(MfgActualPowerQuality Table2069) { return(Table2069.MaxPQEvents * SIZE_OF_PQ_EVENT); }