three.MF.V3.Tasks.HasTurntable

 1from MF.V3.Task import TaskState as MF_V3_Task_TaskState
 2
 3
 4class HasTurntable:
 5    """*
 6    Check if the scanner is connected to a working turntable.
 7
 8    > Request example:
 9
10    ```json
11    {
12    "Task":{
13    "Index":1,
14    "Type":"HasTurntable"
15    }
16    }
17    ```
18
19    > Response example:
20
21    ```json
22    {
23    "Task":{
24    "Index":1,
25    "Type":"HasTurntable",
26    "Output":true,
27    "State":"Completed"
28    }
29    }
30    ```
31    """
32    class Request:
33
34        """
35         Client request for the `HasTurntable` task.
36        """
37        def __init__(self, Index: int, Type: str):
38            # A unique identifier generated by the client.
39            self.Index = Index
40            # "HasTurntable"
41            self.Type = Type
42
43    class Response:
44
45        """
46         Server response for the `HasTurntable` task.
47        """
48        def __init__(self, Index: int, Type: str, Output: bool = None, State: MF_V3_Task_TaskState = None, Error: str = None):
49            # The unique identifier generated by the client.
50            self.Index = Index
51            # "HasTurntable"
52            self.Type = Type
53            # The working start of the connected turntable.
54            self.Output = Output
55            # The current state of the task.
56            self.State = State
57            # A string describing the error if the task has failed.
58            self.Error = Error
59
60    def __init__(self):
61        pass
class HasTurntable:
 5class HasTurntable:
 6    """*
 7    Check if the scanner is connected to a working turntable.
 8
 9    > Request example:
10
11    ```json
12    {
13    "Task":{
14    "Index":1,
15    "Type":"HasTurntable"
16    }
17    }
18    ```
19
20    > Response example:
21
22    ```json
23    {
24    "Task":{
25    "Index":1,
26    "Type":"HasTurntable",
27    "Output":true,
28    "State":"Completed"
29    }
30    }
31    ```
32    """
33    class Request:
34
35        """
36         Client request for the `HasTurntable` task.
37        """
38        def __init__(self, Index: int, Type: str):
39            # A unique identifier generated by the client.
40            self.Index = Index
41            # "HasTurntable"
42            self.Type = Type
43
44    class Response:
45
46        """
47         Server response for the `HasTurntable` task.
48        """
49        def __init__(self, Index: int, Type: str, Output: bool = None, State: MF_V3_Task_TaskState = None, Error: str = None):
50            # The unique identifier generated by the client.
51            self.Index = Index
52            # "HasTurntable"
53            self.Type = Type
54            # The working start of the connected turntable.
55            self.Output = Output
56            # The current state of the task.
57            self.State = State
58            # A string describing the error if the task has failed.
59            self.Error = Error
60
61    def __init__(self):
62        pass

* Check if the scanner is connected to a working turntable.

Request example:

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

Response example:

{
"Task":{
"Index":1,
"Type":"HasTurntable",
"Output":true,
"State":"Completed"
}
}
class HasTurntable.Request:
33    class Request:
34
35        """
36         Client request for the `HasTurntable` task.
37        """
38        def __init__(self, Index: int, Type: str):
39            # A unique identifier generated by the client.
40            self.Index = Index
41            # "HasTurntable"
42            self.Type = Type

Client request for the HasTurntable task.

HasTurntable.Request(Index: int, Type: str)
38        def __init__(self, Index: int, Type: str):
39            # A unique identifier generated by the client.
40            self.Index = Index
41            # "HasTurntable"
42            self.Type = Type
Index
Type
class HasTurntable.Response:
44    class Response:
45
46        """
47         Server response for the `HasTurntable` task.
48        """
49        def __init__(self, Index: int, Type: str, Output: bool = None, State: MF_V3_Task_TaskState = None, Error: str = None):
50            # The unique identifier generated by the client.
51            self.Index = Index
52            # "HasTurntable"
53            self.Type = Type
54            # The working start of the connected turntable.
55            self.Output = Output
56            # The current state of the task.
57            self.State = State
58            # A string describing the error if the task has failed.
59            self.Error = Error

Server response for the HasTurntable task.

HasTurntable.Response( Index: int, Type: str, Output: bool = None, State: MF.V3.Task.TaskState = None, Error: str = None)
49        def __init__(self, Index: int, Type: str, Output: bool = None, State: MF_V3_Task_TaskState = None, Error: str = None):
50            # The unique identifier generated by the client.
51            self.Index = Index
52            # "HasTurntable"
53            self.Type = Type
54            # The working start of the connected turntable.
55            self.Output = Output
56            # The current state of the task.
57            self.State = State
58            # A string describing the error if the task has failed.
59            self.Error = Error
Index
Type
Output
State
Error