Medical Cart

Content

  • Installation

  • Command List

Installation

  1. Please ensure already installed EdgeX SDK first

  2. Decompress the IPS540HBattery device service zip file and copy the IPS540HBattery device service folder into C:\Advantech\EdgeX\DeviceService\

3. Modify the correct battery connected COM Port in \res\application.ini

Command List

MediCart-MCU

motorname (GET)

Get the MediCart Motor name

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorname or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorname

motorname (PUT)

Set the MediCart Motor name

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorname or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorname

motorpause (PUT)

Pause the action while the electric device is moving

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorpause or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorpause

motorresolution (GET)

Get the MediCart Motor resolution

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorresolution or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorresolution

motorresolution (PUT)

Set the MediCart Motor resolution

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorresolution or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorresolution

motorlength (GET)

Get the MediCart Motor length

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorlength or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorlength

motorlength (PUT)

Set the MediCart Motor length

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorresolution or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorresolution

motoruplimit (GET)

Get the MediCart Motor up limit

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motoruplimit or http://localhost:50012/api/v1/device/name/MediCart-MCU/motoruplimit

motoruplimit (PUT)

Set the MediCart Motor up limit

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motoruplimit or http://localhost:50012/api/v1/device/name/MediCart-MCU/motoruplimit

motordownlimit (GET)

Get the MediCart Motor down limit

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motordownlimit or http://localhost:50012/api/v1/device/name/MediCart-MCU/motordownlimit

motordownlimit (PUT)

Set the MediCart Motor down limit

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motordownlimit or http://localhost:50012/api/v1/device/name/MediCart-MCU/motordownlimit

motorreset (PUT)

Reset the electric device's height

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/motorreset or http://localhost:50012/api/v1/device/name/MediCart-MCU/motorreset

mappingtable (GET)

Get the MediCart Mapping Table

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/mappingtable or http://localhost:50012/api/v1/device/name/MediCart-MCU/mappingtable

mappingtable (PUT)

Set the MediCart Mapping Table

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/mappingtable or http://localhost:50012/api/v1/device/name/MediCart-MCU/mappingtable

restoremappingtable (PUT)

Reset the table when there's an input error in the mapping table

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/restoremappingtable or http://localhost:50012/api/v1/device/name/MediCart-MCU/restoremappingtable

login (PUT)

Record the time of login for PUT

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/login or http://localhost:50012/api/v1/device/name/MediCart-MCU/login

logout (PUT)

Record the time of logout for PUT

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/logout or http://localhost:50012/api/v1/device/name/MediCart-MCU/logout

ftp (GET)

Get the MediCart Servicer FTP config

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/ftp or http://localhost:50012/api/v1/device/name/MediCart-MCU/ftp

ftp (PUT)

Record the time of logout for PUT

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/logout or http://localhost:50012/api/v1/device/name/MediCart-MCU/logout

log_cart (GET)

Get the MediCart Servicer log_cart value. When log_cart is activated, the MediCart Service will periodically upload a log file daily

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/log_cart or http://localhost:50012/api/v1/device/name/MediCart-MCU/log_cart

log_cart (PUT)

Set the MediCart Servicer log_cart value. When log_cart is activated, the MediCart Service will periodically upload a log file daily

Restful API : http://IPS540HService-IP:50012/api/v1/device/name/MediCart-MCU/log_cart or http://localhost:50012/api/v1/device/name/MediCart-MCU/log_cart

Last updated