lihanbo
|
c6d5b7883a
|
105040
添加 MultiWireCoreDataModel 支持及自定义滚动功能
在 `DBHelper.cs` 中初始化 `MultiWireCoreDataModel` 表,并在 `MultiWireCoreDataModel.cs` 中定义其属性。更新项目文件以包含新模型和自定义的 `MyScrollViewer`,重写鼠标滚动事件以改善用户体验。修改 `MultiCoreWireDataModel` 属性,添加新的绝缘相关字段,并在视图模型中实现数据加载和保存逻辑。更新 XAML 文件以使用新的滚动控件。
|
2025-05-06 11:06:39 +08:00 |
lihanbo
|
e40d2ce185
|
105040
增强多芯线模型和视图的功能与稳定性
在 `MultiCoreWireLecDBModel.cs` 中添加了多个新属性,移除旧属性,并增强了文档说明。
在 `ApplicationExt.cs` 中实现了全局异常处理,提升了应用稳定性。
重构 `MultiCoreWireDataModel.cs`,实现数据绑定通知机制,确保 UI 更新及时。
更新 `MultiCoreWireLayoutHelperWindow.xaml` 的样式和数据模板,增强数据可视化。
在 `MultiCoreWireWindow.xaml` 中添加机构信息的绑定,确保用户输入正确。
在 `MultiCoreWireViewModel.cs` 中添加新属性和方法,改进数据处理和导出功能。
重构 `MultiCoreWireLayoutHelperViewModel.cs` 的数据加载逻辑,确保数据一致性和 UI 更新。
|
2025-05-06 09:56:10 +08:00 |
lihanbo
|
27cd690bc6
|
105040
增强多芯线数据模型的灵活性和可扩展性
在 `MultiCoreWireDataModel.cs` 中添加多个新属性以扩展数据模型。删除 `MultiCoreWireLecModel` 类并用 `MultiCoreWireExcelModel` 替换,更新相关引用。修改 `MultiCoreWireTerminalModel.cs` 中 `TerminalStripLength` 属性的类型。更新项目文件以包含新的映射类 `ConnectorHeatShrinkMapping.cs` 和 `WireHeatShrinkMapping.cs`。调整数据绑定和视图模型以适应新的数据结构,确保数据处理逻辑的一致性。
|
2025-05-05 09:06:42 +08:00 |
lihanbo
|
aafcacaeb5
|
105040 Update
更新连接物属性,优化 UI 和数据处理
在 `MultiCoreWireLecDBModel.cs` 中,更新连接物的型号和数量属性,移除后连接物型号,增加后连接物型号和数量属性。
在 `MultiCoreWireDataModel.cs` 中,添加引脚编号属性。
在 `MultiCoreWireLecModel.cs` 中,更新前后连接物的型号和数量属性,移除前端子和后端子的型号属性。
在 `MultiCoreWireWindow.xaml` 中,添加新的 UI 元素以显示连接物数量,并更新数据绑定。
在 `MultiCoreWireWindow.xaml.cs` 中,添加对新属性的处理逻辑。
在 `MultiCoreWireLayoutHelperViewModel.cs` 中,更新服务定义方式,移除不必要的属性。
在 `MultiCoreWireViewModel.cs` 中,添加新属性以支持连接物数量,并更新相关逻辑。
在 `MultiCoreWirePluginEntry.cs` 中,更新窗口显示逻辑,确保登录后正确显示窗口。
新增 `ScrollSynchronizer.cs` 文件,提供同步滚动功能。
|
2025-04-29 14:32:35 +08:00 |
lihanbo
|
4df7a23796
|
105040 Update 完善多芯线选型功能
|
2025-04-25 16:25:45 +08:00 |
lihanbo
|
2572dd0ea6
|
105040 Update 优化多芯线线材选型功能
|
2025-04-24 14:22:46 +08:00 |
lihanbo
|
6630e4c877
|
105040 Update 增加动力线与动力编码器线绝缘软套信息匹配
|
2025-04-24 14:21:42 +08:00 |
lihanbo
|
4212086da1
|
105040 Update 完善多芯线线材选型
|
2025-04-22 14:33:49 +08:00 |
lihanbo
|
90a766d606
|
105040 Update 优化选型界面布局
|
2025-04-14 17:58:45 +08:00 |
lihanbo
|
588679c3a1
|
105040 Update 清理编译警告
|
2025-04-14 10:27:18 +08:00 |
lihanbo
|
dce99c813c
|
105040 Update 优化界面
|
2025-04-14 09:14:39 +08:00 |
lihanbo
|
89a5aa21a2
|
105040 Update 完善多芯线选型界面
|
2025-04-11 17:07:03 +08:00 |
lihanbo
|
d1c511cece
|
105040 Update 添加多芯线选型界面
|
2025-04-11 09:02:48 +08:00 |
lihanbo
|
d8405f4cf6
|
105040 调整伺服电机线界面显示名称
|
2025-04-11 09:02:16 +08:00 |
lihanbo
|
2fa8f8f8aa
|
105040 Update 增加多芯线功能入口
|
2025-04-10 10:20:53 +08:00 |
lihanbo
|
d10a53773e
|
105040 Update 优化登录功能
|
2025-04-10 10:19:41 +08:00 |
lihanbo
|
c3a6219321
|
105040 Add 对接PLM,增加登录功能,记录用户信息
|
2025-04-07 16:18:05 +08:00 |
lihanbo
|
c316b6dd32
|
105040 Update 按功能区分文件夹
|
2025-04-07 09:36:44 +08:00 |
lihanbo
|
6b23a07076
|
105040 Update 增加注释说明
|
2025-04-03 17:30:50 +08:00 |
lihanbo
|
0c17a41ba7
|
105040 Clean code
|
2025-04-03 16:06:54 +08:00 |
lihanbo
|
88378e55c1
|
105040 Clean 清理无用代码
|
2025-04-02 17:38:38 +08:00 |
lihanbo
|
ce5201606a
|
105040 Update 移除高度,隐藏电机唯一标识
|
2025-04-02 17:25:01 +08:00 |
lihanbo
|
d9845c16f0
|
105040 Update 测试方式调整
|
2025-03-28 16:52:27 +08:00 |
lihanbo
|
cde4bc41de
|
105040 Update 增加汇川电机信息,优化多品牌识别逻辑
|
2025-03-28 16:49:31 +08:00 |
lihanbo
|
9f2b30979a
|
105040 Update to 1.0.0.28
更新版本信息并添加 Release_EPLAN_2024 配置
在 `AssemblyInfo.cs` 中将版本更新至 "1.0.0.28"。
为 `Sinvo.EplanHpD.Plugin.Service.csproj` 和 `Sinvo.EplanHpD.Plugin.Test.csproj` 添加了 `Release_EPLAN_2024` 配置的属性组。
在 `Sinvo.EplanHpD.Plugin.WPFUI.csproj` 中支持 `x64` 和 `x86` 平台的输出路径。
简化了 `CableLectotypeUserControl.xaml.cs` 中的 `using` 语句。
更新了 `CableLectotypeViewModel.cs` 中 `CableTypes` 属性的返回逻辑,并添加了异常处理。
在解决方案文件中添加了 `Release_EPLAN_2024` 配置支持。
更新了 `DesignPluginEntry.cs` 中窗口标题以显示版本号和文档名称。
|
2025-02-21 09:53:36 +08:00 |
lihanbo
|
efca568200
|
105040 Update 线材检查使用ID作为标识判断
|
2025-02-20 10:54:07 +08:00 |
lihanbo
|
d7f61b0db3
|
105040 Update 增加第三种直通线选择,可选择的线材种类数量由配置表决定
增加 CableTypeThree 属性及相关处理
在 CableLectotype.cs 文件中增加了 CableTypeThree 属性,并设置了 SugarColumn(IsNullable = true)。
在 MotorLectotypeService.cs 文件中增加了对 CableTypeThree 属性的处理。
在 Sinvo.EplanHpD.Plugin.WPFUI.csproj 文件中增加了对 MotorPassthroughCable.cs 文件的编译包含。
在 MotorExcelHelper.cs 文件中增加了 GetPassthroughCableCount 方法。
在 CableLectotypeUserControl.xaml 文件中修改了 hc:SimpleStackPanel 的 Visibility 绑定属性。
在 CableLectotypeUserControl.xaml.cs 文件中增加了对 EPLAN.Harness.Core.Interfaces 的引用,并在 CableLectotypeViewModel 类中增加了一个实例。
在 CableLectotypeViewModel.cs 文件中增加了对 CableTypeThree 属性的处理,并增加了 _passthroughCableCount 和 IsEnableThreeCableType 属性及其相关逻辑。
在 MotorPassthroughCable.cs 文件中增加了 MotorPassthroughCable 类,用于表示电机直通线数量。
|
2025-02-14 09:22:11 +08:00 |
lihanbo
|
823f8998de
|
Merge branch 'master' of http://192.168.1.144:8859/SinvoCSharp/Sinvo.EplanHpD.Plugin.WireCheck
|
2025-02-13 08:55:20 +08:00 |
lihanbo
|
3d0606a619
|
105040 增加线材检查,段数按照已选择的电机选型数据获取
添加电机线段数获取及第三种线材类型支持
在 `MotorLectotypeService.cs` 文件中,添加了 `GetLineCount` 方法,用于获取电机对应的线段数。
在 `MotorExcelHelper.cs` 文件中,添加了 `#if DEBUG` 和 `#else` 预处理指令,以便在调试模式和发布模式下使用不同的文件路径。
在 `CableLectotypeUserControl.xaml` 文件中,添加了 `BooleanToVisibilityConverter` 资源,并在界面中添加了一个新的 `SimpleStackPanel`,用于显示第三种线材类型的选择。
在 `CableLectotypeViewModel.cs` 文件中,添加了 `CableTypeThree` 属性和 `IsShowThreeCableType` 属性,用于绑定第三种线材类型的选择和显示控制。
在 `LectotypeViewModel.cs` 文件中,添加了对 `MotorLectotypeService` 的引用,并在构造函数中实例化了 `MotorLectotypeService`。在处理电机和线材匹配时,增加了对电机信息的检查和线段数的获取逻辑。
|
2025-02-13 08:55:12 +08:00 |
SINVO\yangshunli
|
a8dcd5bd9c
|
105067 点击部件和管脚能追踪到对应部件
|
2025-02-12 10:15:34 +08:00 |
lihanbo
|
aaa8a77ccc
|
105040 Update 优化安川逻辑,直通线允许选择两种
|
2025-02-11 14:48:15 +08:00 |
lihanbo
|
6465a465ac
|
105040 Update
1. 修复部分情况下导致动力刹车线没有显示长度的问题;
2. 修复布线助手无法回到上一个电机的问题;
3. 修复直通线类型识别问题。
4. 提升版本号到1.0.0.22
|
2025-02-10 16:14:25 +08:00 |
lihanbo
|
8ce1bc5190
|
105040 增加注释,优化逻辑
|
2025-02-10 09:53:41 +08:00 |
lihanbo
|
d5c03a1248
|
添加 IsComplete 属性,更新注释和方法逻辑
在 LectotypeLine.cs 中添加 IsComplete 属性并标记为可空。
在 MotorLectotypeService.cs 中更新映射和 SetColumns 方法。
在 CableLectotypeUserControl.xaml 中修改 CheckBox 绑定和注释 GridViewColumn。
在 LectotypeWindow.xaml.cs 中添加 ToLayout 和 Window_Closing 方法的注释。
在 CableLectotypeViewModel.cs 中更新映射和 LectotypeLineModel。
在 LayoutHelperViewModel.cs 中修改 SetSubLineAndSave 方法逻辑。
在 LectotypeViewModel.cs 中添加多个方法的注释,删除 CheckSaved 方法。
|
2025-02-08 09:41:20 +08:00 |
lihanbo
|
ab5345b1b8
|
105040 Update 优化提示窗口
|
2025-01-24 11:27:31 +08:00 |
lihanbo
|
2870b5ea2a
|
105040 Update 不再使用部件ID作为唯一标识
|
2025-01-24 11:27:14 +08:00 |
lihanbo
|
9d2d6ccb4d
|
105040 Fix 修复开始布线时未能正常开启布线助手窗口的问题
|
2025-01-24 11:25:44 +08:00 |
lihanbo
|
4dd0a7a0c2
|
105040 Fix 修复未成功取消注册事件的问题
|
2025-01-24 11:24:49 +08:00 |
lihanbo
|
ea476590da
|
105040 Update 增加数据丢失提示
|
2025-01-24 08:46:21 +08:00 |
lihanbo
|
860ce040ed
|
105040 Update 关闭窗口时增加提示,未保存电机数据是否丢弃
添加未保存警告窗口及其相关视图模型和消息类
增加了 `LectotypeMessage.cs` 文件:
- 定义了 `LectotypeMessage` 类,继承自 `ValueChangedMessage<Dictionary<string,string>>`。
增加了 `NotSavedWarningViewModel.cs` 文件:
- 定义了 `NotSavedWarningViewModel` 类,实现了 `INotifyPropertyChanged` 和 `IDialogResultable<bool>` 接口。
- 包含 `PropertyChanged` 事件、`OnChange` 方法、`NotSavedLectotypeList` 属性、`Result` 和 `CloseAction` 属性及 `Close` 方法。
增加了 `NotSavedWarningWindow.xaml` 文件:
- 定义了未保存警告窗口的 UI,包括 `Border`、`Grid`、`StackPanel`、`TextBlock`、`ListBox` 和两个按钮。
增加了 `NotSavedWarningWindow.xaml.cs` 文件:
- 定义了 `NotSavedWarningWindow` 类,包含 `ViewModel` 字段、构造函数及按钮点击事件处理方法。
|
2025-01-23 17:06:34 +08:00 |
lihanbo
|
98df216fae
|
105040 Update 不再使用Eplan内部的零件ID,改为使用当前文档的创建时间+轴号作为电机数据保存的唯一标识;
添加电机唯一标识及相关属性和方法
在多个文件中添加了 `MotorUniqueFlag` 属性,并将其设置为可为空。在 `MotorModel.cs` 文件中还添加了 `DocName` 属性。新增了 `GetUniqueFlag` 扩展方法,用于生成电机的唯一标识,并在相关文件中使用该方法。修改了界面显示和方法参数,将“电机ID”替换为“电机唯一标识”。在 `LectotypeManager.cs` 文件中添加了 `CURRENT_DOC_NAME` 和 `CURRENT_DOC_CREATE_TIME` 静态字段。
|
2025-01-22 16:45:50 +08:00 |
lihanbo
|
ea4ad17ad2
|
105040 Update 移除下标变化事件,不再触发自动跳转选中项
|
2025-01-20 17:06:08 +08:00 |
lihanbo
|
526429631f
|
105040 Update 移除扫描项下标的绑定
|
2025-01-20 17:04:56 +08:00 |
lihanbo
|
f25828cce6
|
105040 Update 使用英文符号
|
2025-01-20 17:04:25 +08:00 |
lihanbo
|
0b21021566
|
105040 合并冲突
|
2025-01-20 17:03:35 +08:00 |
lihanbo
|
2e3eb98583
|
105040 Update 增加注释
|
2025-01-20 15:55:43 +08:00 |
SINVO\yangshunli
|
c5a092efed
|
105067 布线详细信息把线材两端的部件带出
|
2025-01-17 09:33:27 +08:00 |
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
|
8342f4dd09
|
105040 Remove 移除未使用的函数;布线助手增加转至电机功能;抓取BOM中型号时增加包含刹车线;
|
2025-01-13 17:18:51 +08:00 |