changeset 554 | 6bd3f220b886 |
parent 545 | 627e5c636a4f |
child 563 | c74a37d156df |
553:d071efd2a94b | 554:6bd3f220b886 |
---|---|
1 import ctypes |
1 import ctypes |
2 from LPCProto import * |
2 from LPCProto import * |
3 |
3 |
4 LPC_STATUS={0x01 : "Started", |
4 LPC_STATUS={0xaa : "Started", |
5 0x02 : "Stopped"} |
5 0x55 : "Stopped"} |
6 |
6 |
7 class LPCAppProto(LPCProto): |
7 class LPCAppProto(LPCProto): |
8 def HandleTransaction(self, transaction): |
8 def HandleTransaction(self, transaction): |
9 self.TransactionLock.acquire() |
9 self.TransactionLock.acquire() |
10 try: |
10 try: |