lihanbo
|
2572dd0ea6
|
105040 Update 优化多芯线线材选型功能
|
2025-04-24 14:22:46 +08:00 |
lihanbo
|
6b23a07076
|
105040 Update 增加注释说明
|
2025-04-03 17:30:50 +08:00 |
lihanbo
|
78c2ba4261
|
105040 Update 增加异常提示
|
2025-03-29 11:39:45 +08:00 |
lihanbo
|
7df12edf99
|
105040 Update 切换SheetName统一使用电机功率表
|
2025-03-28 16:50:47 +08:00 |
lihanbo
|
3df1f55513
|
105040 Clear 注释
|
2025-03-10 17:24:00 +08:00 |
lihanbo
|
5bd68a7fba
|
105040 更新版本信息并重构配置管理
在 `AssemblyInfo.cs` 中更新版本号至 `1.0.0.29` 和 `1.0.0.30`。
在 `Consts.cs` 中添加对 `Newtonsoft.Json` 的引用,重构常量为静态字段,并实现 `InitConfigs` 方法以支持从 JSON 配置文件读取路径。
在 `MotorExcelHelper.cs` 中更新数据文件路径引用,修改 `SaveLinesToExcel` 方法以接受新的参数。
在 `LayoutHelperViewModel.cs` 和 `LectotypeViewModel.cs` 中更新电机电缆获取逻辑和保存线材的方法签名。
在 `DesignPluginEntry.cs` 和 `PluginEntry.cs` 中调用 `Consts.InitConfigs()` 初始化配置。
|
2025-03-08 13:35:41 +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
|
3da2dd39bf
|
105040 Update 伺服电机线材抓取增加安川逻辑
|
2025-01-10 14:41:51 +08:00 |
lihanbo
|
9ffe8c8080
|
105040 Update 使用共享盘获取数据;修改Sheet名为外部品牌参数传入
|
2024-12-23 12:02:05 +08:00 |
lihanbo
|
a885412c9f
|
105040 Update 优化读取Excel逻辑
|
2024-12-17 15:14:25 +08:00 |
lihanbo
|
6818840420
|
105040 测试版本,增加功能与优化,调整了数据源
|
2024-11-26 10:34:31 +08:00 |
lihanbo
|
4d856bbfe5
|
105040 使用共享盘中的资料
|
2024-11-16 08:43:06 +08:00 |
lihanbo
|
a0f401aad6
|
105040 多芯线数据抓取优化,导出、右键跳转、图纸与BOM查看
|
2024-11-14 19:22:25 +08:00 |
lihanbo
|
1d394780a7
|
105040 从3D中抓取多芯线数据
|
2024-11-13 13:39:06 +08:00 |