-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaircraft.py
65 lines (47 loc) · 1.72 KB
/
aircraft.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
###---- this is what we track aircraft in during runtime in memory
class Aircraft:
"Aircraft Class"
aircraftID = ""
aircraftOwner = ""
aircraftOperatorFlagCode = ""
aircraftRegistration = ""
aircraftType = ""
aircraftWhenSeen = ""
aircraftWhenSeenComputer = ""
AlertTime = ""
def __init__(self, aircraftID):
self.aircraftID = aircraftID
def get_aircraftID(self):
return self.aircraftID
def set_Owner(self, aOwner):
self.aircraftOwner = aOwner
def get_Owner(self):
return self.aircraftOwner
def set_OperatorFlagCode(self, aOperatorFlagCode):
self.aircraftOperatorFlagCode = aOperatorFlagCode
def get_OperatorFlagCode(self):
return self.aircraftOperatorFlagCode
def set_Registration(self, aRegistration):
self.aircraftRegistration = aRegistration
def get_Registration(self):
return self.aircraftRegistration
def set_Type(self, aType):
self.aircraftType = aType
def get_Type(self):
return self.aircraftType
def set_WhenSeen(self, aWhenSeen):
self.aircraftWhenSeen = aWhenSeen
def get_WhenSeen(self): return self.aircraftWhenSeen
def set_WhenSeenComputer(self, aWhenSeenComputer):
self.aircraftWhenSeenComputer = aWhenSeenComputer
def get_WhenSeenComputer(self):
return self.aircraftWhenSeenComputer
def set_Interesting(self, aIntereesting):
self.aircraftInteresting = aIntereesting
def get_Interesting(self):
return self.aircraftInteresting
def set_AlertTime(self, aTime):
self.aircraftAlertTime = aTime
def get_AlertTime(self):
return self.aircraftAlertTime
## end Aircraft class