1 Star 0 Fork 0

冯乐铠 / auto-inject

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

vutron-logo

Quick Start Templates for Vite + Vue 3 + Electron

Vutron is a preconfigured template for developing Electron cross-platform desktop apps. It uses Vue 3 and allows you to build a fast development environment with little effort.

AutoInject

ModbusTCP 可视化图形界面连接工具。提供读写操作 api 接口;创建流程任务:1、监听寄存器变化调用外部接口 2、监听接口值变化写入值到寄存器。

接口文档

技术栈

  • Electron
  • Vue
  • Vite
  • Koa
  • Socket.IO

基于 Vutron 开源项目二次开发

功能

  1. 读取寄存器接口以及 websocket 监控 modbus 状态
  2. 写入 modbus 值
  3. 流程任务模块
    • 监听 modbus 值状态
    • 调用接口(POST、GET)
  4. 自定义任务流程步骤提供高扩展性任务
  5. 任务流程步骤可动态调整,封装单独步骤流程
  6. 日志输出
  7. 编辑与导入导出任务流程
  8. pkg 集成构建无 UI 版本的二进制可执行文件

将来实现

  1. 添加写入 modbus 值步骤
  2. 添加调用 token 接口并储存到任务缓存步骤
  3. 添加传入数据接口
  4. 添加监控传入数据步骤

快速开始

开发环境:

  • linux
  • node 16.16.0
  • pnpm
pnpm install
pnpm dev

Koa 后台单独启动

pnpm dev:server

构建方式

客户端构建

pnpm build:win
pnpm build:linux

pkg 构建

pnpm pkg:win
pnpm pkg:linux

下载编译环境问题

  1. 下载缓慢建议去https://github.com/vercel/pkg-fetch/releases下载离线包
  2. 在命令行环境设置export PKG_CACHE_PATH=/home/root/pkg_cache_path
  3. 再次运行构建命令会在预设目录下生成版本文件夹,把离线包放入该文件夹再次运行命令即可
MIT License Copyright (c) 2023 fenglekai<fenglekai@gmail.com>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

简介

ModbusTCP任务流程客户端 展开 收起
Vue 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/feng-lekai/auto-inject.git
git@gitee.com:feng-lekai/auto-inject.git
feng-lekai
auto-inject
auto-inject
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891