ekmmeters.py
def initLcdLookup(self):
        """ Initialize lookup table for string input of LCD fields """
        self.m_lcd_lookup["kWh_Tot"] = LCDItems.kWh_Tot
        self.m_lcd_lookup["Rev_kWh_Tot"] = LCDItems.Rev_kWh_Tot
        self.m_lcd_lookup["RMS_Volts_Ln_1"] = LCDItems.RMS_Volts_Ln_1
        self.m_lcd_lookup["RMS_Volts_Ln_2"] = LCDItems.RMS_Volts_Ln_2
        self.m_lcd_lookup["RMS_Volts_Ln_3"] = LCDItems.RMS_Volts_Ln_3
        self.m_lcd_lookup["Amps_Ln_1"] = LCDItems.Amps_Ln_1
        self.m_lcd_lookup["Amps_Ln_2"] = LCDItems.Amps_Ln_2
        self.m_lcd_lookup["Amps_Ln_3"] = LCDItems.Amps_Ln_3
        self.m_lcd_lookup["RMS_Watts_Ln_1"] = LCDItems.RMS_Watts_Ln_1
        self.m_lcd_lookup["RMS_Watts_Ln_2"] = LCDItems.RMS_Watts_Ln_2
        self.m_lcd_lookup["RMS_Watts_Ln_3"] = LCDItems.RMS_Watts_Ln_3
        self.m_lcd_lookup["RMS_Watts_Tot"] = LCDItems.RMS_Watts_Tot
        self.m_lcd_lookup["Power_Factor_Ln_1"] = LCDItems.Power_Factor_Ln_1
        self.m_lcd_lookup["Power_Factor_Ln_2"] = LCDItems.Power_Factor_Ln_2
        self.m_lcd_lookup["Power_Factor_Ln_3"] = LCDItems.Power_Factor_Ln_3
        self.m_lcd_lookup["kWh_Tariff_1"] = LCDItems.kWh_Tariff_1
        self.m_lcd_lookup["kWh_Tariff_2"] = LCDItems.kWh_Tariff_2
        self.m_lcd_lookup["kWh_Tariff_3"] = LCDItems.kWh_Tariff_3
        self.m_lcd_lookup["kWh_Tariff_4"] = LCDItems.kWh_Tariff_4
        self.m_lcd_lookup["Rev_kWh_Tariff_1"] = LCDItems.Rev_kWh_Tariff_1
        self.m_lcd_lookup["Rev_kWh_Tariff_2"] = LCDItems.Rev_kWh_Tariff_2
        self.m_lcd_lookup["Rev_kWh_Tariff_3"] = LCDItems.Rev_kWh_Tariff_3
        self.m_lcd_lookup["Rev_kWh_Tariff_4"] = LCDItems.Rev_kWh_Tariff_4
        self.m_lcd_lookup["Reactive_Pwr_Ln_1"] = LCDItems.Reactive_Pwr_Ln_1
        self.m_lcd_lookup["Reactive_Pwr_Ln_2"] = LCDItems.Reactive_Pwr_Ln_2
        self.m_lcd_lookup["Reactive_Pwr_Ln_3"] = LCDItems.Reactive_Pwr_Ln_3
        self.m_lcd_lookup["Reactive_Pwr_Tot"] = LCDItems.Reactive_Pwr_Tot
        self.m_lcd_lookup["Line_Freq"] = LCDItems.Line_Freq
        self.m_lcd_lookup["Pulse_Cnt_1"] = LCDItems.Pulse_Cnt_1
        self.m_lcd_lookup["Pulse_Cnt_2"] = LCDItems.Pulse_Cnt_2
        self.m_lcd_lookup["Pulse_Cnt_3"] = LCDItems.Pulse_Cnt_3
        self.m_lcd_lookup["kWh_Ln_1"] = LCDItems.kWh_Ln_1
        self.m_lcd_lookup["Rev_kWh_Ln_1"] = LCDItems.Rev_kWh_Ln_1
        self.m_lcd_lookup["kWh_Ln_2"] = LCDItems.kWh_Ln_2
        self.m_lcd_lookup["Rev_kWh_Ln_2"] = LCDItems.Rev_kWh_Ln_2
        self.m_lcd_lookup["kWh_Ln_3"] = LCDItems.kWh_Ln_3
        self.m_lcd_lookup["Rev_kWh_Ln_3"] = LCDItems.Rev_kWh_Ln_3
        self.m_lcd_lookup["Reactive_Energy_Tot"] = LCDItems.Reactive_Energy_Tot
        self.m_lcd_lookup["Max_Demand_Rst"] = LCDItems.Max_Demand_Rst
        self.m_lcd_lookup["Rev_kWh_Rst"] = LCDItems.Rev_kWh_Rst
        self.m_lcd_lookup["State_Inputs"] = LCDItems.State_Inputs
        self.m_lcd_lookup["Max_Demand"] = LCDItems.Max_Demand
