lixun 2 anos atrás
pai
commit
d6bc240553

+ 2 - 1
src/YSAI.DAQ/YSAI.Test/TestAll.cs

@@ -8,6 +8,7 @@ using YSAI.Opc.da.client;
 using YSAI.Unility;
 using static YSAI.Core.reflection.ReflectionData;
 using static YSAI.Core.reflection.ReflectionData.Basics.DllData.NamespaceData;
+using YSAI.Core.@interface.only;
 
 namespace YSAI.Test
 {
@@ -131,7 +132,7 @@ namespace YSAI.Test
         [TestMethod]
         public async Task OPCDA客户端测试()
         {
-            //请先打开DA服务端模拟器1
+            //请先打开DA服务端模拟器
 
             Server[]? servers = OpcDaClientOperate.GetServersArray(Specification.COM_DA_10);
             Console.WriteLine();

+ 1 - 1
src/YSAI.DAQ/YSAI.Test/YSAI.Test.csproj

@@ -7,7 +7,7 @@
 
     <IsPackable>false</IsPackable>
     <IsTestProject>true</IsTestProject>
-    <PlatformTarget>AnyCPU</PlatformTarget>
+    <PlatformTarget>x86</PlatformTarget>
   </PropertyGroup>
 
   <ItemGroup>