Skip to content

Commit 4e60785

Browse files
committed
Реализация клиента ModBusTCP. Каркас событий CoreHandler. Уровень готовности - концептуальный. Требуется установка NuGet: System.IO.Ports
1 parent 051bfc0 commit 4e60785

File tree

10 files changed

+73
-73
lines changed

10 files changed

+73
-73
lines changed

EasyModbus/EasyModbus_Net40.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
33
<PropertyGroup>
44
<ProjectGuid>{7657FC4A-AEDF-4F17-B3E9-0D0DFB1CE23B}</ProjectGuid>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<OutputType>Library</OutputType>
88
<RootNamespace>EasyModbus</RootNamespace>
99
<AssemblyName>EasyModbus</AssemblyName>
10-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
10+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1111
<TargetFrameworkProfile>
1212
</TargetFrameworkProfile>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>

EasyModbusAdvancedClient/EasyModbusAdvancedClient.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
33
<PropertyGroup>
44
<ProjectGuid>{3398AAF9-F5A5-4F3B-9A02-14A6B2359DC4}</ProjectGuid>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<OutputType>WinExe</OutputType>
88
<RootNamespace>EasyModbusAdvancedClient</RootNamespace>
99
<AssemblyName>EasyModbusAdvancedClient</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
10+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1111
<TargetFrameworkProfile>
1212
</TargetFrameworkProfile>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>

EasyModbusAdvancedClient/Properties/Resources.Designer.cs

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

EasyModbusAdvancedClient/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

EasyModbusClientExample/EasyModbusClientExample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
33
<PropertyGroup>
44
<ProjectGuid>{9412077F-7DFF-45D0-AFF9-7D5303118EA7}</ProjectGuid>
55
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@@ -8,7 +8,7 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>EasyModbusClientExample</RootNamespace>
1010
<AssemblyName>EasyModbusClientExample</AssemblyName>
11-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1212
<AppDesignerFolder>Properties</AppDesignerFolder>
1313
<TargetFrameworkProfile />
1414
</PropertyGroup>

EasyModbusClientExample/Properties/Resources.Designer.cs

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

EasyModbusClientExample/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
55
</startup>
66
</configuration>

EasyModbusServerSimulator/EasyModbusServerSimulator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
33
<PropertyGroup>
44
<ProjectGuid>{871BD4C1-69F0-45B9-8807-1620E6A896A9}</ProjectGuid>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<OutputType>WinExe</OutputType>
88
<RootNamespace>EasyModbusServerSimulator</RootNamespace>
99
<AssemblyName>EasyModbusServerSimulator</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
10+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1111
<TargetFrameworkProfile>
1212
</TargetFrameworkProfile>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>

0 commit comments

Comments
 (0)