def initLcdLookup(self):
        """ Initialize lookup table for string input of LCD fields """
        self.m_lcd_lookup["kWh_Tot"] = LCDItems.kWh_Tot
        self.m_lcd_lookup["Rev_kWh_Tot"] = LCDItems.Rev_kWh_Tot
        self.m_lcd_lookup["RMS_Volts_Ln_1"] = LCDItems.RMS_Volts_Ln_1
        self.m_lcd_lookup["RMS_Volts_Ln_2"] = LCDItems.RMS_Volts_Ln_2
        self.m_lcd_lookup["RMS_Volts_Ln_3"] = LCDItems.RMS_Volts_Ln_3
        self.m_lcd_lookup["Amps_Ln_1"] = LCDItems.Amps_Ln_1
        self.m_lcd_lookup["Amps_Ln_2"] = LCDItems.Amps_Ln_2
        self.m_lcd_lookup["Amps_Ln_3"] = LCDItems.Amps_Ln_3
        self.m_lcd_lookup["RMS_Watts_Ln_1"] = LCDItems.RMS_Watts_Ln_1
        self.m_lcd_lookup["RMS_Watts_Ln_2"] = LCDItems.RMS_Watts_Ln_2
        self.m_lcd_lookup["RMS_Watts_Ln_3"] = LCDItems.RMS_Watts_Ln_3
        self.m_lcd_lookup["RMS_Watts_Tot"] = LCDItems.RMS_Watts_Tot
        self.m_lcd_lookup["Power_Factor_Ln_1"] = LCDItems.Power_Factor_Ln_1
        self.m_lcd_lookup["Power_Factor_Ln_2"] = LCDItems.Power_Factor_Ln_2
        self.m_lcd_lookup["Power_Factor_Ln_3"] = LCDItems.Power_Factor_Ln_3
        self.m_lcd_lookup["kWh_Tariff_1"] = LCDItems.kWh_Tariff_1
        self.m_lcd_lookup["kWh_Tariff_2"] = LCDItems.kWh_Tariff_2
        self.m_lcd_lookup["kWh_Tariff_3"] = LCDItems.kWh_Tariff_3
        self.m_lcd_lookup["kWh_Tariff_4"] = LCDItems.kWh_Tariff_4
        self.m_lcd_lookup["Rev_kWh_Tariff_1"] = LCDItems.Rev_kWh_Tariff_1
        self.m_lcd_lookup["Rev_kWh_Tariff_2"] = LCDItems.Rev_kWh_Tariff_2
        self.m_lcd_lookup["Rev_kWh_Tariff_3"] = LCDItems.Rev_kWh_Tariff_3
        self.m_lcd_lookup["Rev_kWh_Tariff_4"] = LCDItems.Rev_kWh_Tariff_4
        self.m_lcd_lookup["Reactive_Pwr_Ln_1"] = LCDItems.Reactive_Pwr_Ln_1
        self.m_lcd_lookup["Reactive_Pwr_Ln_2"] = LCDItems.Reactive_Pwr_Ln_2
        self.m_lcd_lookup["Reactive_Pwr_Ln_3"] = LCDItems.Reactive_Pwr_Ln_3
        self.m_lcd_lookup["Reactive_Pwr_Tot"] = LCDItems.Reactive_Pwr_Tot
        self.m_lcd_lookup["Line_Freq"] = LCDItems.Line_Freq
        self.m_lcd_lookup["Pulse_Cnt_1"] = LCDItems.Pulse_Cnt_1
        self.m_lcd_lookup["Pulse_Cnt_2"] = LCDItems.Pulse_Cnt_2
        self.m_lcd_lookup["Pulse_Cnt_3"] = LCDItems.Pulse_Cnt_3
        self.m_lcd_lookup["kWh_Ln_1"] = LCDItems.kWh_Ln_1
        self.m_lcd_lookup["Rev_kWh_Ln_1"] = LCDItems.Rev_kWh_Ln_1
        self.m_lcd_lookup["kWh_Ln_2"] = LCDItems.kWh_Ln_2
        self.m_lcd_lookup["Rev_kWh_Ln_2"] = LCDItems.Rev_kWh_Ln_2
        self.m_lcd_lookup["kWh_Ln_3"] = LCDItems.kWh_Ln_3
        self.m_lcd_lookup["Rev_kWh_Ln_3"] = LCDItems.Rev_kWh_Ln_3
        self.m_lcd_lookup["Reactive_Energy_Tot"] = LCDItems.Reactive_Energy_Tot
        self.m_lcd_lookup["Max_Demand_Rst"] = LCDItems.Max_Demand_Rst
        self.m_lcd_lookup["Rev_kWh_Rst"] = LCDItems.Rev_kWh_Rst
        self.m_lcd_lookup["State_Inputs"] = LCDItems.State_Inputs
        self.m_lcd_lookup["Max_Demand"] = LCDItems.Max_Demand
