lihanbo
|
2572dd0ea6
|
105040 Update 优化多芯线线材选型功能
|
2025-04-24 14:22:46 +08:00 |
lihanbo
|
3728e855a1
|
105040 Fix 部分情况下电机数据无法保存的问题
|
2025-04-03 17:31:17 +08:00 |
lihanbo
|
d9845c16f0
|
105040 Update 测试方式调整
|
2025-03-28 16:52:27 +08:00 |
lihanbo
|
9e3e71a4ca
|
105040 Update 更新安川电机逻辑,750W以下功率不生成前段线
更新程序集版本,添加新方法和类
更新了 `AssemblyInfo.cs` 文件中的程序集版本号至 `1.0.0.26`。
在 `MotorLectotypeService.cs` 文件中添加了 `SetLineDone` 方法。
在 `Sinvo.EplanHpD.Plugin.WPFUI.csproj` 文件中添加了 `MotorPowerModel.cs` 文件的编译包含项。
在 `MotorExcelHelper.cs` 文件中添加了 `GetMotorPower` 方法,用于获取电机功率。
在 `CableLectotypeViewModel.cs` 文件中进行了多处修改,包括修正逻辑、初始化 `LectotypeList`、根据电机功率决定前段线、排序并重新设置序号。
在 `Sinvo.EplanHpD.Plugin.csproj` 文件中更新了多个配置的输出路径。
添加了 `MotorPowerModel.cs` 文件,定义了 `MotorPowerModel` 类,用于表示电机功率。
|
2025-02-14 15:40:43 +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
|
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 |
lihanbo
|
6465a465ac
|
105040 Update
1. 修复部分情况下导致动力刹车线没有显示长度的问题;
2. 修复布线助手无法回到上一个电机的问题;
3. 修复直通线类型识别问题。
4. 提升版本号到1.0.0.22
|
2025-02-10 16:14:25 +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
|
2870b5ea2a
|
105040 Update 不再使用部件ID作为唯一标识
|
2025-01-24 11:27:14 +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
|
cbda1c9f8f
|
105040 Update 增加更新线为已完成功能
|
2025-01-13 17:16:02 +08:00 |
lihanbo
|
e825595117
|
105040 Update 调整选择线段类型逻辑
|
2025-01-13 11:22:45 +08:00 |
lihanbo
|
32f3bc54b5
|
105040 Update 将Service移动到WPFUI包中
|
2024-12-23 11:57:55 +08:00 |