摘要: http://www.cnblogs.com/EasonLeung/p/3683492.html 阅读全文
posted @ 2017-07-28 14:42 BBBLANK 阅读(103) 评论(0) 推荐(0)
摘要: 参考文章:http://blog.csdn.net/lastinglate/article/details/5753113 如果您正在设计可取消的事件,请使用CancelEventArgs(而非是EventArgs)作为事件数据对象e的基类。 使用场景:订阅者可以通过e.Cancle来控制发布者引发 阅读全文
posted @ 2017-07-28 14:23 BBBLANK 阅读(969) 评论(0) 推荐(0)
摘要: 数据库中,总是遇到一些字段内容,想根据某个标识截取一下字符串,可是都想不到好办法,如果能有一个像ASP.NET里面的Split方法,那该多好,多方便啊! 为什么不可以?我们自己写一个函数不就可以解决了吗?好吧,说干就干,自己来写个SplitString函数! 函数、表都建好了,下面调用测试一下吧: 阅读全文
posted @ 2017-07-27 11:07 BBBLANK 阅读(1951) 评论(0) 推荐(0)
摘要: <script type="text/JavaScript"> function DownLoad(strUrl) { var form = $("<form>"); //定义一个form表单 form.attr('style', 'display:none'); //在form表单中添加查询参数 阅读全文
posted @ 2017-07-20 10:25 BBBLANK 阅读(194) 评论(0) 推荐(0)
摘要: Communication with Siemens S7 Plc with C# and S7.Net plc driver in PLC, PLC Drivers, Siemens 134 Comments 66,987 Views In this article I explain how t 阅读全文
posted @ 2017-07-17 10:45 BBBLANK 阅读(4088) 评论(0) 推荐(1)
摘要: Sharp7 is a new C# driver to communicate to Siemens S7 Plc. The driver has been written by Davide Nardella, the author of Snap7 library, and it’s retr 阅读全文
posted @ 2017-07-17 10:44 BBBLANK 阅读(2643) 评论(1) 推荐(0)
摘要: Let’s say that you want to build your own HMI, because: commercial SCADAs are too expensive for your application you need more control over the code a 阅读全文
posted @ 2017-07-17 10:17 BBBLANK 阅读(890) 评论(1) 推荐(0)