Skip to content

Commit

Permalink
修复支持最新modBus beta包
Browse files Browse the repository at this point in the history
  • Loading branch information
猿人易 committed Dec 14, 2023
1 parent 8d7ce64 commit 4a780df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NewLife.Schneider/Drivers/SchneiderDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SchneiderDriver : ModbusTcpDriver, ILogFeature, ITracerFeature
/// <param name="device"></param>
/// <param name="parameters"></param>
/// <returns></returns>
public override INode Open(IDevice device, IDictionary<String, Object> parameters)
public override INode Open(IDevice device, IDriverParameter parameters)
{
var modbusNode = base.Open(device, parameters);
if (modbusNode is ModbusNode node && Modbus != null)
Expand Down
6 changes: 3 additions & 3 deletions NewLife.Schneider/NewLife.Schneider.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="1.8.2023.511" />
<PackageReference Include="NewLife.Modbus" Version="1.6.2023.511" />
<PackageReference Include="NewLife.IoT" Version="2.0.2023.1212-beta0413" />
<PackageReference Include="NewLife.Modbus" Version="1.8.2023.1212-beta0414" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4a780df

Please sign in to comment.