# pcr-sdk **Repository Path**: ibs-bj_0/pcr-sdk ## Basic Information - **Project Name**: pcr-sdk - **Description**: P1000F机器通信模拟器。模拟机器发送数据。方便开发者进行数据调试。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-04 - **Last Updated**: 2025-09-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LSDK P1000F机器通信模拟器。模拟机器发送数据。方便开发者进行数据调试。 首先需要[安装node](https://www.runoob.com/nodejs/nodejs-install-setup.html) 版本为V18.20 ### 下载依赖 进入项目根目录,执行 ``` npm install ``` ### 启动 `node example/http/index.js` ![alt text](image.png) 每隔10秒会发送一次数据。 ## 服务端 * 服务端接收数据工程springBoot(java)请参考[pcr-server-springBoot](https://gitee.com/ibs-bj_0/pcr-serve) * 服务端接收数据工程.net asp(C#)请参考[pcr-server-Net](https://gitee.com/ibs-bj_0/pcr-serve-C) * 服务端接收数据工程(GO)请参考[pcr-server-Go](https://gitee.com/ibs-bj_0/pcr-serve-Go) * 服务端接收数据工程(Python)请参考[pcr-server-Python](https://gitee.com/ibs-bj_0/pcr-serve-Python) ``` pcr-sdk-master ├─ .vscode │ └─ settings.json # VS Code configuration file ├─ src │ ├─ index │ │ ├─ copyfile.js # JavaScript file for copying files │ │ ├─ iot.js # JavaScript file for IoT-related functionality │ │ └─ utils.js # Utility JavaScript functions │ ├─ ws.html # WebSocket HTML file │ └─ settings.json # JSON settings file (possibly a duplicate or specific configuration) ├─ example │ └─ data ├─ http │ ├─ capture.jpg # Image file, likely a captured screenshot or photo │ ├─ channeldata.json # JSON file containing channel data │ ├─ devices.js # JavaScript file for device management │ └─ index.js # Main JavaScript file for HTTP-related functionality ├─ mqtt ├─ tcp ├─ ws ├─ node_modules # Directory for installed npm packages ├─ src ├─ .babelrc # Babel configuration file ├─ .eslintrc # ESLint configuration file ├─ .gitignore # Git ignore file to exclude files from version control ├─ package-lock.json # Lock file for npm dependencies ├─ package.json # Node.js project metadata and dependencies └─ readme.md # Project documentation file ```