随笔分类 -  上位机

上位机开发
摘要:使用场景很多,只要是要创建文件就要。所以写了一个。以后到处用就是了。 /// <summary> /// 根据path递规创建文件夹 /// </summary> /// <param name="filePath"></param> /// <returns></returns> public s 阅读全文
posted @ 2023-09-14 13:58 baivfhpwxf 阅读(51) 评论(0) 推荐(0) 编辑
摘要:#region DMC3000系列重写 /// <summary> /// 雷赛板卡 AxisDMC3000 /// </summary> public class DMC3000 : AxisModel { public DMC3000() { } /// <summary> /// 回零 /// 阅读全文
posted @ 2023-09-10 18:09 baivfhpwxf 阅读(1072) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 联营板卡 /// </summary> public class UWC : AxisModel { //public UWC() { } public UWC() { } public override bool Home() { double speed = 阅读全文
posted @ 2023-09-10 18:06 baivfhpwxf 阅读(29) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 压力 传感器 /// </summary> public class ForceSensor { private static SerialPort _serialPort = new SerialPort(); /// <summary> /// 初始化参数 / 阅读全文
posted @ 2023-09-10 17:58 baivfhpwxf 阅读(70) 评论(0) 推荐(0) 编辑
摘要:1.关闭系统防火墙 2.小心360 3.扫码枪有话也去掉 阅读全文
posted @ 2023-09-05 12:11 baivfhpwxf 阅读(295) 评论(0) 推荐(0) 编辑
摘要:联营板卡 工具类 /// <summary> /// 联营板卡 /// </summary> public class UWC7000 { //与uwc7000建立连接,并初始化控制器参数 [DllImport("UWC7000.dll", EntryPoint = "uwc7000_initial 阅读全文
posted @ 2023-08-31 10:53 baivfhpwxf 阅读(22) 评论(0) 推荐(0) 编辑
摘要:雷赛板卡工具类,先记录一下还有优化空间 优化方向: 1.抽象出接口 2.抽象出一个基类 3.不同厂家的板卡不同实现。这样在使用时就简单了。 #region DMC3000系列重写 /// <summary> /// 雷赛板卡 /// </summary> public class DMC3000 : 阅读全文
posted @ 2023-08-31 10:48 baivfhpwxf 阅读(136) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示