├── .github
├── FUNDING.yml
└── workflows
│ └── dotnet-core.yml
├── .gitignore
├── LICENSE
├── README.md
├── Tests
└── PlcProject
│ ├── .gitignore
│ ├── TwinCATDummy.sln
│ └── TwinCATDummy
│ ├── MainPLC
│ ├── DUTs
│ │ ├── User1DUT.TcDUT
│ │ ├── User2DUT.TcDUT
│ │ ├── UserInnerInnerDUT.TcDUT
│ │ └── UserInnerInnerDUTPersistent.TcDUT
│ ├── GVLs
│ │ └── GVL.TcGVL
│ ├── MainPLC.plcproj
│ ├── MainPLC.tmc
│ ├── POUs
│ │ ├── MAIN.TcPOU
│ │ ├── TestFB1.TcPOU
│ │ ├── TestFB1Device.TcPOU
│ │ └── TestFB1DeviceSubdevice.TcPOU
│ └── PlcTask.TcTTO
│ └── TwinCATDummy.tsproj
├── TwinCatAdsTool.Gui
├── App.xaml
├── App.xaml.cs
├── Commands
│ └── ReactiveRelayCommand.cs
├── Converters
│ ├── BoolToVisibilityConverter.cs
│ ├── ConnectionStateToBoolConverter.cs
│ ├── ConnectionStateToIconConverter.cs
│ ├── ConnectionStateToVisibilityConverter.cs
│ ├── DtToDateTimeConverter.cs
│ ├── LTimeToTimeSpanConverter.cs
│ └── TimeToTimeSpanConverter.cs
├── Extensions
│ ├── ReactiveUiExtensions.cs
│ ├── TreeViewModelExtension.cs
│ └── VariableViewModelExtension.cs
├── GuiModuleCatalog.cs
├── Properties
│ ├── Resources.Designer.cs
│ ├── Resources.de.resx
│ └── Resources.resx
├── Resources
│ ├── evopro.png
│ └── twincat.png
├── TwinCatAdsTool.Gui.csproj
├── ViewModelLocator.cs
├── ViewModels
│ ├── BackupViewModel.cs
│ ├── CompareViewModel.cs
│ ├── ConnectionCabViewModel.cs
│ ├── ExploreViewModel.cs
│ ├── GraphViewModel.cs
│ ├── MainWindowViewModel.cs
│ ├── ObserverViewModel.cs
│ ├── RestoreViewModel.cs
│ ├── SearchResult.cs
│ ├── SymbolObservationViewModel.cs
│ ├── TabsViewModel.cs
│ ├── TreeViewModel.cs
│ ├── VariableViewModel.cs
│ └── ViewModelBase.cs
└── Views
│ ├── BackupView.xaml
│ ├── BackupView.xaml.cs
│ ├── CompareView.xaml
│ ├── CompareView.xaml.cs
│ ├── ConnectionCabView.xaml
│ ├── ConnectionCabView.xaml.cs
│ ├── ExploreView.xaml
│ ├── ExploreView.xaml.cs
│ ├── GraphView.xaml
│ ├── GraphView.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── RestoreView.xaml
│ ├── RestoreView.xaml.cs
│ ├── SymbolObservationTemplateSelector.cs
│ ├── TabsView.xaml
│ └── TabsView.xaml.cs
├── TwinCatAdsTool.Interfaces
├── Commons
│ ├── IInitializable.cs
│ ├── IInstanceCreator.cs
│ └── IViewModelFactory.cs
├── Constants.cs
├── Extensions
│ └── DisposableExtensions.cs
├── Logging
│ └── LoggerFactory.cs
├── Models
│ └── NetId.cs
├── Services
│ ├── IClientService.cs
│ ├── IPersistentVariableService.cs
│ └── ISelectionService.cs
└── TwinCatAdsTool.Interfaces.csproj
├── TwinCatAdsTool.Logic
├── LogicModuleCatalog.cs
├── Properties
│ ├── Resources.Designer.cs
│ ├── Resources.de.resx
│ └── Resources.resx
├── Router
│ ├── RemotePlcInfo.cs
│ ├── Request.cs
│ ├── Response.cs
│ ├── ResponseResult.cs
│ └── Segment.cs
├── Services
│ ├── ClientService.cs
│ ├── DeviceFinder.cs
│ ├── IPHelper.cs
│ ├── PersistentVariableService.cs
│ └── SymbolSelectionService.cs
└── TwinCatAdsTool.Logic.csproj
├── TwinCatAdsTool.sln
├── TwinCatAdsTool
├── Program.cs
├── TwinCatAdsTool.csproj
├── log.config
└── twincat.ico
└── docs
└── images
├── evopro.png
├── screenshot1.png
├── screenshot2.png
└── twincat.png
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: fbarresi
4 |
--------------------------------------------------------------------------------
/.github/workflows/dotnet-core.yml:
--------------------------------------------------------------------------------
1 | name: .NET Core Build
2 |
3 | on:
4 | push:
5 | branches:
6 | - develop
7 | - 'features/**'
8 | pull_request:
9 | branches: [ master, develop ]
10 |
11 | jobs:
12 | build:
13 |
14 | runs-on: windows-latest
15 |
16 | steps:
17 | - uses: actions/checkout@v2
18 | - name: Setup .NET Core
19 | uses: actions/setup-dotnet@v1
20 | with:
21 | dotnet-version: 5.0.x
22 | - name: Install dependencies
23 | run: dotnet restore
24 | - name: Build
25 | run: dotnet build --configuration Release --no-restore
26 | - name: Test
27 | run: dotnet test --no-restore --verbosity normal
28 | - name: Publish
29 | run: dotnet publish TwinCatAdsTool\TwinCatAdsTool.csproj -c Release /p:AssemblyVersion=1.2.${{ github.run_number }} /p:FileVersion=1.2.${{ github.run_number }} -o out
30 | - name: Compress
31 | run: Compress-Archive out\TwinCatAdsTool.exe TwinCatAdsTool_v1.2.${{ github.run_number }}.zip
32 | - name: Publish ReadyToRun
33 | run: dotnet publish TwinCatAdsTool\TwinCatAdsTool.csproj -c Release /p:AssemblyVersion=1.2.${{ github.run_number }} /p:FileVersion=1.2.${{ github.run_number }} /p:SelfContained=true /p:PublishReadyToRun=true -o out
34 | - name: Compress ReadyToRun
35 | run: Compress-Archive out\TwinCatAdsTool.exe TwinCatAdsTool_ReadyToRun_v1.2.${{ github.run_number }}.zip
36 | - name: Create Release
37 | id: create_release
38 | uses: actions/create-release@v1
39 | env:
40 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41 | with:
42 | tag_name: 1.2.${{ github.run_number }}
43 | release_name: 1.2.${{ github.run_number }}
44 | draft: false
45 | prerelease: true
46 | - name: Upload
47 | id: upload-release-asset
48 | uses: actions/upload-release-asset@v1
49 | env:
50 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51 | with:
52 | upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
53 | asset_path: TwinCatAdsTool_v1.2.${{ github.run_number }}.zip
54 | asset_name: TwinCatAdsTool_v1.2.${{ github.run_number }}.zip
55 | asset_content_type: application/zip
56 | - name: Upload ReadyToRun
57 | id: upload-release-asset2
58 | uses: actions/upload-release-asset@v1
59 | env:
60 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61 | with:
62 | upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
63 | asset_path: TwinCatAdsTool_ReadyToRun_v1.2.${{ github.run_number }}.zip
64 | asset_name: TwinCatAdsTool_ReadyToRun_v1.2.${{ github.run_number }}.zip
65 | asset_content_type: application/zip
66 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.suo
8 | *.user
9 | *.userosscache
10 | *.sln.docstates
11 |
12 | # User-specific files (MonoDevelop/Xamarin Studio)
13 | *.userprefs
14 |
15 | # Build results
16 | [Dd]ebug/
17 | [Dd]ebugPublic/
18 | [Rr]elease/
19 | [Rr]eleases/
20 | x64/
21 | x86/
22 | bld/
23 | [Bb]in/
24 | [Oo]bj/
25 | [Ll]og/
26 |
27 | # Visual Studio 2015/2017 cache/options directory
28 | .vs/
29 | # Uncomment if you have tasks that create the project's static files in wwwroot
30 | #wwwroot/
31 |
32 | # Visual Studio 2017 auto generated files
33 | Generated\ Files/
34 |
35 | # MSTest test Results
36 | [Tt]est[Rr]esult*/
37 | [Bb]uild[Ll]og.*
38 |
39 | # NUNIT
40 | *.VisualState.xml
41 | TestResult.xml
42 |
43 | # Build Results of an ATL Project
44 | [Dd]ebugPS/
45 | [Rr]eleasePS/
46 | dlldata.c
47 |
48 | # Benchmark Results
49 | BenchmarkDotNet.Artifacts/
50 |
51 | # .NET Core
52 | project.lock.json
53 | project.fragment.lock.json
54 | artifacts/
55 | **/Properties/launchSettings.json
56 |
57 | # StyleCop
58 | StyleCopReport.xml
59 |
60 | # Files built by Visual Studio
61 | *_i.c
62 | *_p.c
63 | *_i.h
64 | *.ilk
65 | *.meta
66 | *.obj
67 | *.iobj
68 | *.pch
69 | *.pdb
70 | *.ipdb
71 | *.pgc
72 | *.pgd
73 | *.rsp
74 | *.sbr
75 | *.tlb
76 | *.tli
77 | *.tlh
78 | *.tmp
79 | *.tmp_proj
80 | *.log
81 | *.vspscc
82 | *.vssscc
83 | .builds
84 | *.pidb
85 | *.svclog
86 | *.scc
87 |
88 | # Chutzpah Test files
89 | _Chutzpah*
90 |
91 | # Visual C++ cache files
92 | ipch/
93 | *.aps
94 | *.ncb
95 | *.opendb
96 | *.opensdf
97 | *.sdf
98 | *.cachefile
99 | *.VC.db
100 | *.VC.VC.opendb
101 |
102 | # Visual Studio profiler
103 | *.psess
104 | *.vsp
105 | *.vspx
106 | *.sap
107 |
108 | # Visual Studio Trace Files
109 | *.e2e
110 |
111 | # TFS 2012 Local Workspace
112 | $tf/
113 |
114 | # Guidance Automation Toolkit
115 | *.gpState
116 |
117 | # ReSharper is a .NET coding add-in
118 | _ReSharper*/
119 | *.[Rr]e[Ss]harper
120 | *.DotSettings.user
121 |
122 | # JustCode is a .NET coding add-in
123 | .JustCode
124 |
125 | # TeamCity is a build add-in
126 | _TeamCity*
127 |
128 | # DotCover is a Code Coverage Tool
129 | *.dotCover
130 |
131 | # AxoCover is a Code Coverage Tool
132 | .axoCover/*
133 | !.axoCover/settings.json
134 |
135 | # Visual Studio code coverage results
136 | *.coverage
137 | *.coveragexml
138 |
139 | # NCrunch
140 | _NCrunch_*
141 | .*crunch*.local.xml
142 | nCrunchTemp_*
143 |
144 | # MightyMoose
145 | *.mm.*
146 | AutoTest.Net/
147 |
148 | # Web workbench (sass)
149 | .sass-cache/
150 |
151 | # Installshield output folder
152 | [Ee]xpress/
153 |
154 | # DocProject is a documentation generator add-in
155 | DocProject/buildhelp/
156 | DocProject/Help/*.HxT
157 | DocProject/Help/*.HxC
158 | DocProject/Help/*.hhc
159 | DocProject/Help/*.hhk
160 | DocProject/Help/*.hhp
161 | DocProject/Help/Html2
162 | DocProject/Help/html
163 |
164 | # Click-Once directory
165 | publish/
166 |
167 | # Publish Web Output
168 | *.[Pp]ublish.xml
169 | *.azurePubxml
170 | # Note: Comment the next line if you want to checkin your web deploy settings,
171 | # but database connection strings (with potential passwords) will be unencrypted
172 | *.pubxml
173 | *.publishproj
174 |
175 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
176 | # checkin your Azure Web App publish settings, but sensitive information contained
177 | # in these scripts will be unencrypted
178 | PublishScripts/
179 |
180 | # NuGet Packages
181 | *.nupkg
182 | # The packages folder can be ignored because of Package Restore
183 | **/[Pp]ackages/*
184 | # except build/, which is used as an MSBuild target.
185 | !**/[Pp]ackages/build/
186 | # Uncomment if necessary however generally it will be regenerated when needed
187 | #!**/[Pp]ackages/repositories.config
188 | # NuGet v3's project.json files produces more ignorable files
189 | *.nuget.props
190 | *.nuget.targets
191 |
192 | # Microsoft Azure Build Output
193 | csx/
194 | *.build.csdef
195 |
196 | # Microsoft Azure Emulator
197 | ecf/
198 | rcf/
199 |
200 | # Windows Store app package directories and files
201 | AppPackages/
202 | BundleArtifacts/
203 | Package.StoreAssociation.xml
204 | _pkginfo.txt
205 | *.appx
206 |
207 | # Visual Studio cache files
208 | # files ending in .cache can be ignored
209 | *.[Cc]ache
210 | # but keep track of directories ending in .cache
211 | !*.[Cc]ache/
212 |
213 | # Others
214 | ClientBin/
215 | ~$*
216 | *~
217 | *.dbmdl
218 | *.dbproj.schemaview
219 | *.jfm
220 | *.pfx
221 | *.publishsettings
222 | orleans.codegen.cs
223 |
224 | # Including strong name files can present a security risk
225 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
226 | #*.snk
227 |
228 | # Since there are multiple workflows, uncomment next line to ignore bower_components
229 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
230 | #bower_components/
231 |
232 | # RIA/Silverlight projects
233 | Generated_Code/
234 |
235 | # Backup & report files from converting an old project file
236 | # to a newer Visual Studio version. Backup files are not needed,
237 | # because we have git ;-)
238 | _UpgradeReport_Files/
239 | Backup*/
240 | UpgradeLog*.XML
241 | UpgradeLog*.htm
242 | ServiceFabricBackup/
243 | *.rptproj.bak
244 |
245 | # SQL Server files
246 | *.mdf
247 | *.ldf
248 | *.ndf
249 |
250 | # Business Intelligence projects
251 | *.rdl.data
252 | *.bim.layout
253 | *.bim_*.settings
254 | *.rptproj.rsuser
255 |
256 | # Microsoft Fakes
257 | FakesAssemblies/
258 |
259 | # GhostDoc plugin setting file
260 | *.GhostDoc.xml
261 |
262 | # Node.js Tools for Visual Studio
263 | .ntvs_analysis.dat
264 | node_modules/
265 |
266 | # Visual Studio 6 build log
267 | *.plg
268 |
269 | # Visual Studio 6 workspace options file
270 | *.opt
271 |
272 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
273 | *.vbw
274 |
275 | # Visual Studio LightSwitch build output
276 | **/*.HTMLClient/GeneratedArtifacts
277 | **/*.DesktopClient/GeneratedArtifacts
278 | **/*.DesktopClient/ModelManifest.xml
279 | **/*.Server/GeneratedArtifacts
280 | **/*.Server/ModelManifest.xml
281 | _Pvt_Extensions
282 |
283 | # Paket dependency manager
284 | .paket/paket.exe
285 | paket-files/
286 |
287 | # FAKE - F# Make
288 | .fake/
289 |
290 | # JetBrains Rider
291 | .idea/
292 | *.sln.iml
293 |
294 | # CodeRush
295 | .cr/
296 |
297 | # Python Tools for Visual Studio (PTVS)
298 | __pycache__/
299 | *.pyc
300 |
301 | # Cake - Uncomment if you are using it
302 | # tools/**
303 | # !tools/packages.config
304 |
305 | # Tabs Studio
306 | *.tss
307 |
308 | # Telerik's JustMock configuration file
309 | *.jmconfig
310 |
311 | # BizTalk build output
312 | *.btp.cs
313 | *.btm.cs
314 | *.odx.cs
315 | *.xsd.cs
316 |
317 | # OpenCover UI analysis results
318 | OpenCover/
319 |
320 | # Azure Stream Analytics local run output
321 | ASALocalRun/
322 |
323 | # MSBuild Binary and Structured Log
324 | *.binlog
325 |
326 | # NVidia Nsight GPU debugger configuration file
327 | *.nvuser
328 |
329 | # MFractors (Xamarin productivity tool) working folder
330 | .mfractor/
331 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Federico Barresi
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #
TwinCatAdsTool
2 |
3 | [](https://github.com/fbarresi/TwinCatAdsTool/actions/workflows/dotnet-core.yml)
4 | The TwinCAT Tool you ever wanted and your lite alternative to visual studio
5 |
6 | ### [Download it now](https://github.com/fbarresi/TwinCatAdsTool/releases/latest)
7 |
8 | ## Features
9 |
10 | - View, save and restore a Backup of all persistent variable
11 | - Compare different backup
12 | - Search, explore or observe the symbols of a plc
13 |
14 |
15 |
16 | ## Requirements
17 |
18 | This software requires Twincat ADS installed.
19 |
20 | In order to get connected with a PLC you also need to setup a route.
21 |
22 | Get more information [here](https://infosys.beckhoff.com/) or [download ADS](https://www.beckhoff.de/english.asp?forms/twincat3/warenkorb2.aspx?id=1890306418903071160&lg=en&title=TC31-ADS-Setup.3.1.4024.4&version=3.1.4024.4).
23 |
24 | ## Credits
25 |
26 | This software was sponsored by
27 |
28 |
29 |
30 | and was realized with [Twincat.JsonExtension](https://github.com/fbarresi/TwinCAT.JsonExtension)
31 |
--------------------------------------------------------------------------------
/Tests/PlcProject/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.sln.docstates
8 |
9 | # Build results
10 | [Dd]ebug/
11 | [Dd]ebugPublic/
12 | [Rr]elease/
13 | [Rr]eleases/
14 | x64/
15 | build/
16 | bld/
17 | [Bb]in/
18 | [Oo]bj/
19 |
20 | # Roslyn cache directories
21 | *.ide/
22 |
23 | # MSTest test Results
24 | [Tt]est[Rr]esult*/
25 | [Bb]uild[Ll]og.*
26 |
27 | #NUNIT
28 | *.VisualState.xml
29 | TestResult.xml
30 |
31 | # Build Results of an ATL Project
32 | [Dd]ebugPS/
33 | [Rr]eleasePS/
34 | dlldata.c
35 |
36 | *_i.c
37 | *_p.c
38 | *_i.h
39 | *.ilk
40 | *.meta
41 | *.obj
42 | *.pch
43 | *.pdb
44 | *.pgc
45 | *.pgd
46 | *.rsp
47 | *.sbr
48 | *.tlb
49 | *.tli
50 | *.tlh
51 | *.tmp
52 | *.tmp_proj
53 | *.log
54 | *.vspscc
55 | *.vssscc
56 | .builds
57 | *.pidb
58 | *.svclog
59 | *.scc
60 |
61 | # Chutzpah Test files
62 | _Chutzpah*
63 |
64 | # Visual C++ cache files
65 | ipch/
66 | *.aps
67 | *.ncb
68 | *.opensdf
69 | *.sdf
70 | *.cachefile
71 |
72 | # Visual Studio profiler
73 | *.psess
74 | *.vsp
75 | *.vspx
76 |
77 | # TFS 2012 Local Workspace
78 | $tf/
79 |
80 | # Guidance Automation Toolkit
81 | *.gpState
82 |
83 | # ReSharper is a .NET coding add-in
84 | _ReSharper*/
85 | *.[Rr]e[Ss]harper
86 | *.DotSettings.user
87 |
88 | # JustCode is a .NET coding addin-in
89 | .JustCode
90 |
91 | # TeamCity is a build add-in
92 | _TeamCity*
93 |
94 | # DotCover is a Code Coverage Tool
95 | *.dotCover
96 |
97 | # NCrunch
98 | _NCrunch_*
99 | .*crunch*.local.xml
100 |
101 | # MightyMoose
102 | *.mm.*
103 | AutoTest.Net/
104 |
105 | # Web workbench (sass)
106 | .sass-cache/
107 |
108 | # Installshield output folder
109 | [Ee]xpress/
110 |
111 | # DocProject is a documentation generator add-in
112 | DocProject/buildhelp/
113 | DocProject/Help/*.HxT
114 | DocProject/Help/*.HxC
115 | DocProject/Help/*.hhc
116 | DocProject/Help/*.hhk
117 | DocProject/Help/*.hhp
118 | DocProject/Help/Html2
119 | DocProject/Help/html
120 |
121 | # Click-Once directory
122 | publish/
123 |
124 | # Publish Web Output
125 | *.[Pp]ublish.xml
126 | *.azurePubxml
127 | ## TODO: Comment the next line if you want to checkin your
128 | ## web deploy settings but do note that will include unencrypted
129 | ## passwords
130 | *.pubxml
131 |
132 | # NuGet Packages
133 | packages/*
134 | *.nupkg
135 | ## TODO: If the tool you use requires repositories.config
136 | ## uncomment the next line
137 | #!packages/repositories.config
138 |
139 | # Enable "build/" folder in the NuGet Packages folder since
140 | # NuGet packages use it for MSBuild targets.
141 | # This line needs to be after the ignore of the build folder
142 | # (and the packages folder if the line above has been uncommented)
143 | !packages/build/
144 |
145 | # Windows Azure Build Output
146 | csx/
147 | *.build.csdef
148 |
149 | # Windows Store app package directory
150 | AppPackages/
151 |
152 | # Others
153 | sql/
154 | *.Cache
155 | ClientBin/
156 | [Ss]tyle[Cc]op.*
157 | ~$*
158 | *~
159 | *.dbmdl
160 | *.dbproj.schemaview
161 | *.pfx
162 | *.publishsettings
163 | node_modules/
164 |
165 | # RIA/Silverlight projects
166 | Generated_Code/
167 |
168 | # Backup & report files from converting an old project file
169 | # to a newer Visual Studio version. Backup files are not needed,
170 | # because we have git ;-)
171 | _UpgradeReport_Files/
172 | Backup*/
173 | UpgradeLog*.XML
174 | UpgradeLog*.htm
175 |
176 | # SQL Server files
177 | *.mdf
178 | *.ldf
179 |
180 | # Business Intelligence projects
181 | *.rdl.data
182 | *.bim.layout
183 | *.bim_*.settings
184 |
185 | # Microsoft Fakes
186 | FakesAssemblies/
187 | *.~u
188 |
189 |
190 | *.compileinfo
191 | *.bak
192 | /*.~u
193 | _Boot
194 | _Boot
195 | _Libraries/
196 | _Deployment
197 | _CompileInfo
198 | TrialLicense.tclrs
199 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # TcXaeShell Solution File, Format Version 11.00
4 | VisualStudioVersion = 15.0.28010.2050
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{B1E792BE-AA5F-4E3C-8C82-674BF9C0715B}") = "TwinCATDummy", "TwinCATDummy\TwinCATDummy.tsproj", "{FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|TwinCAT CE7 (ARMV7) = Debug|TwinCAT CE7 (ARMV7)
11 | Debug|TwinCAT OS (ARMT2) = Debug|TwinCAT OS (ARMT2)
12 | Debug|TwinCAT RT (x64) = Debug|TwinCAT RT (x64)
13 | Debug|TwinCAT RT (x86) = Debug|TwinCAT RT (x86)
14 | Release|TwinCAT CE7 (ARMV7) = Release|TwinCAT CE7 (ARMV7)
15 | Release|TwinCAT OS (ARMT2) = Release|TwinCAT OS (ARMT2)
16 | Release|TwinCAT RT (x64) = Release|TwinCAT RT (x64)
17 | Release|TwinCAT RT (x86) = Release|TwinCAT RT (x86)
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
21 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
22 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
23 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
24 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
25 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
26 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
27 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
28 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
29 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
30 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
31 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
32 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
33 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
34 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
35 | {FB210DFE-7BE8-49D7-9CA5-CC0A1090C72A}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
36 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
37 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
38 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
39 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
40 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
41 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
42 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
43 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
44 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
45 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
46 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
47 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
48 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
49 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
50 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
51 | {43BCB400-F6AB-43C5-93E9-C1BEACBEAAB3}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
52 | EndGlobalSection
53 | GlobalSection(SolutionProperties) = preSolution
54 | HideSolutionNode = FALSE
55 | EndGlobalSection
56 | GlobalSection(ExtensibilityGlobals) = postSolution
57 | SolutionGuid = {7C065B52-19E4-4DF6-B90F-5A1EE58F24AD}
58 | EndGlobalSection
59 | EndGlobal
60 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/DUTs/User1DUT.TcDUT:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/DUTs/User2DUT.TcDUT:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/DUTs/UserInnerInnerDUT.TcDUT:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/DUTs/UserInnerInnerDUTPersistent.TcDUT:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/GVLs/GVL.TcGVL:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
24 |
25 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/MainPLC.plcproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1.0.0.0
4 | 2.0
5 | {43bcb400-f6ab-43c5-93e9-c1beacbeaab3}
6 | True
7 | true
8 | true
9 | false
10 | MainPLC
11 | 3.1.4024.12
12 | {4af4fc67-911e-4f54-8bd3-fd4cb53b58b3}
13 | {1e02c0a7-0807-47ec-8ba4-43533fedec80}
14 | {401fc747-d8bd-4bd3-a7ee-fd560a5a6775}
15 | {0ea0a5f1-6c83-49f2-bd31-5072ac08cd4e}
16 | {cebca137-69c6-4c29-aa65-6407f9c6dac5}
17 | {9b04bfe7-a898-4f26-8044-e06a9388721b}
18 |
19 |
20 |
21 | Code
22 |
23 |
24 | Code
25 |
26 |
27 | Code
28 |
29 |
30 | Code
31 |
32 |
33 | Code
34 | true
35 |
36 |
37 | Code
38 |
39 |
40 | Code
41 |
42 |
43 | Code
44 |
45 |
46 | Code
47 |
48 |
49 | Code
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 | Tc2_Standard, * (Beckhoff Automation GmbH)
61 | Tc2_Standard
62 |
63 |
64 | Tc2_System, * (Beckhoff Automation GmbH)
65 | Tc2_System
66 |
67 |
68 | Tc2_Utilities, * (Beckhoff Automation GmbH)
69 | Tc2_Utilities
70 |
71 |
72 | Tc3_Module, * (Beckhoff Automation GmbH)
73 | Tc3_Module
74 |
75 |
76 |
77 |
78 | Content
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 | "<ProjectRoot>"
87 |
88 | {40450F57-0AA3-4216-96F3-5444ECB29763}
89 |
90 | "{40450F57-0AA3-4216-96F3-5444ECB29763}"
91 |
92 |
93 | ActiveVisuProfile
94 | IR0whWr8bwfwBwAAiD2qpQAAAABVAgAA37x72QAAAAABAAAAAAAAAAEaUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwACTHsAZgA5ADUAYgBiADQAMgA2AC0ANQA1ADIANAAtADQAYgA0ADUALQA5ADQAMAAwAC0AZgBiADAAZgAyAGUANwA3AGUANQAxAGIAfQADCE4AYQBtAGUABDBUAHcAaQBuAEMAQQBUACAAMwAuADEAIABCAHUAaQBsAGQAIAA0ADAAMgA0AC4ANwAFFlAAcgBvAGYAaQBsAGUARABhAHQAYQAGTHsAMQA2AGUANQA1AGIANgAwAC0ANwAwADQAMwAtADQAYQA2ADMALQBiADYANQBiAC0ANgAxADQANwAxADMAOAA3ADgAZAA0ADIAfQAHEkwAaQBiAHIAYQByAGkAZQBzAAhMewAzAGIAZgBkADUANAA1ADkALQBiADAANwBmAC0ANABkADYAZQAtAGEAZQAxAGEALQBhADgAMwAzADUANgBhADUANQAxADQAMgB9AAlMewA5AGMAOQA1ADgAOQA2ADgALQAyAGMAOAA1AC0ANAAxAGIAYgAtADgAOAA3ADEALQA4ADkANQBmAGYAMQBmAGUAZABlADEAYQB9AAoOVgBlAHIAcwBpAG8AbgALBmkAbgB0AAwKVQBzAGEAZwBlAA0KVABpAHQAbABlAA4aVgBpAHMAdQBFAGwAZQBtAE0AZQB0AGUAcgAPDkMAbwBtAHAAYQBuAHkAEAxTAHkAcwB0AGUAbQARElYAaQBzAHUARQBsAGUAbQBzABIwVgBpAHMAdQBFAGwAZQBtAHMAUwBwAGUAYwBpAGEAbABDAG8AbgB0AHIAbwBsAHMAEyhWAGkAcwB1AEUAbABlAG0AcwBXAGkAbgBDAG8AbgB0AHIAbwBsAHMAFCRWAGkAcwB1AEUAbABlAG0AVABlAHgAdABFAGQAaQB0AG8AcgAVIlYAaQBzAHUATgBhAHQAaQB2AGUAQwBvAG4AdAByAG8AbAAWFHYAaQBzAHUAaQBuAHAAdQB0AHMAFwxzAHkAcwB0AGUAbQAYGFYAaQBzAHUARQBsAGUAbQBCAGEAcwBlABkmRABlAHYAUABsAGEAYwBlAGgAbwBsAGQAZQByAHMAVQBzAGUAZAAaCGIAbwBvAGwAGyJQAGwAdQBnAGkAbgBDAG8AbgBzAHQAcgBhAGkAbgB0AHMAHEx7ADQAMwBkADUAMgBiAGMAZQAtADkANAAyAGMALQA0ADQAZAA3AC0AOQBlADkANAAtADEAYgBmAGQAZgAzADEAMABlADYAMwBjAH0AHRxBAHQATABlAGEAcwB0AFYAZQByAHMAaQBvAG4AHhRQAGwAdQBnAGkAbgBHAHUAaQBkAB8WUwB5AHMAdABlAG0ALgBHAHUAaQBkACBIYQBmAGMAZAA1ADQANAA2AC0ANAA5ADEANAAtADQAZgBlADcALQBiAGIANwA4AC0AOQBiAGYAZgBlAGIANwAwAGYAZAAxADcAIRRVAHAAZABhAHQAZQBJAG4AZgBvACJMewBiADAAMwAzADYANgBhADgALQBiADUAYwAwAC0ANABiADkAYQAtAGEAMAAwAGUALQBlAGIAOAA2ADAAMQAxADEAMAA0AGMAMwB9ACMOVQBwAGQAYQB0AGUAcwAkTHsAMQA4ADYAOABmAGYAYwA5AC0AZQA0AGYAYwAtADQANQAzADIALQBhAGMAMAA2AC0AMQBlADMAOQBiAGIANQA1ADcAYgA2ADkAfQAlTHsAYQA1AGIAZAA0ADgAYwAzAC0AMABkADEANwAtADQAMQBiADUALQBiADEANgA0AC0ANQBmAGMANgBhAGQAMgBiADkANgBiADcAfQAmFk8AYgBqAGUAYwB0AHMAVAB5AHAAZQAnVFUAcABkAGEAdABlAEwAYQBuAGcAdQBhAGcAZQBNAG8AZABlAGwARgBvAHIAQwBvAG4AdgBlAHIAdABpAGIAbABlAEwAaQBiAHIAYQByAGkAZQBzACgQTABpAGIAVABpAHQAbABlACkUTABpAGIAQwBvAG0AcABhAG4AeQAqHlUAcABkAGEAdABlAFAAcgBvAHYAaQBkAGUAcgBzACs4UwB5AHMAdABlAG0ALgBDAG8AbABsAGUAYwB0AGkAbwBuAHMALgBIAGEAcwBoAHQAYQBiAGwAZQAsEnYAaQBzAHUAZQBsAGUAbQBzAC1INgBjAGIAMQBjAGQAZQAxAC0AZAA1AGQAYwAtADQAYQAzAGIALQA5ADAANQA0AC0AMgAxAGYAYQA3ADUANgBhADMAZgBhADQALihJAG4AdABlAHIAZgBhAGMAZQBWAGUAcgBzAGkAbwBuAEkAbgBmAG8AL0x7AGMANgAxADEAZQA0ADAAMAAtADcAZgBiADkALQA0AGMAMwA1AC0AYgA5AGEAYwAtADQAZQAzADEANABiADUAOQA5ADYANAAzAH0AMBhNAGEAagBvAHIAVgBlAHIAcwBpAG8AbgAxGE0AaQBuAG8AcgBWAGUAcgBzAGkAbwBuADIMTABlAGcAYQBjAHkAMzBMAGEAbgBnAHUAYQBnAGUATQBvAGQAZQBsAFYAZQByAHMAaQBvAG4ASQBuAGYAbwA0MEwAbwBhAGQATABpAGIAcgBhAHIAaQBlAHMASQBuAHQAbwBQAHIAbwBqAGUAYwB0ADUaQwBvAG0AcABhAHQAaQBiAGkAbABpAHQAeQDQAAIaA9ADAS0E0AUGGgfQBwgaAUUHCQjQAAkaBEUKCwQDAAAABQAAAA0AAAAAAAAA0AwLrQIAAADQDQEtDtAPAS0Q0AAJGgRFCgsEAwAAAAUAAAANAAAAKAAAANAMC60BAAAA0A0BLRHQDwEtENAACRoERQoLBAMAAAAFAAAADQAAAAAAAADQDAutAgAAANANAS0S0A8BLRDQAAkaBEUKCwQDAAAABQAAAA0AAAAUAAAA0AwLrQIAAADQDQEtE9APAS0Q0AAJGgRFCgsEAwAAAAUAAAANAAAAAAAAANAMC60CAAAA0A0BLRTQDwEtENAACRoERQoLBAMAAAAFAAAADQAAAAAAAADQDAutAgAAANANAS0V0A8BLRDQAAkaBEUKCwQDAAAABQAAAA0AAAAAAAAA0AwLrQIAAADQDQEtFtAPAS0X0AAJGgRFCgsEAwAAAAUAAAANAAAAKAAAANAMC60EAAAA0A0BLRjQDwEtENAZGq0BRRscAdAAHBoCRR0LBAMAAAAFAAAADQAAAAAAAADQHh8tINAhIhoCRSMkAtAAJRoFRQoLBAMAAAADAAAAAAAAAAoAAADQJgutAAAAANADAS0n0CgBLRHQKQEtENAAJRoFRQoLBAMAAAADAAAAAAAAAAoAAADQJgutAQAAANADAS0n0CgBLRHQKQEtEJoqKwFFAAEC0AABLSzQAAEtF9AAHy0t0C4vGgPQMAutAQAAANAxC60XAAAA0DIarQDQMy8aA9AwC60CAAAA0DELrQMAAADQMhqtANA0Gq0A0DUarQA=
95 |
96 |
97 | {192FAD59-8248-4824-A8DE-9177C94C195A}
98 |
99 | "{192FAD59-8248-4824-A8DE-9177C94C195A}"
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 | System.Collections.Hashtable
109 | {54dd0eac-a6d8-46f2-8c27-2f43c7e49861}
110 | System.String
111 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/POUs/MAIN.TcPOU:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
20 |
21 | fileTime.dwLowDateTime, timeHiDW=>fileTime.dwHighDateTime );
26 | GVL.DatetimeUTC := FILETIME_TO_DT(fileTime);
27 | fbToLocal( in := fileTime, tzInfo := WEST_EUROPE_TZI );
28 | GVL.Datetime := FILETIME_TO_DT( fbToLocal.out );
29 | GVL.ActualDate := DT_TO_DATE(GVL.Datetime);
30 | GVL.ActualTime := DT_TO_TIME(GVL.Datetime);
31 | GVL.ActualLTime := TIME_TO_LTIME(GVL.ActualTime);]]>
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/POUs/TestFB1.TcPOU:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
21 |
22 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/POUs/TestFB1Device.TcPOU:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/POUs/TestFB1DeviceSubdevice.TcPOU:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/MainPLC/PlcTask.TcTTO:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 10000
6 | 20
7 |
8 | MAIN
9 |
10 | {99a9352c-1710-4941-9e01-2ecaeb84328e}
11 | {70ccc488-6c79-4c36-8200-5623a8ba5c1e}
12 | {ad51be9b-15b7-449c-a801-4fce87db1f5e}
13 | {608552c4-40dc-4965-bddf-d245b88555ca}
14 | {6d9f1bc3-5d5a-4ceb-b93a-7c83366092d3}
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Tests/PlcProject/TwinCATDummy/TwinCATDummy.tsproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | PlcTask
9 |
10 |
11 |
12 |
13 |
14 |
15 | MainPLC Instance
16 | {08500001-0000-0000-F000-000000000064}
17 |
18 |
19 | 0
20 | PlcTask
21 |
22 | #x02010030
23 |
24 | 20
25 | 10000000
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/TwinCatAdsTool.Gui/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
16 |
17 |
20 |
21 |
24 |
25 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/TwinCatAdsTool.Gui/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Linq;
3 | using System.Windows;
4 |
5 | namespace TwinCatAdsTool.Gui
6 | {
7 | ///
8 | /// Interaction logic for App.xaml
9 | ///
10 | public partial class App : Application
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/TwinCatAdsTool.Gui/Commands/ReactiveRelayCommand.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Reactive.Subjects;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 | using System.Windows.Input;
9 |
10 | namespace TwinCatAdsTool.Gui.Commands
11 | {
12 | public class ReactiveRelayCommand : ICommand
13 | {
14 | private readonly Action