Commit Graph

209 Commits

Author SHA1 Message Date
SINVO\yangshunli e4320a34e9 105067 调整窗口位置 2025-01-15 10:58:23 +08:00
SINVO\yangshunli 6bed559bfe 105067 add线材两端管脚信息窗口 2025-01-15 09:40:04 +08:00
lihanbo a598f5f352 Merge branch 'master' of http://192.168.1.144:8859/SinvoCSharp/Sinvo.EplanHpD.Plugin.WireCheck 2025-01-13 17:19:36 +08:00
lihanbo 8342f4dd09 105040 Remove 移除未使用的函数;布线助手增加转至电机功能;抓取BOM中型号时增加包含刹车线; 2025-01-13 17:18:51 +08:00
lihanbo b7b763a20e 105040 Remove 移除未使用的函数 2025-01-13 17:16:53 +08:00
lihanbo cbda1c9f8f 105040 Update 增加更新线为已完成功能 2025-01-13 17:16:02 +08:00
lihanbo 86bb90145f 105040 Update 使用标准化部服务器 2025-01-13 17:13:07 +08:00
lihanbo 9718aaf44f 105040 Add 插件更新手册 2025-01-13 17:12:30 +08:00
lihanbo 5a8652457c Merge branch 'master' of http://192.168.1.144:8859/SinvoCSharp/Sinvo.EplanHpD.Plugin.WireCheck 2025-01-13 11:22:51 +08:00
lihanbo e825595117 105040 Update 调整选择线段类型逻辑 2025-01-13 11:22:45 +08:00
SINVO\yangshunli d7dbc3c872 105067 扫描器增加长度 .线两头管脚属性 2025-01-13 09:36:58 +08:00
lihanbo 5d8eb5d05a 105040 Update 调整线材资料排序方式 2025-01-11 12:29:50 +08:00
lihanbo 9a76f9e60a 105040 Fix 窗口关闭时注销事件的错误 2025-01-11 12:29:08 +08:00
lihanbo 4fec37dfb1 105040 Update 调整使用的符号为全角符号 2025-01-11 12:27:26 +08:00
lihanbo 3da2dd39bf 105040 Update 伺服电机线材抓取增加安川逻辑 2025-01-10 14:41:51 +08:00
lihanbo c25035284f 105040 Update 线材类型从线型号名中判断获取 2024-12-23 12:06:32 +08:00
lihanbo ec7916db1d 105040 Update 增加DLL引用;不再复制引用DLL到目标路径 2024-12-23 12:05:54 +08:00
lihanbo 4b2f449a97 105040 Update 不再使用json转换;增加DEBUG标记判断,方便调试 2024-12-23 12:05:05 +08:00
lihanbo 5b11cae2cd 105040 Fix 动力刹车线逻辑 2024-12-23 12:04:21 +08:00
lihanbo 9ffe8c8080 105040 Update 使用共享盘获取数据;修改Sheet名为外部品牌参数传入 2024-12-23 12:02:05 +08:00
lihanbo d6bfc21127 105040 Update 复制时增加全局提示;布线助手界面增加插入电缆按钮; 2024-12-23 12:01:16 +08:00
lihanbo 844e10040e 105040 Update 不再使用json保存 2024-12-23 11:59:41 +08:00
lihanbo 5a89a88437 105040 Update 添加CableLectotypeId绑定 2024-12-23 11:58:44 +08:00
lihanbo 8e1612b873 105040 Update 添加默认值 2024-12-23 11:58:23 +08:00
lihanbo 32f3bc54b5 105040 Update 将Service移动到WPFUI包中 2024-12-23 11:57:55 +08:00
lihanbo c257842321 105040 Fix 修复Enum.IsDefined无法正确判断的问题 2024-12-23 11:57:20 +08:00
lihanbo adfc11b82d 105040 Update 增加表结构 2024-12-23 11:56:17 +08:00
lihanbo 7c26e343a6 105040 Update 增加窗口开启逻辑,不允许同时开启多个窗口 2024-12-23 11:55:20 +08:00
lihanbo 8e7e3a4cba 105040 Update 增加引用DLL 2024-12-23 11:54:41 +08:00
lihanbo 10410dcee2 105040 Clean code 2024-12-17 15:16:37 +08:00
lihanbo d5465df3ae 105040 Update 优化查找电机功能,使用Tag传值 2024-12-17 15:15:51 +08:00
lihanbo 59a74a1c17 105040 Update 注册提示区域,增加按钮事件复制内容 2024-12-17 15:15:12 +08:00
lihanbo a885412c9f 105040 Update 优化读取Excel逻辑 2024-12-17 15:14:25 +08:00
lihanbo f65a13f180 105040 Update 添加提示位置,优化按钮与布局 2024-12-17 15:12:41 +08:00
lihanbo bbd32fa7d8 105040 Update 移除非必要的函数调用 2024-12-17 15:12:01 +08:00
lihanbo abeb99c94b 105040 Update 使用默认主键 2024-12-17 15:11:33 +08:00
lihanbo bd4063346c 105040 Update 优化选中线检查逻辑 2024-12-17 15:10:32 +08:00
lihanbo e979379045 105040 Update 调整提示等级,改为警告 2024-12-17 15:09:47 +08:00
lihanbo 394427a193 105040 Update 处理电机型号 2024-12-17 15:09:07 +08:00
lihanbo 19e04eb3ed 105040 优化与完善功能实现
重构和功能增强

