three.MF.V3.Tasks.CalibrateTurntable

 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 CalibrateTurntable:
 6    """*
 7    Calibrate the turntable.
 8
 9    > Request example:
10
11    ```json
12    {
13    "Task":{
14    "Index":1,
15    "Type":"CalibrateTurntable"
16    }
17    }
18    ```
19
20    > Response example:
21
22    ```json
23    {
24    "Task":{
25    "Index":1,
26    "Type":"CalibrateTurntable",
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 `CalibrateTurntable` task.
41        """
42        def __init__(self, Index: int, Type: str):
43            # A unique identifier generated by the client.
44            self.Index = Index
45            # "CalibrateTurntable"
46            self.Type = Type
47
48    class Response:
49
50        """
51         Server response for the `CalibrateTurntable` 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            # "CalibrateTurntable"
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 CalibrateTurntable:
 6class CalibrateTurntable:
 7    """*
 8    Calibrate the turntable.
 9
10    > Request example:
11
12    ```json
13    {
14    "Task":{
15    "Index":1,
16    "Type":"CalibrateTurntable"
17    }
18    }
19    ```
20
21    > Response example:
22
23    ```json
24    {
25    "Task":{
26    "Index":1,
27    "Type":"CalibrateTurntable",
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 `CalibrateTurntable` task.
42        """
43        def __init__(self, Index: int, Type: str):
44            # A unique identifier generated by the client.
45            self.Index = Index
46            # "CalibrateTurntable"
47            self.Type = Type
48
49    class Response:
50
51        """
52         Server response for the `CalibrateTurntable` 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            # "CalibrateTurntable"
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

* Calibrate the turntable.

Request example:

{
"Task":{
"Index":1,
"Type":"CalibrateTurntable"
}
}

Response example:

{
"Task":{
"Index":1,
"Type":"CalibrateTurntable",
"Output":{
"date":[2024,4,27,16,57,35],
"quality":"Excellent",
"focus":[300,320]
},
"State":"Completed"
}
}
class CalibrateTurntable.Request:
38    class Request:
39
40        """
41         Client request for the `CalibrateTurntable` task.
42        """
43        def __init__(self, Index: int, Type: str):
44            # A unique identifier generated by the client.
45            self.Index = Index
46            # "CalibrateTurntable"
47            self.Type = Type

Client request for the CalibrateTurntable task.

CalibrateTurntable.Request(Index: int, Type: str)
43        def __init__(self, Index: int, Type: str):
44            # A unique identifier generated by the client.
45            self.Index = Index
46            # "CalibrateTurntable"
47            self.Type = Type
Index
Type
class CalibrateTurntable.Response:
49    class Response:
50
51        """
52         Server response for the `CalibrateTurntable` 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            # "CalibrateTurntable"
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 CalibrateTurntable task.

CalibrateTurntable.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            # "CalibrateTurntable"
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
Index
Type
Output
State
Error