---
# System prepended metadata

title: Medical CMS document

---

# Medical CMS document

> KT to : Anto Joeis
> Date: 29-08-2022

```
Projects : 1) Medical CMS Device API
           2) Medical CMS Windows form
           3) Medical CMS windows installer
```

1.	**Introduction:**
> Medical CMS device API’s are implemented to monitor CMS device machine as well as to handle deployment to CMS device remotely. CMS Device will send real-time status information to server. Real-time status information includes Model name, CPU Usage, Total disk size, Free disk size, server IP, MAC address and firmware version.

2.	**Device CMS API:**
> Device CMS API is implemented to get device side information as well as deploy app and firmware.
> Below mentioned functionality are provided by Device API,
> 	Get Device Information
> 	Get Device Real-time status 
> 	Process mission on device. List of missions are as mentioned below,
> 	Device Info:  This mission will update device nick name as well as Server IP
> 	Reboot: This mission will reboot medical CMS device.
> 	Shutdown: This mission will shut down medical CMS device.
> 	Firmware update: This mission will update firmware version of medical CMS device.
> 	App Update: This mission will download file/zip/image on medical CMS device.  
> 	App Delete: This mission will delete file/zip/image from medical CMS device
> 
> Note: Download folder path is C:\CMS_App1 User can see downloaded files in this folder.

3.	**Device CMS UI :**
> Device CMS UI is design to display and modify Device nickname and Server IP. Device CMS UI is system tray application. When User will minimize application it will go to system tray.
![](https://i.imgur.com/cp13JQt.png)
>
> User can modify Device Nickname and Server IP and clicked on save button to update value.
> Version: Version textbox field display API version
> Device Nickname: Device nickname textbox field display device nick name
> Server IP: Server IP textbox field display server IP
>
> 	Minimize CMS UI:
> When User clicked on minimize button application will minimize in system tray. It will look like as shown below.
>  ![](https://i.imgur.com/471BKlT.png)
> 
> 
> To open CMS UI, user need to double clicked on this icon ![](https://i.imgur.com/asXWbaq.png)

4. **CMS Windows Installer**
> Requirement:
> 1) How To Build device_cms_api?
> 	pyinstaller run.py
> 	
> 2) Where to find build code? 
> 	<API folder Path>/api/dist/run
> 
> 3) Prepare winCMS build
   		* Build solution
> 		* win_CMS_folder/bin/Release/net5.0-windows
> 		* Copy all fildes from folder and paste to  
> 4) Prepare Installation using InnoSetup "winCMS" folder
> 	i) You need to prepare dependant folder and files. List is as shown below,
> 		* config folder with config.js file
> 		* download folder with .js file
> 		* Install folder. This folder include installation 
    
 Installer folder & file Structure
 ```
   - CMS_installer
       - Config
       - download
       - Install
       - run
       - winCMS
   - MedicalCMS.iss
```

 OUTPUT: Medial_CMS.exe ![](https://i.imgur.com/nmsuqMx.png)    

6) NOTE: Unzip files from Install folder
 - dotnet-sdk-5.0.201-win-x64.zip
 - python-3.9.4-amd64.zip