Raritan PX2/PX3 JSON-RPC API
PowerLogicConfig.idl
1 #ifndef __POWERLOGIC_CONFIG_IDL__
2 #define __POWERLOGIC_CONFIG_IDL__
3 
4 #include <UserEvent.idl>
5 
6 module powerlogic {
7 
9  interface Config_1_0_1 {
10 
11  constant int NO_ERROR = 0;
12  constant int ERR_INVALID_PARAMS = 1;
13 
15  structure Settings {
16  string name;
17  byte slaveAddr;
18  int baud;
19  byte parity;
20  };
21 
23  valueobject SettingsChangedEvent extends event.UserEvent {
24  Settings oldSettings;
26  };
27 
33  Settings getSettings();
34 
43  int setSettings(in Settings settings);
44  };
45 }
46 
47 #endif /* !__POWERLOGIC_CONFIG_IDL__ */
48 
int baud
Modbus slave speed.
Definition: PowerLogicConfig.idl:18
Settings newSettings
Settings after change.
Definition: PowerLogicConfig.idl:25
Configuration Interface.
Definition: PowerLogicConfig.idl:9
byte parity
Modbus slave communication parity bit (N/E/O)
Definition: PowerLogicConfig.idl:19
PowerLogic port settings.
Definition: PowerLogicConfig.idl:15
string name
PowerLogic port name.
Definition: PowerLogicConfig.idl:16
byte slaveAddr
Modbus address of slave device.
Definition: PowerLogicConfig.idl:17
Definition: PowerLogicConfig.idl:6