summaryrefslogtreecommitdiffstats
path: root/Src/PyCatcher/src/pyCatcherModel.py
diff options
context:
space:
mode:
authorTom2012-01-11 13:56:26 +0100
committerTom2012-01-11 13:56:26 +0100
commit959e9f97cdaac774b530a375a1fe8bcfe7ac1f5b (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /Src/PyCatcher/src/pyCatcherModel.py
parentFirmware can now be loaded from GUI, threading problem fixed (diff)
downloadimsi-catcher-detection-959e9f97cdaac774b530a375a1fe8bcfe7ac1f5b.tar.gz
imsi-catcher-detection-959e9f97cdaac774b530a375a1fe8bcfe7ac1f5b.tar.xz
imsi-catcher-detection-959e9f97cdaac774b530a375a1fe8bcfe7ac1f5b.zip
cleanup
Diffstat (limited to 'Src/PyCatcher/src/pyCatcherModel.py')
-rw-r--r--Src/PyCatcher/src/pyCatcherModel.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/Src/PyCatcher/src/pyCatcherModel.py b/Src/PyCatcher/src/pyCatcherModel.py
deleted file mode 100644
index 6473dc7..0000000
--- a/Src/PyCatcher/src/pyCatcherModel.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import datetime
-
-class BaseStationInformation:
- def __init__ (self):
- self.arcfn = 0
- self.bsic = 0
- self.rxlev = 0
- self.s1 = []
- self.s2 = []
- self.s2bis = []
- self.s2ter = []
- self.s3 = []
- self.s4 = []
- self.neighbours = []
-
- def parse_file(self, fileobject):
- self.arcfn = fileobject.readline()
- self.bsic = fileobject.readline()
- self.rxlev = fileobject.readline()
- self.s1 = fileobject.readline().split(' ')
- self.s2 = fileobject.readline().split(' ')
- self.s2bis = fileobject.readline().split(' ')
- self.s2ter = fileobject.readline().split(' ')
- self.s3 = fileobject.readline().split(' ')
- self.s4 = fileobject.readline().split(' ')
- return self
-
- def get_tree_data(self):
- return [self.bsic, self.arcfn, self.rxlev, datetime.datetime.now().strftime("%H:%M:%S")]
-
-class BaseStationInformationList:
- def __init__(self):
- self.base_station_list = []
-
- def add_station(self):
- pass
-
- def get_dot_code(self):
- pass \ No newline at end of file