1#!/usr/bin/env python3
2
3class APID():
4 def __init__(self, apid, sid):
5 self.apid = apid
6 self.sid = sid
7
8 @property
9 def pid(self):
10 return self.apid >> 4
11
12 @property
13 def pcat(self):
14 return self.apid & 0xf
15
16 def pid_name(self):
17 pass
18
19 def pcat_name(self):
20 pass