def __init__(self, conn):
self.conn = conn<EOL>act_disp = conn.get_table_data(ACT_DISP_TBL)<EOL>unpacked = struct.unpack('<STR_LIT>', act_disp)<EOL>bfld = unpacked[<NUM_LIT:0>]<EOL>self._on_time_flag = bool(bfld & <NUM_LIT:1>)<EOL>self._off_time_flag = bool(bfld & <NUM_LIT>)<EOL>self._hold_time_flag = bool(bfld & <NUM_LIT>)<EOL>self._nbr_disp_sources = unpacked[<NUM_LIT:1>]<EOL>self._width_disp_sources = unpacked[<NUM_LIT:2>]<EOL>self._nbr_pri_disp_list_items = unpacked[<NUM_LIT:3>]<EOL>self._nbr_pri_disp_lists = unpacked[<NUM_LIT:4>]<EOL>self._nbr_sec_disp_list_items = unpacked[<NUM_LIT:5>]<EOL>self._nbr_sec_disp_lists = unpacked[<NUM_LIT:6>]<EOL>self.pri_disp_list = []<EOL>pri_disp_list = conn.get_table_data(PRI_DISP_LIST_TBL)<EOL>for _ in range(self._nbr_pri_disp_lists):<EOL><INDENT>bfld = pri_disp_list[<NUM_LIT:0>]<EOL>on_time = bfld & <NUM_LIT><EOL>off_time = (bfld >> <NUM_LIT:4>) & <NUM_LIT><EOL>bfld = pri_disp_list[<NUM_LIT:1>]<EOL>hold_time = bfld & <NUM_LIT><EOL>default_list = (bfld >> <NUM_LIT:4>) & <NUM_LIT><EOL>nbr_items = pri_disp_list[<NUM_LIT:2>]<EOL>self.pri_disp_list.append(DispListDescRcd(on_time, off_time, hold_time, default_list, nbr_items))<EOL>pri_disp_list = pri_disp_list[<NUM_LIT:3>:]<EOL><DEDENT>self.pri_disp_sources = struct.unpack("<STR_LIT>".format(self._nbr_pri_disp_list_items), pri_disp_list)<EOL>
Initializes a new instance of the class and reads tables from the
corresponding decades to populate information.

@type conn: c1218.connection.Connection
@param conn: The driver to be used for interacting with the
necessary tables.