three.MF.V3.Tasks.TurntableCalibration
1from MF.V3.Descriptors.Calibration import Turntable as MF_V3_Descriptors_Calibration_Turntable 2from MF.V3.Task import TaskState as MF_V3_Task_TaskState 3 4 5class TurntableCalibration: 6 """* 7 Get the turntable calibration descriptor. 8 9 > Request example: 10 11 ```json 12 { 13 "Task":{ 14 "Index":1, 15 "Type":"TurntableCalibration" 16 } 17 } 18 ``` 19 20 > Response example: 21 22 ```json 23 { 24 "Task":{ 25 "Index":1, 26 "Type":"TurntableCalibration", 27 "Output":{ 28 "date":[2024,4,27,16,57,35], 29 "quality":"Excellent", 30 "focus":[300,320] 31 }, 32 "State":"Completed" 33 } 34 } 35 ``` 36 """ 37 class Request: 38 39 """ 40 Client request for the `TurntableCalibration` task. 41 """ 42 def __init__(self, Index: int, Type: str): 43 # A unique identifier generated by the client. 44 self.Index = Index 45 # "TurntableCalibration" 46 self.Type = Type 47 48 class Response: 49 50 """ 51 Server response for the `TurntableCalibration` task. 52 """ 53 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_Turntable = None, State: MF_V3_Task_TaskState = None, Error: str = None): 54 # The unique identifier generated by the client. 55 self.Index = Index 56 # "TurntableCalibration" 57 self.Type = Type 58 # The turntable calibration descriptor. 59 self.Output = Output 60 # The current state of the task. 61 self.State = State 62 # A string describing the error if the task has failed. 63 self.Error = Error 64 65 def __init__(self): 66 pass
class
TurntableCalibration:
6class TurntableCalibration: 7 """* 8 Get the turntable calibration descriptor. 9 10 > Request example: 11 12 ```json 13 { 14 "Task":{ 15 "Index":1, 16 "Type":"TurntableCalibration" 17 } 18 } 19 ``` 20 21 > Response example: 22 23 ```json 24 { 25 "Task":{ 26 "Index":1, 27 "Type":"TurntableCalibration", 28 "Output":{ 29 "date":[2024,4,27,16,57,35], 30 "quality":"Excellent", 31 "focus":[300,320] 32 }, 33 "State":"Completed" 34 } 35 } 36 ``` 37 """ 38 class Request: 39 40 """ 41 Client request for the `TurntableCalibration` task. 42 """ 43 def __init__(self, Index: int, Type: str): 44 # A unique identifier generated by the client. 45 self.Index = Index 46 # "TurntableCalibration" 47 self.Type = Type 48 49 class Response: 50 51 """ 52 Server response for the `TurntableCalibration` task. 53 """ 54 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_Turntable = None, State: MF_V3_Task_TaskState = None, Error: str = None): 55 # The unique identifier generated by the client. 56 self.Index = Index 57 # "TurntableCalibration" 58 self.Type = Type 59 # The turntable calibration descriptor. 60 self.Output = Output 61 # The current state of the task. 62 self.State = State 63 # A string describing the error if the task has failed. 64 self.Error = Error 65 66 def __init__(self): 67 pass
* Get the turntable calibration descriptor.
Request example:
{
"Task":{
"Index":1,
"Type":"TurntableCalibration"
}
}
Response example:
{
"Task":{
"Index":1,
"Type":"TurntableCalibration",
"Output":{
"date":[2024,4,27,16,57,35],
"quality":"Excellent",
"focus":[300,320]
},
"State":"Completed"
}
}
class
TurntableCalibration.Request:
38 class Request: 39 40 """ 41 Client request for the `TurntableCalibration` task. 42 """ 43 def __init__(self, Index: int, Type: str): 44 # A unique identifier generated by the client. 45 self.Index = Index 46 # "TurntableCalibration" 47 self.Type = Type
Client request for the TurntableCalibration
task.
class
TurntableCalibration.Response:
49 class Response: 50 51 """ 52 Server response for the `TurntableCalibration` task. 53 """ 54 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_Turntable = None, State: MF_V3_Task_TaskState = None, Error: str = None): 55 # The unique identifier generated by the client. 56 self.Index = Index 57 # "TurntableCalibration" 58 self.Type = Type 59 # The turntable calibration descriptor. 60 self.Output = Output 61 # The current state of the task. 62 self.State = State 63 # A string describing the error if the task has failed. 64 self.Error = Error
Server response for the TurntableCalibration
task.
TurntableCalibration.Response( Index: int, Type: str, Output: MF.V3.Descriptors.Calibration.Turntable = None, State: MF.V3.Task.TaskState = None, Error: str = None)
54 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_Turntable = None, State: MF_V3_Task_TaskState = None, Error: str = None): 55 # The unique identifier generated by the client. 56 self.Index = Index 57 # "TurntableCalibration" 58 self.Type = Type 59 # The turntable calibration descriptor. 60 self.Output = Output 61 # The current state of the task. 62 self.State = State 63 # A string describing the error if the task has failed. 64 self.Error = Error