2025年6月12日/AuxAllWCS/Build/Project/AuxAllWCS.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
2025年6月12日/AuxAllWCS/Build/Project/代码/VS自定义类/AutoThread.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
2025年6月12日/AuxAllWCS/Build/Project/代码/VS自定义类/TcpServer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
2025年6月12日/AuxAllWCS/Build/Project/界面/View1.xaml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/AuxAllWCS.csproj
@@ -194,10 +194,14 @@ <DependentUpon>App.xaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Include="çé¢\views2.xaml.cs"> <DependentUpon>views2.xaml</DependentUpon> </Compile> <Page Include="çé¢\View1.xaml"> <Generator>MSBuild:Compile</Generator> <SubType>Designer</SubType> </Page> <Compile Include="代ç \VSèªå®ä¹ç±»\NotifyProperty.cs" /> <Compile Include="çé¢\View1.xaml.cs"> <DependentUpon>View1.xaml</DependentUpon> <SubType>Code</SubType> @@ -213,6 +217,10 @@ <Compile Include="代ç \VSèªå®ä¹ç±»\TcpServer.cs" /> <Compile Include="代ç \VSèªå®ä¹ç±»\AutoThread.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Page Include="çé¢\views2.xaml"> <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> </Page> </ItemGroup> <ItemGroup> <None Include="App.config" /> 2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/VS×Ô¶¨ÒåÀà/AutoThread.cs
@@ -1539,6 +1539,7 @@ } public void Thread2030Down(Tag tag) { Console.WriteLine($"SA2030 ä»»å¡ç¶æï¼ =====>"); Console.WriteLine($"SA2030 ä»»å¡ç¶æï¼{tag.SA2030.RtaskState}- 空é²{tag.SA2030.R5空é²} - barcode:{tag.SA2030.Ræçç }"); } 2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/VS×Ô¶¨ÒåÀà/TcpServer.cs
@@ -115,15 +115,18 @@ //} //else //{ Console.WriteLine($"ãTCPä¿¡æ¯åè®®å¼å¸¸ {DateTime.Now.Millisecond}ãï¼IPï¼{remote_ip},MSGï¼{message}"); Console.WriteLine($"ãTCPä¿¡æ¯åè®® {DateTime.Now.Millisecond}ãï¼IPï¼{remote_ip},MSGï¼{message}"); var mg = Encoding.ASCII.GetString(PlcHelper.Hex2Bin(message)); Console.WriteLine(mg); if (mg.StartsWith("DK") && mg.Trim().Length == "DK01000024".Length) { LogHelper.Info($"æ«ç å¨ >{remote_ip} -{mg}"); if(TrayIps.TryGetValue(remote_ip,out string traycode)) { TrayIps[remote_ip] = traycode; }else TrayIps.Add(remote_ip, traycode); } else TrayIps.Add(remote_ip, traycode); Console.WriteLine("TOFF"); var mst = PlcHelper.Hex2Bin("544F4646"); TcpServer.TcpServerSend(remote_ip, mst); 2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/½çÃæ/View1.xaml
@@ -1,5 +1,6 @@ <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="640" Height="480" x:Class="GZ.Projects.AuxAllWCS.View1" xmlns:local="clr-namespace:GZ.Projects.AuxAllWCS"> <Canvas> <Label Width="86" Height="25" Canvas.Left="31" Canvas.Top="172" /> <TextBlock Text="å·å·å·"/> </Canvas> </Window>