def get_pin_codes(self, refresh=False):
if refresh:<EOL><INDENT>self.refresh()<EOL><DEDENT>val = self.get_value("<STR_LIT>")<EOL>raw_code_list = []<EOL>try:<EOL><INDENT>raw_code_list = val.rstrip().split('<STR_LIT:\t>')[<NUM_LIT:1>:]<EOL><DEDENT>except Exception as ex:<EOL><INDENT>logger.error('<STR_LIT>'.format(val, ex))<EOL><DEDENT>codes = []<EOL>for code in raw_code_list:<EOL><INDENT>try:<EOL><INDENT>code_addrs = code.split('<STR_LIT:;>')[<NUM_LIT:0>].split('<STR_LIT:U+002C>')<EOL>slot, active = code_addrs[:<NUM_LIT:2>]<EOL>if active != '<STR_LIT:0>':<EOL><INDENT>_, _, pin, name = code_addrs[<NUM_LIT:2>:]<EOL>codes.append((slot, name, pin))<EOL><DEDENT><DEDENT>except Exception as ex:<EOL><INDENT>logger.error('<STR_LIT>'.format(code, ex))<EOL><DEDENT><DEDENT>return codes<EOL>
Get the list of PIN codes

        Codes can also be found with self.get_complex_value('PinCodes')