ifw-fcf 7.1.4
Loading...
Searching...
No Matches
maxisRpcErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_MAXIS_RPC_ERRORS_H
9#define FCF_DEVMGR_DEVICE_MAXIS_RPC_ERRORS_H
10
11#include <unordered_map>
12
13
14namespace ifw::fcf {
15 namespace devmgr {
16 namespace maxis {
17
18 enum {
26 };
27
28 const std::unordered_map<short, std::string> RPC_ERRORS = {
29 {RPC_ERR_NOT_OP, "Cannot disable MAxis. Not in OP state"},
30 {RPC_ERR_NOT_OP_READY, "Cannot enable MAxis. Not in NOT_OP_READY."},
31 {RPC_ERR_NOT_OP_NOTREADY, "Cannot init MAxis. Not in NOT_OP_NOTREADY or FAILURE."},
32 {RPC_ERR_MOTOR_LOCAL, "RPC calls are not allowed in Local mode."},
33 {RPC_ERR_MOTOR_LOWER_LIMIT, "Move rejected. Target position beyond lower SW limit."},
34 {RPC_ERR_MOTOR_UPPER_LIMIT, "Move rejected. Target position beyond upper SW limit."}
35 };
36
37 }
38 }
39}
40#endif // FCF_DEVMGR_DEVICE_MAXIS_RPC_ERRORS_H
@ RPC_ERR_NOT_OP_READY
Definition maxisRpcErrors.hpp:21
@ RPC_ERR_NOT_OP_NOTREADY
Definition maxisRpcErrors.hpp:22
@ RPC_ERR_MOTOR_UPPER_LIMIT
Definition maxisRpcErrors.hpp:25
@ RPC_SUCCESS
Definition maxisRpcErrors.hpp:19
@ RPC_ERR_MOTOR_LOWER_LIMIT
Definition maxisRpcErrors.hpp:24
@ RPC_ERR_MOTOR_LOCAL
Definition maxisRpcErrors.hpp:23
@ RPC_ERR_NOT_OP
Definition maxisRpcErrors.hpp:20
const std::unordered_map< short, std::string > RPC_ERRORS
Definition maxisRpcErrors.hpp:28
ActionsEnable class source file.
Definition actionMgr.cpp:28