diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml
index b96a35e..7d5bc4e 100644
--- a/.github/workflows/publish-beta.yml
+++ b/.github/workflows/publish-beta.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.Schneider/NewLife.Schneider.csproj
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index c9b0745..2f2503d 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -15,7 +15,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.Schneider/NewLife.Schneider.csproj
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c1e31e2..284c05d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Build
run: dotnet build -c Release
diff --git a/NewLife.Schneider/Drivers/SchneiderDriver.cs b/NewLife.Schneider/Drivers/SchneiderDriver.cs
index bccb730..97d13a0 100644
--- a/NewLife.Schneider/Drivers/SchneiderDriver.cs
+++ b/NewLife.Schneider/Drivers/SchneiderDriver.cs
@@ -14,11 +14,11 @@ public class SchneiderDriver : ModbusTcpDriver, ILogFeature, ITracerFeature
{
/// 建立连接,打开驱动
///
- ///
+ ///
///
- public override INode Open(IDevice device, IDriverParameter parameters)
+ public override INode Open(IDevice device, IDriverParameter parameter)
{
- var modbusNode = base.Open(device, parameters);
+ var modbusNode = base.Open(device, parameter);
if (modbusNode is ModbusNode node && Modbus != null)
{
Modbus.Open();
diff --git a/NewLife.Schneider/NewLife.Schneider.csproj b/NewLife.Schneider/NewLife.Schneider.csproj
index 6bc50a6..3f410da 100644
--- a/NewLife.Schneider/NewLife.Schneider.csproj
+++ b/NewLife.Schneider/NewLife.Schneider.csproj
@@ -44,7 +44,7 @@
-
+
diff --git a/Test/Test.csproj b/Test/Test.csproj
index e3f336f..b741c8b 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net8.0
enable
enable