summaryrefslogtreecommitdiffstats
path: root/Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba
diff options
context:
space:
mode:
Diffstat (limited to 'Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba')
-rw-r--r--Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba30
1 files changed, 30 insertions, 0 deletions
diff --git a/Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba b/Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba
new file mode 100644
index 0000000..34ba7c8
--- /dev/null
+++ b/Src/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/409c89e692f2001019c79f38f40e52ba
@@ -0,0 +1,30 @@
+import datetime
+import gtk
+
+class BaseStationInformation:
+ def __init__ (self):
+ self.country = 'Nowhere'
+ self.provider = 'Carry'
+ self.arfcn = 0
+ self.rxlev = 0
+ self.neighbours = []
+
+ def get_list_model(self):
+ return [self.provider, self.arfcn, self.rxlev, datetime.datetime.now().strftime('%I:%M %p')]
+
+class BaseStationInformationList:
+ def __init__(self):
+ self._base_station_list = []
+
+ def add_station(self, base_station):
+ self._base_station_list.append(base_station)
+
+ def get_dot_code(self):
+ pass
+
+ def get_list_store(self):
+ store = gtk.ListStore(str,str,str,str)
+ for item in self._base_station_list:
+ store.append(item.get_list_model())
+ return store
+ \ No newline at end of file