Moxa V2201-E2-T [20/21] Moxa proactive monitoring moxa proactive monitoring api

Moxa V2201-E2-T [20/21] Moxa proactive monitoring moxa proactive monitoring api
Moxa Proactive Monitoring Moxa Proactive Monitoring API
2-4
Function int get_disk_usage(char *diskpath, double *value)
Description Obtain the specified disk utilization.
Input <diskpath > The specified disk location path.
<value> The variable used to save the specified disk utilization.
Output <value> The specified disk utilization.
Return Refer to the return value table.
Function int get_device_name(unsigned char *value)
Description Obtain the device name of the platform.
Input <value> The variable used to save the device name of the platform.
Output
<value> The device name of the platform
Return Refer to the return value table.
Function int get_bios_ver(unsigned char *value)
Description Obtain the bios version.
Input <value> The variable used to save the bios version.
Output <value> The bios version.
Return Refer to the return value table.
Function int get_ser_num(unsigned char *value)
Description The get_ser_num function is used to obtain the device serial number.
Input <value> The variable used to save the device serial number
Output <value> The device serial number
Return Refer to the return value table.
Function int get_pwr_status(int port, int *value)
Description Obtain the power supply status.
Input <port> The power supply number (0, 1 …)
<value> The variable used to save the status of the power supply.
Output <value> The status of the power supply.
Return Refer to the return value table.
Function int set_relay(int port, int value)
Description Set relay status by the input value (0) off (1) on.
Input <port> relay port (0, 1 … )
<value> set status: (0) off, (1) on
Output None
Return Refer to the return value table.
Function int get_milli_volt(int index, unsigned int *value)
Description
Obtain the specified device voltage by index.
Input < index> The Voltage type: (0) CPU, (1) Memory, (2) Mainboard
<value> The variable used to save the specified device voltage.
Output <value> The specified device voltage.
Return Refer to the return value table.
Function int get_temperature(int index, unsigned int *value)
Description Obtain the specified device temperature.
Input < index> The Voltage type: (0) CPU, (1) System
<value> The variable used to save the specified device temperature.
Output
<value> The specified device temperature.
Return Refer to the return value table.

Содержание

Похожие устройства

Скачать