hashtable的简单应用

摘要: Hashtable ht = new Hashtable(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { ht.Add("北京", "010"); h 阅读全文
posted @ 2016-08-16 16:05 LongHuaiYu 阅读(225) 评论(0) 推荐(0)

利用NPOI修改Excel文件

摘要: private void button6_Click(object sender, EventArgs e) { //string FileName = @"D:\Excel2007-1019.xlsx"; string FileName = @"D:\Excel2003-1102.xls"; if 阅读全文
posted @ 2016-07-21 15:50 LongHuaiYu 阅读(2064) 评论(0) 推荐(0)

splash简单示例

摘要: 第一个类 public class HCSplash { private Form2 m_Form = new Form2(); public void Start() { DateTime dtStart = DateTime.Now; Thread t = new System.Threadin 阅读全文
posted @ 2016-07-14 21:41 LongHuaiYu 阅读(244) 评论(0) 推荐(0)

模板匹配

摘要: dev_close_window ()dev_open_window (0, 0, 512, 512, 'black', WindowHandle) read_image (Image00228, 'D:/TestImg/图像00228.BMP') dev_set_draw ('margin') * 阅读全文
posted @ 2016-06-29 14:51 LongHuaiYu 阅读(386) 评论(0) 推荐(0)

2016-06-17

摘要: * In this program the size of raw fish sticks is measured* before they are coated with bread crumbs.* First, the fish sticks are segmented from the ba 阅读全文
posted @ 2016-06-17 21:34 LongHuaiYu 阅读(536) 评论(0) 推荐(0)

DB9延长线

摘要: 阅读全文
posted @ 2016-02-24 10:23 LongHuaiYu 阅读(152) 评论(0) 推荐(0)

PLC学习

摘要: 编程线缆 三菱 USB-SC09-FX FX2N/FX1N/FX0N/FX1S/FXOS编程线缆 西门子 6ES7 901-3DB30-0XA0 S7-200 对于源型与漏型的概念,通俗的来讲我们可以根据信号的流入和流出来判断 漏型:信号从PLC内部流出至外面 源型:信号从外面流向至PLC内部 既然 阅读全文
posted @ 2016-02-18 19:17 LongHuaiYu 阅读(413) 评论(0) 推荐(0)

调试扫码枪

摘要: 2016-02-01 将镭射站的扫描枪的参数调整了一下 Expouse Time 90 ------>100Gain 7 ------>11 (二维码没有白底)调整之后的二维码好象比以前的参数情况下要扫描识别率高不少似的。 阅读全文
posted @ 2016-02-01 16:35 LongHuaiYu 阅读(572) 评论(0) 推荐(0)

MySQL中根据A表画更新B表

摘要: Update tTarget a,tSource BSet a.MyName=b.MyNameWhere a.MyID=b.MyID 阅读全文
posted @ 2016-01-24 21:41 LongHuaiYu 阅读(452) 评论(0) 推荐(0)

ConfigurationSettings.AppSettings 已过时

摘要: 转自 “http://blog.csdn.net/jueane/article/details/8502553"警告"System.Configuration.ConfigurationSettings.AppSettings”已过时,解决办法string cnnStr = System.Conf... 阅读全文
posted @ 2016-01-13 14:47 LongHuaiYu 阅读(213) 评论(0) 推荐(0)