summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--For Weekly Test/30-07-2011/DeviceAddress.txt13
-rw-r--r--For Weekly Test/30-07-2011/DeviceAddressClass.py37
-rw-r--r--For Weekly Test/30-07-2011/DeviceAddressClass.pycbin1363 -> 0 bytes
3 files changed, 0 insertions, 50 deletions
diff --git a/For Weekly Test/30-07-2011/DeviceAddress.txt b/For Weekly Test/30-07-2011/DeviceAddress.txt
deleted file mode 100644
index 1c84a00..0000000
--- a/For Weekly Test/30-07-2011/DeviceAddress.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-[sip]:localhost:07612034661928:
-
-[landline]:localhost:076145875681:
-
-[unisip]:localhost:076120397897:
-
-[gsmr1]:localhost:076120346614xx:
-
-[gsmr2]:132.230.4.64:07612034661455: #Technisse
-
-[gsmeO]:localhost:076120346614xx:
-
-[gsmeV]:localhost:076120346614xx:
diff --git a/For Weekly Test/30-07-2011/DeviceAddressClass.py b/For Weekly Test/30-07-2011/DeviceAddressClass.py
deleted file mode 100644
index 21c9dc0..0000000
--- a/For Weekly Test/30-07-2011/DeviceAddressClass.py
+++ /dev/null
@@ -1,37 +0,0 @@
-class DeviceAddress:
-
- def __init__(self):
- self.add = None
- self.num = None
- self.portAdd = ''
-
- def findDevice(self, device):
- file = open('DeviceAddress.txt', 'r')
-
- for line in file:
-
- first = line.find('[')
- second= line.find(']') # search for position
- find = line[first+1:second]
-
- stop = line.find(':')
- IPAddress =line[stop+1:]
- stop2 = IPAddress.find(':')
-
- number = IPAddress[stop2+1:]
- stop3 = number.find(':')
-
- portAddress = number[stop3+1:]
- stop4 = portAddress.find(':')
-
-
- if find == device:
- print device
- self.add = IPAddress[0:stop2]
- self.num = number[0:stop3]
- if stop4 <> -1:
- self.portAdd = portAddress[0:stop4]
- break
-
-
- file.close()
diff --git a/For Weekly Test/30-07-2011/DeviceAddressClass.pyc b/For Weekly Test/30-07-2011/DeviceAddressClass.pyc
deleted file mode 100644
index ff3fa70..0000000
--- a/For Weekly Test/30-07-2011/DeviceAddressClass.pyc
+++ /dev/null
Binary files differ