删除了无用的注释和文件,添加了新的属性和方法,调整了窗口布局和视图模型引用。具体更改包括:
- 删除 `MotorModel.cs` 中 `_motorPower` 的 `inheritdoc` 注释。
- `ScanCableModel.cs` 中添加 `Id` 属性及其私有字段 `_id`。
- 更新 `Sinvo.EplanHpD.Plugin.WPFUI.csproj`,删除 `Utils\DrawPDFHelper.cs` 和 `Utils\MessageSend.cs` 的编译引用,添加 `ViewModel\LayoutHelperViewModel.cs` 的编译引用,并添加 `KissStudio.DotNetDetour` 包的引用。
- 删除 `DrawPDFHelper.cs` 和 `MessageSend.cs` 文件内容。
- `LayoutHelperWindow.xaml` 中增加 `viewmodel` 命名空间引用,调整窗口高度和最小高度,设置 `d:DataContext`,并在窗口加载时调用 `GlowWindow_Loaded` 方法,修改部分 `TextBlock` 和 `ListView` 的内容绑定。
- `LayoutHelperWindow.xaml.cs` 中添加 `LayoutHelperViewModel` 的引用,并在构造函数中初始化 `viewModel`,设置 `DataContext`,在 `OnInit` 方法中调用 `GetMotorCables`,添加 `GlowWindow_Loaded`、`PrevBtn_Click` 和 `NextBtn_Click` 方法。
- `LectotypeWindow.xaml.cs` 中修改 `StartLayoutBtn_Click` 方法,传递 `motorIds` 给 `LayoutHelperWindow` 的构造函数。
- `ScannerViewModel.cs` 中添加 `Id` 属性的赋值,修改 `PerformSearch` 方法以根据 `Imprint` 进行搜索,添加 `ToSourceById` 方法用于根据 `occId` 定位线缆。
- 在 `DesignPluginEntry.cs`、`PluginEntry.cs` 和 `ScanPluginEntry.cs` 中添加 `Sinvo.EplanHpD.Plugin.WPFUI.Extension` 的引用。
- 新增 `LayoutHelperViewModel.cs` 文件,定义 `LayoutHelperViewModel` 类及其相关属性和方法,用于处理电机和线缆的选择和切换逻辑。
2024-12-10 17:02:58 +08:00
lihanbo 3bab55aff6 105040 Rename CableLectotypeWindow -> CableLectotypeUserControl 2024-12-05 14:38:54 +08:00
lihanbo bfb9d9b880 105040 Clear code 2024-12-05 14:37:31 +08:00
lihanbo 7bcddb1702 105040 优化界面显示效果 2024-12-05 14:15:08 +08:00
lihanbo 01ce9d436a 105040 增加布线助手窗口 2024-12-04 14:21:35 +08:00
lihanbo 698c23fcdb 105040 优化界面样式 2024-12-03 16:10:44 +08:00
lihanbo 2740456d41 105040 增加数据库保存,优化界面 2024-12-03 11:50:36 +08:00
lihanbo 870faf37a9 105040 优化电机线材选型页面 2024-12-02 11:02:52 +08:00
lihanbo 4ffa6d478a 105040 Add 扫码器插件 2024-12-02 09:28:54 +08:00
lihanbo 6818840420 105040 测试版本,增加功能与优化,调整了数据源 2024-11-26 10:34:31 +08:00
lihanbo b7591e9cb2 105040 Update 优化滚动效果 2024-11-26 10:33:07 +08:00