放肆看

导航

 

2021年4月28日

摘要: 参考:how to get swashbuckle to generate parameter type "form" for testing APIs that need a file upload? · Issue #120 · domaindrivendev/Swashbuckle.WebAp 阅读全文
posted @ 2021-04-28 11:44 放肆看 阅读(690) 评论(0) 推荐(0) 编辑
 

2020年12月4日

摘要: 原贴地址:https://blog.csdn.net/yhtppp/article/details/80676118 OPC DA规范 1. Knight OPC Server Simulator 可以添加Item,但是Value好像没法设置成变动的值,比如Random; 2. ICONNICS S 阅读全文
posted @ 2020-12-04 09:32 放肆看 阅读(3970) 评论(0) 推荐(0) 编辑
 

2020年12月3日

摘要: 环境: 物理路由器:192.168.0.1 PC1(win):192.168.0.2 PC2(win):192.168.0.3 PC2里安装VMware Workstation 目标:让PC1通过远程桌面连接PC2的VMware Workstation。 1.VMware网络设置 2.虚拟机设置 3 阅读全文
posted @ 2020-12-03 15:57 放肆看 阅读(706) 评论(0) 推荐(0) 编辑
 

2020年5月8日

摘要: 1.多byte[] 打包下载 var streamsDict = new Dictionary<string, byte[]>(); // 循环添加到 streamsDict var ds=new DataSet(); streamsDict.Add(ds.DataSetName+ ".xls", 阅读全文
posted @ 2020-05-08 10:56 放肆看 阅读(447) 评论(0) 推荐(0) 编辑
 

2020年4月27日

摘要: 1. 异常处理代码 /// <summary> /// 异常处理 /// </summary> public class WebExceptionFilterAttribute : IExceptionFilter { public virtual void OnException(Exceptio 阅读全文
posted @ 2020-04-27 14:32 放肆看 阅读(590) 评论(0) 推荐(1) 编辑
 

2020年3月25日

摘要: WebSocketForWebAPI:https://gitee.com/lycz/WebSocketForWebAPI 服务端发送消息,控制器代码 private readonly ClientWebSocket webSocket = new ClientWebSocket(); private 阅读全文
posted @ 2020-03-25 11:59 放肆看 阅读(6645) 评论(0) 推荐(1) 编辑
 

2019年9月19日

摘要: 1. 开启SMTP服务,并设置授权码 2. 代码如下,使用ssl模式连接,用授权码登录 阅读全文
posted @ 2019-09-19 10:03 放肆看 阅读(523) 评论(0) 推荐(0) 编辑
 

2019年7月9日

摘要: 在连接opc服务器的时候,报错——对 COM 组件的调用返回了错误 HRESULT E_FAIL 不确定是怎么解决的,有以下可能性,如果遇到同样问题可以参考参考1.安装了Matrikon OPC Server Simulator(https://blog.csdn.net/yhtppp/articl 阅读全文
posted @ 2019-07-09 15:33 放肆看 阅读(2453) 评论(0) 推荐(0) 编辑
 

2019年2月13日

摘要: 1.NUGET安装 Microsoft.AspNetCore.Http 2.在 startup.cs 的 ConfigureServices 中注入 3.获取ip 阅读全文
posted @ 2019-02-13 14:46 放肆看 阅读(1197) 评论(1) 推荐(1) 编辑
 

2018年7月30日

摘要: 1.安装opc server https://www.cnblogs.com/wangx036/p/14084075.html 2.c#读取opc https://github.com/leogle/OPCAutomationDotNet 1 var client = new OPCClientWr 阅读全文
posted @ 2018-07-30 14:43 放肆看 阅读(8355) 评论(1) 推荐(4) 编辑