1 Star 0 Fork 0

GanweiCloud / GWExProcDemo.STD

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

服务端协议开发示例

介绍

服务端扩展协议开发示例Demo

软件架构

img.png

字段 类型 描述
Proc_Code 主键 主键
Proc_Module 驱动模块文件名 扩展协议文件名, 此处为:GWExProcDemo.STD.dll
Proc_name 驱动名称 名称
Proc_parm 驱动启动参数 参数
Comment 描述

安装教程

将生成的文件复制到软件目录的dll下 img.png

使用说明

初始化参数

public bool init(GWExProcTableRow Row)
{
    var name = Row.Proc_name;
    var param = Row.Proc_parm;
    _inputArgs = $"扩展插件已加载,{name}{param}";
    Console.WriteLine(_inputArgs);
    return true;
}

系统控制项设置

public void SetParm(string main_instruction, string minor_instruction, string value)
{
    Console.WriteLine($"调用事件:{main_instruction},{minor_instruction},{value}");
}

空文件

简介

扩展插件示例代码 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/ganweicloud/GWExProcDemo.STD.git
git@gitee.com:ganweicloud/GWExProcDemo.STD.git
ganweicloud
GWExProcDemo.STD
GWExProcDemo.STD
master

搜索帮助