ekmmeters.py
def fillCreate(self, qry_str):
        """ Return query portion below CREATE.
        Args:
            qry_str (str): String as built.

        Returns:
            string: Passed string with fields appended.
        """
        count = 0
        for fld in self.m_all_fields:
            fld_type = self.m_all_fields[fld][MeterData.TypeValue]
            fld_len = self.m_all_fields[fld][MeterData.SizeValue]
            qry_spec = self.mapTypeToSql(fld_type, fld_len)
            if count > 0:
                qry_str += ", \n"
            qry_str = qry_str + '   ' + fld + ' ' + qry_spec
            count += 1

        qry_str += (",\n\t" + Field.Time_Stamp + " BIGINT,\n\t" +
                    "Raw_A VARCHAR(512),\n\t" +
                    "Raw_B VARCHAR(512)\n)")

        return qry_str
def fillCreate(self, qry_str):
        """ Return query portion below CREATE.
        Args:
            qry_str (str): String as built.

        Returns:
            string: Passed string with fields appended.
        """
        count = 0
        for fld in self.m_all_fields:
            fld_type = self.m_all_fields[fld][MeterData.TypeValue]
            fld_len = self.m_all_fields[fld][MeterData.SizeValue]
            qry_spec = self.mapTypeToSql(fld_type, fld_len)
            if count > 0:
                qry_str += ", \n"
            qry_str = qry_str + '   ' + fld + ' ' + qry_spec
            count += 1

        qry_str += (",\n\t" + Field.Time_Stamp + " BIGINT,\n\t" +
                    "Raw_A VARCHAR(512),\n\t" +
                    "Raw_B VARCHAR(512)\n)")

        return qry_str
Return query portion below CREATE.
        Args:
            qry_str (str): String as built.

        Returns:
            string: Passed string with fields appended.