09 2023 档案

摘要:小马虎在计算123乘一个一位数时,把123错看成128,所得的结果比正确的结果大20,正确的结果是什么? internal class Program { static void Main(string[] args) { //小马虎在计算123乘一个一位数时,把123错看成128, //所得的结果 阅读全文
posted @ 2023-09-20 13:46 baivfhpwxf 阅读(796) 评论(0) 推荐(0) 编辑
摘要:使用场景很多,只要是要创建文件就要。所以写了一个。以后到处用就是了。 /// <summary> /// 根据path递规创建文件夹 /// </summary> /// <param name="filePath"></param> /// <returns></returns> public s 阅读全文
posted @ 2023-09-14 13:58 baivfhpwxf 阅读(51) 评论(0) 推荐(0) 编辑
摘要:在XAML前端代码中,找到Binding的字段,加上属性 {Binding CreateTime,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'} <DataGridTemplateColumn Header="创建时间" > <DataGridTemplateCo 阅读全文
posted @ 2023-09-12 20:05 baivfhpwxf 阅读(493) 评论(0) 推荐(0) 编辑
摘要:1.电气工程师连接好所有硬件和控制板卡 2.上位机开发工程师安装相关板卡驱动程序。 这时会在设备管理器里看到添加的设备。(雷赛板卡有两个设备,如图) 3.打开板卡程序调试各个轴的参数。3.1 基本设置3.1.1脉冲模式:用来设置正方向运动的方式。 3.2 速度很简单就不说了。一开始测试时要慢点。小心 阅读全文
posted @ 2023-09-12 17:18 baivfhpwxf 阅读(616) 评论(0) 推荐(0) 编辑
摘要:Locator 一般是自动 生成的。但有时候就是没有生成出来。 Locator 是配置在App.xaml文件中的代码如下。 <Application x:Class="SZCLKJ.Weld.App.App" xmlns="http://schemas.microsoft.com/winfx/200 阅读全文
posted @ 2023-09-12 17:13 baivfhpwxf 阅读(17) 评论(0) 推荐(0) 编辑
摘要:SignalR.Core 消息推送实例 public class ChatHub : Hub { private string _className = "ChatHub"; //private System.Threading.Timer timer = null; private System. 阅读全文
posted @ 2023-09-10 18:32 baivfhpwxf 阅读(38) 评论(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) 编辑

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