def initLcdLookup ( self ) : self . m_lcd_lookup [ "kWh_Tot" ] = LCDItems . kWh_Tot self . m_lcd_lookup [ "Rev_kWh_Tot" ] = LCDItems . Rev_kWh_Tot self . m_lcd_lookup [ "RMS_Volts_Ln_1" ] = LCDItems . RMS_Volts_Ln_1 self . m_lcd_lookup [ "RMS_Volts_Ln_2" ] = LCDItems . RMS_Volts_Ln_2 self . m_lcd_lookup [ "RMS_Volts_Ln_3" ] = LCDItems . RMS_Volts_Ln_3 self . m_lcd_lookup [ "Amps_Ln_1" ] = LCDItems . Amps_Ln_1 self . m_lcd_lookup [ "Amps_Ln_2" ] = LCDItems . Amps_Ln_2 self . m_lcd_lookup [ "Amps_Ln_3" ] = LCDItems . Amps_Ln_3 self . m_lcd_lookup [ "RMS_Watts_Ln_1" ] = LCDItems . RMS_Watts_Ln_1 self . m_lcd_lookup [ "RMS_Watts_Ln_2" ] = LCDItems . RMS_Watts_Ln_2 self . m_lcd_lookup [ "RMS_Watts_Ln_3" ] = LCDItems . RMS_Watts_Ln_3 self . m_lcd_lookup [ "RMS_Watts_Tot" ] = LCDItems . RMS_Watts_Tot self . m_lcd_lookup [ "Power_Factor_Ln_1" ] = LCDItems . Power_Factor_Ln_1 self . m_lcd_lookup [ "Power_Factor_Ln_2" ] = LCDItems . Power_Factor_Ln_2 self . m_lcd_lookup [ "Power_Factor_Ln_3" ] = LCDItems . Power_Factor_Ln_3 self . m_lcd_lookup [ "kWh_Tariff_1" ] = LCDItems . kWh_Tariff_1 self . m_lcd_lookup [ "kWh_Tariff_2" ] = LCDItems . kWh_Tariff_2 self . m_lcd_lookup [ "kWh_Tariff_3" ] = LCDItems . kWh_Tariff_3 self . m_lcd_lookup [ "kWh_Tariff_4" ] = LCDItems . kWh_Tariff_4 self . m_lcd_lookup [ "Rev_kWh_Tariff_1" ] = LCDItems . Rev_kWh_Tariff_1 self . m_lcd_lookup [ "Rev_kWh_Tariff_2" ] = LCDItems . Rev_kWh_Tariff_2 self . m_lcd_lookup [ "Rev_kWh_Tariff_3" ] = LCDItems . Rev_kWh_Tariff_3 self . m_lcd_lookup [ "Rev_kWh_Tariff_4" ] = LCDItems . Rev_kWh_Tariff_4 self . m_lcd_lookup [ "Reactive_Pwr_Ln_1" ] = LCDItems . Reactive_Pwr_Ln_1 self . m_lcd_lookup [ "Reactive_Pwr_Ln_2" ] = LCDItems . Reactive_Pwr_Ln_2 self . m_lcd_lookup [ "Reactive_Pwr_Ln_3" ] = LCDItems . Reactive_Pwr_Ln_3 self . m_lcd_lookup [ "Reactive_Pwr_Tot" ] = LCDItems . Reactive_Pwr_Tot self . m_lcd_lookup [ "Line_Freq" ] = LCDItems . Line_Freq self . m_lcd_lookup [ "Pulse_Cnt_1" ] = LCDItems . Pulse_Cnt_1 self . m_lcd_lookup [ "Pulse_Cnt_2" ] = LCDItems . Pulse_Cnt_2 self . m_lcd_lookup [ "Pulse_Cnt_3" ] = LCDItems . Pulse_Cnt_3 self . m_lcd_lookup [ "kWh_Ln_1" ] = LCDItems . kWh_Ln_1 self . m_lcd_lookup [ "Rev_kWh_Ln_1" ] = LCDItems . Rev_kWh_Ln_1 self . m_lcd_lookup [ "kWh_Ln_2" ] = LCDItems . kWh_Ln_2 self . m_lcd_lookup [ "Rev_kWh_Ln_2" ] = LCDItems . Rev_kWh_Ln_2 self . m_lcd_lookup [ "kWh_Ln_3" ] = LCDItems . kWh_Ln_3 self . m_lcd_lookup [ "Rev_kWh_Ln_3" ] = LCDItems . Rev_kWh_Ln_3 self . m_lcd_lookup [ "Reactive_Energy_Tot" ] = LCDItems . Reactive_Energy_Tot self . m_lcd_lookup [ "Max_Demand_Rst" ] = LCDItems . Max_Demand_Rst self . m_lcd_lookup [ "Rev_kWh_Rst" ] = LCDItems . Rev_kWh_Rst self . m_lcd_lookup [ "State_Inputs" ] = LCDItems . State_Inputs self . m_lcd_lookup [ "Max_Demand" ] = LCDItems . Max_Demand
Initialize lookup table for string input of LCD fields
Initialize lookup table for string input of LCD fields