Skip to content

Commit b59787d

Browse files
authored
Merge pull request #41 from ejgl/master
Update dummy.py
2 parents d68c990 + 7fa05ce commit b59787d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

evora/server/dummy.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def GetStatus():
1616
return 20075
1717

1818

19-
def GetAvailableCameras():
19+
def GetAvailableCameras(status):
2020
return 1
2121

2222

23-
def GetCameraHandle():
23+
def GetCameraHandle(cameraIndex, cameraHandle):
2424
return 1
2525

2626

@@ -32,7 +32,7 @@ def GetTemperatureF(temperature):
3232
return temperature
3333

3434

35-
def GetTemperatureStatus():
35+
def GetTemperatureStatus(SensorTemp, TargetTemp, AmbientTemp, CoolerVolts):
3636
return 1
3737

3838

@@ -65,31 +65,31 @@ def GetAcquiredData16(write_var):
6565
# These functions do the same thing in this context
6666
GetMostRecentImage16 = GetAcquiredData16
6767

68-
def GetAcquisitionTimings(*args):
68+
def GetAcquisitionTimings(exposure, accumulate, kinetic):
6969
return 1
7070

71-
def GetNumberVSSpeeds(*args):
71+
def GetNumberVSSpeeds(speeds):
7272
return 1
7373

74-
def GetNumberVSAmplitudes(*args):
74+
def GetNumberVSAmplitudes(number):
7575
return 1
7676

77-
def GetVSSpeed(index, *args):
77+
def GetVSSpeed(index, speed):
7878
return 1
7979

80-
def GetFastestRecommendedVSSpeed(*index, *speeds):
80+
def GetFastestRecommendedVSSpeed(index, speeds):
8181
return 1
8282

83-
def GetNumberHSSpeeds(channel, typ, *speeds):
83+
def GetNumberHSSpeeds(channel, typ, speeds):
8484
return 1
8585

86-
def GetHSSpeed(channel, typ, index, *speed):
86+
def GetHSSpeed(channel, typ, index, speed):
8787
return 1
8888

89-
def GetDetector(*xpixels, *ypixels):
89+
def GetDetector(xpixels, ypixels):
9090
return 1
9191

92-
def GetAcquisitionProgress(*acc, *series):
92+
def GetAcquisitionProgress(acc, series):
9393
return 1
9494

9595
# Setter functions

0 commit comments

Comments
 (0)