feat: MachineBridge 추가 및 fetch API를 HostObject 호출로 전환

- WebView2 HostObject 기반 MachineBridge 브릿지 클래스 추가
  - MachineBridge.cs (메인), Login, Dashboard, Todo, Common, Jobreport, Kuntae, Project 모듈
- WebSocketServer.cs 추가 (실시간 통신용)
- fDashboardNew 다이얼로그 추가
- Jobreport/index.html, Project/index.html의 fetch API를 machine HostObject 호출로 전환
- DashBoardController.cs의 gcode null 처리 추가
- 사용하지 않는 파일 삭제 (navigation.html, common-nav.js, navigation.js, _add_to_project.py, _project_updater.js)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
backuppc
2025-11-25 16:06:35 +09:00
parent f0d46b7cb1
commit 44af041d1a
24 changed files with 2622 additions and 1454 deletions

View File

@@ -259,6 +259,12 @@
<Compile Include="Dialog\fCommon.Designer.cs">
<DependentUpon>fCommon.cs</DependentUpon>
</Compile>
<Compile Include="Dialog\fDashboardNew.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialog\fDashboardNew.Designer.cs">
<DependentUpon>fDashboardNew.cs</DependentUpon>
</Compile>
<Compile Include="Dialog\fHolyday.cs">
<SubType>Form</SubType>
</Compile>
@@ -424,6 +430,14 @@
<Compile Include="Web\Controllers\ResultController.cs" />
<Compile Include="Web\Controllers\SettingController.cs" />
<Compile Include="Web\Controllers\TodoController.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Login.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Dashboard.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Todo.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Common.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Jobreport.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Kuntae.cs" />
<Compile Include="Web\MachineBridge\MachineBridge.Project.cs" />
<Compile Include="Web\Model\PageModel.cs" />
<Compile Include="Web\Model\ProjectModel.cs" />
<Compile Include="Web\Model\TodoModel.cs" />
@@ -432,6 +446,7 @@
<Compile Include="Settings.cs" />
<Compile Include="SqlServerTypes\Loader.cs" />
<Compile Include="StateMachine\ReportUserData.cs" />
<Compile Include="Web\WebSocketServer.cs" />
<Compile Include="_Common\fADSUserList.cs">
<SubType>Form</SubType>
</Compile>
@@ -495,6 +510,9 @@
<EmbeddedResource Include="Dialog\fCommon.resx">
<DependentUpon>fCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialog\fDashboardNew.resx">
<DependentUpon>fDashboardNew.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialog\fHolyday.resx">
<DependentUpon>fHolyday.cs</DependentUpon>
</EmbeddedResource>
@@ -686,9 +704,6 @@
<None Include="Web\wwwroot\js\common-navigation.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Web\wwwroot\js\navigation.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Web\wwwroot\js\tailwind-config.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
@@ -707,9 +722,6 @@
<None Include="Web\wwwroot\Jobreport\index.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Web\wwwroot\js\common-nav.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Web\wwwroot\Kuntae\index.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>