摘要: 模拟发送:{"op":"UpdateDeviceStatus","monitor":{"File":"true","Smoke":"true"}}获取命令:{"op":"GetMessage","issuccess":null,"context":{}}服务端返回命令:"{"op":null,"is... 阅读全文
posted @ 2015-06-28 12:50 Probably 阅读(4460) 评论(0) 推荐(0)
摘要: 1---XAML布局的设计 3层嵌套 2---绘制显示的表格 11x21 for (int i = 0; i <=10; i++) { ... 阅读全文
posted @ 2015-06-28 12:13 Probably 阅读(470) 评论(0) 推荐(0)
摘要: 1---EXCEL文件的创建与写入 private void btnStack_Click(object sender, RoutedEventArgs e) { Microsoft.Office.Interop.Excel.Application ... 阅读全文
posted @ 2015-06-28 11:46 Probably 阅读(536) 评论(0) 推荐(0)
摘要: 1---保存XML文档 private void btnSave_Click(object sender, RoutedEventArgs e) { XmlDocument MyXmlDocument = new XmlDocument(); ... 阅读全文
posted @ 2015-06-28 11:36 Probably 阅读(363) 评论(0) 推荐(0)
摘要: 1---线程 (1)创建线程------》 其中threading 要放到窗口加载事件 中 AutoResetEvent _auto = new AutoResetEvent(false); bool _isstop = true; //默认线程是关闭的,等待执行的! ... 阅读全文
posted @ 2015-06-28 11:16 Probably 阅读(455) 评论(0) 推荐(0)
摘要: 1---图片通过CGI获取保存到本地 snapshot.cgi快照的意思。 (1)cgi保存 public string Address = "http://192.168.58.4/snapshot.cgi/user=admin&pwd="; public void PaiZhao(... 阅读全文
posted @ 2015-06-28 10:10 Probably 阅读(2430) 评论(0) 推荐(0)