105040 Update 按功能区分文件夹

This commit is contained in:
lihanbo 2025-04-07 09:36:44 +08:00
parent c50e00a24c
commit c316b6dd32
23 changed files with 47 additions and 20 deletions

View File

@ -1 +1,14 @@
# Sinvo.EplanHpD.Plugin # # EPLAN Harness proD 2.9 线材检查插件说明
## 1. 插件功能
- 线材检查插件用于检查线材的端子、颜色、线径等信息是否符合要求。
- 检查后会在界面中显示检查结果,并提供导出功能。
- 提供导出下单表功能,直接按模板导出下单表。
- 右键直接可跳转3D中线的位置。
## 2. 插件使用说明
- 插件使用前需要先安装EPLAN Harness proD 2.9版本。
- ![alt text](eplan_about.png)
- 插件分为单芯线扫描装配、单芯线线材检查与伺服电机选型三部分,其中单芯线线材检查与伺服电机选型为同一版本文件,单芯线扫描装配为单独版本文件。
- 插件数据源均使用共享盘192.168.1.160中excel文件除单芯线扫描装配外其余功能无法在无局域网情况下使用。

View File

@ -279,35 +279,36 @@
<Compile Include="Utils\LectotypeLineModelExt.cs" /> <Compile Include="Utils\LectotypeLineModelExt.cs" />
<Compile Include="Utils\LectotypeManager.cs" /> <Compile Include="Utils\LectotypeManager.cs" />
<Compile Include="Utils\MotorExcelHelper.cs" /> <Compile Include="Utils\MotorExcelHelper.cs" />
<Compile Include="ViewModel\CableLectotypeViewModel.cs" /> <Compile Include="ViewModel\CableLectotype\CableLectotypeViewModel.cs" />
<Compile Include="ViewModel\LayoutHelperViewModel.cs" /> <Compile Include="ViewModel\CableLectotype\LayoutHelperViewModel.cs" />
<Compile Include="ViewModel\LectotypeViewModel.cs" /> <Compile Include="ViewModel\CableLectotype\LectotypeViewModel.cs" />
<Compile Include="ViewModel\MainViewModel.Check.cs" /> <Compile Include="ViewModel\LoginViewModel.cs" />
<Compile Include="ViewModel\MainViewModel.cs" /> <Compile Include="ViewModel\WireCheck\MainViewModel.Check.cs" />
<Compile Include="ViewModel\ScannerViewModel.cs" /> <Compile Include="ViewModel\WireCheck\MainViewModel.cs" />
<Compile Include="View\CableLectotypeUserControl.xaml.cs"> <Compile Include="ViewModel\Scanner\ScannerViewModel.cs" />
<Compile Include="View\CableLectotype\CableLectotypeUserControl.xaml.cs">
<DependentUpon>CableLectotypeUserControl.xaml</DependentUpon> <DependentUpon>CableLectotypeUserControl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\Dialog\NotSavedWarningViewModel.cs" /> <Compile Include="View\Dialog\NotSavedWarningViewModel.cs" />
<Compile Include="View\Dialog\NotSavedWarningWindow.xaml.cs"> <Compile Include="View\Dialog\NotSavedWarningWindow.xaml.cs">
<DependentUpon>NotSavedWarningWindow.xaml</DependentUpon> <DependentUpon>NotSavedWarningWindow.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\LayoutHelperWindow.xaml.cs"> <Compile Include="View\CableLectotype\LayoutHelperWindow.xaml.cs">
<DependentUpon>LayoutHelperWindow.xaml</DependentUpon> <DependentUpon>LayoutHelperWindow.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\LectotypeWindow.xaml.cs"> <Compile Include="View\CableLectotype\LectotypeWindow.xaml.cs">
<DependentUpon>LectotypeWindow.xaml</DependentUpon> <DependentUpon>LectotypeWindow.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\LoginWindow.xaml.cs"> <Compile Include="View\LoginWindow.xaml.cs">
<DependentUpon>LoginWindow.xaml</DependentUpon> <DependentUpon>LoginWindow.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\MainWindow.xaml.cs"> <Compile Include="View\WireCheck\MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon> <DependentUpon>MainWindow.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\ScannerInfo.xaml.cs"> <Compile Include="View\Scanner\ScannerInfo.xaml.cs">
<DependentUpon>ScannerInfo.xaml</DependentUpon> <DependentUpon>ScannerInfo.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="View\ScannerWindow.xaml.cs"> <Compile Include="View\Scanner\ScannerWindow.xaml.cs">
<DependentUpon>ScannerWindow.xaml</DependentUpon> <DependentUpon>ScannerWindow.xaml</DependentUpon>
</Compile> </Compile>
<Page Include="TestWindow.xaml"> <Page Include="TestWindow.xaml">
@ -318,7 +319,7 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="View\CableLectotypeUserControl.xaml"> <Page Include="View\CableLectotype\CableLectotypeUserControl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@ -326,11 +327,11 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="View\LayoutHelperWindow.xaml"> <Page Include="View\CableLectotype\LayoutHelperWindow.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="View\LectotypeWindow.xaml"> <Page Include="View\CableLectotype\LectotypeWindow.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
@ -338,15 +339,15 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="View\MainWindow.xaml"> <Page Include="View\WireCheck\MainWindow.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Include="View\ScannerInfo.xaml"> <Page Include="View\Scanner\ScannerInfo.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="View\ScannerWindow.xaml"> <Page Include="View\Scanner\ScannerWindow.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sinvo.EplanHpD.Plugin.WPFUI.ViewModel
{
internal class LoginViewModel
{
}
}

View File

@ -93,7 +93,8 @@ namespace Sinvo.EplanHpD.Plugin
Consts.InitConfigs(); Consts.InitConfigs();
#if DEBUG #if DEBUG
var client = new DynaServerClient(); var client = new DynaServerClient();
client.Login("105040", "blank", "ADMINISTRATOR", "ADMINISTRATOR", "EPLAN"); // PLM 没有EPLAN的许可所以只能使用SOLW的类型登录
client.Login("105040", "blank", "ADMINISTRATOR", "ADMINISTRATOR", "SOLW");
#endif #endif
} }
} }

BIN
eplan_about.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB