This commit is contained in:
2015-08-06 14:32:13 +02:00
parent ee72b0fa46
commit 4d6771870a
3 changed files with 28 additions and 8 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
#Wed Jul 29 14:45:52 CEST 2015
autoSaveScanData=true
createSessionFiles=false
dataFile={data}/{year}_{month}/{date}/{date}_{time}_{context}
dataFilesCreation=true
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{context}
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{exec}
dataProvider=default
dataScanFlushRecords=false
dataScanStrategy=default
+27
View File
@@ -0,0 +1,27 @@
#Wed Jul 29 14:45:52 CEST 2015
autoSaveScanData=true
createSessionFiles=false
dataFile={data}/{year}_{month}/{date}/{date}_{time}_{context}
dataFilesCreation=true
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{context}
dataProvider=default
dataScanFlushRecords=false
dataScanStrategy=default
devicePoolFile={config}/devices.properties
deviceUpdateStrategyFile={config}/update.properties
imageSourcesFile={config}/imaging.properties
logDaysToLive=-1
logLevel=Fine
logLevelConsole=Off
scriptType=py
serverEnabled=true
serverPort=8085
simulation=false
tasksFile={config}/tasks.properties
terminalEnabled=false
terminalPort=3579
userAuthenticator=
userManagement=false
versionTrackingEnabled=true
versionTrackingLogin={config}/agkey
versionTrackingRemote=ssh\://git@github.psi.ch\:7999/psd/x10sa.git
-6
View File
@@ -2,9 +2,6 @@ import random
class SimulatedOutput(Writable):
def getName(self):
return "SimulatedOutput"
def write(self, value):
pass
@@ -13,9 +10,6 @@ class SimulatedInput(Readable):
def __init__(self):
self.x = 0.0
def getName(self):
return "SimulatedInput"
def read(self):
self.x = self.x + 0.2
noise = (random.random() - 0.5) / 20.0