- 博客(15)
- 资源 (5)
- 收藏
- 关注
原创 【无标题】 Modbus 通讯并读取写入寄存器地址信息
HistoryHelper.SaveErrorLog("写入数据【" + Address + "】写入【" + value + "】");HistoryHelper.SaveErrorLog("写入数据出现错误:"+ ex.ToString());HistoryHelper.SaveErrorLog("Modbus2 连接成功400:"+ RegisterValue);HistoryHelper.SaveErrorLog("Modbus连接成功");/// 寄存器地址写入。
2023-09-08 14:40:22
498
1
原创 导出表格table hteml内容到excel
导出表格table hteml内容到excelfunction exportFile(objid, title) { //获取表格 var exportFileContent = document.getElementById(objid).outerHTML; exportFileContent = exportFileContent.replace(/<table/g, '<table border="1px"'); //设置格式为Excel,表格内容通过...
2021-04-01 14:54:19
183
原创 vs 在调试的时候无法编辑问题
-==============vs 在调试的时候无法编辑问题==================1. 设置为 dubug 模式2. 去掉 调试》选项》调试》常规中“使用托管兼容模式”3 勾选 调试》选项》调试》常规中“编辑并继续”这个选项 。4 去掉 调试》选项》调试》常规中“要求源文件与原始版本完全匹配”。5 勾选 调试》选项》调试》常规中“一个进程中断时则中断所有进程”。...
2021-02-25 15:09:30
2110
原创 .net core 服务器环境搭建
1. 服务器安装iis2 安装 .dotnet-sdk-3.1.404-win-x64.exe3 安装dotnet-hosting-3.1.10-win.exe ( iis里必须有AspNetCoreModule )
2020-11-30 16:49:05
692
原创 SharpCompress 解决压缩的中文乱码问题
public bool SaveZipFile() { string strSaveDir = Directory.GetCurrentDirectory() + "\\wwwroot\\QRCodeImg\\"; SharpCompress.Common.ArchiveEncoding ArchiveEncoding = new SharpCompress.Common.ArchiveEncoding(); Sharp...
2020-09-10 16:51:18
1210
原创 地图 api 涉及倒县及镇 村等
相关资料:软件:BIGEMAPhttp://www.bigemap.com/introduce.htmlhttp://geojson.io/http://datav.aliyun.com/tools/atlas/#&lat=31.769817845138945&lng=104.29901249999999&zoom=3
2020-07-02 09:16:12
259
转载 SVN 清理失败解决方案
找到上述的隐藏文件夹“.svn”,找到里面的“wc.db”,用sqlite或navicat打开后,删除里面的“work_queue”表中的记录(或执行语句“delete from work_queue”);再重新清理发现可以清理了。
2020-05-22 09:18:18
519
原创 判断小于1024为手机端
$(function () { if (screen.width < 1024) { var url = "/m" + window.location.pathname + window.location.search; window.location.href = url; $(locatio...
2020-03-01 08:21:35
142
原创 Excel 调用vba宏导出
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.IO;using NPOI.SS.UserModel;using System.Data;...
2019-06-14 14:12:34
1589
1
原创 C# 读写XML类 适合各种config 以及自定义配置
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml; ///...
2018-12-27 09:04:07
1135
原创 简单 Excel 的导入导出 (通过 NPOI)
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Data;using System.Data.SqlClient;using System.Configuration;using Newtonsoft.Jso...
2018-12-24 12:14:19
275
转载 过滤器
name:{{ name }} reverse name:{{ name | reverse }} reverse&uppercase name:{{ name | reverse:true }} var myAppModule = angular.module("myApp",[]);
2017-03-29 10:57:09
197
转载 html5+css3实现上拉和下拉刷新
html5+css3实现上拉和下拉刷新var myScroll,pullDownEl, pullDownOffset,pullUpEl, pullUpOffset,generatedCount = 0;function pullDownAction () {setTimeout(function () {// var el,
2017-03-28 13:31:16
1814
仿window10UI界面-master.zip
2020-07-15
word 转换为pdf进行预览
2019-12-05
麒麟系统服务器搭建.netCore站点说明文档v1.0.docx
2019-11-27
C# 错误日志历史记录的实现
2018-12-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人