From 2addea3c1750b8929a45fbd7b98797e5a03248a0 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 22 Jun 2024 19:08:27 +0200 Subject: [PATCH] Add project files. --- LibS7Adv.csproj | 21 +++ LibS7Adv.sln | 25 +++ PLCControl.xaml | 44 +++++ PLCControl.xaml.cs | 34 ++++ PLCViewModel.cs | 434 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 558 insertions(+) create mode 100644 LibS7Adv.csproj create mode 100644 LibS7Adv.sln create mode 100644 PLCControl.xaml create mode 100644 PLCControl.xaml.cs create mode 100644 PLCViewModel.cs diff --git a/LibS7Adv.csproj b/LibS7Adv.csproj new file mode 100644 index 0000000..6ece5ae --- /dev/null +++ b/LibS7Adv.csproj @@ -0,0 +1,21 @@ + + + + net8.0-windows + enable + true + enable + + + + + + + + + + C:\Program Files (x86)\Common Files\Siemens\PLCSIMADV\API\6.0\Siemens.Simatic.Simulation.Runtime.Api.x64.dll + + + + diff --git a/LibS7Adv.sln b/LibS7Adv.sln new file mode 100644 index 0000000..ed81cce --- /dev/null +++ b/LibS7Adv.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.34928.147 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibS7Adv", "LibS7Adv.csproj", "{02E544B3-E0CE-41E1-9A8D-2E5952E7956A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {02E544B3-E0CE-41E1-9A8D-2E5952E7956A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {02E544B3-E0CE-41E1-9A8D-2E5952E7956A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {02E544B3-E0CE-41E1-9A8D-2E5952E7956A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {02E544B3-E0CE-41E1-9A8D-2E5952E7956A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {515ED789-204D-4870-889B-B4DED80646D9} + EndGlobalSection +EndGlobal diff --git a/PLCControl.xaml b/PLCControl.xaml new file mode 100644 index 0000000..ea1ea6d --- /dev/null +++ b/PLCControl.xaml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + +