Closed klauer closed 2 years ago
Closes #288
@ghalym discovered this which I summarized in #288
Project is an overloaded tag in TwinCAT XML files. It can be:
Project
TcSmProject
.tsproj
TopLevelProject
Plc
.plcproj
PlcProject
Safety
SafetyPlc
This PR adds support for the last option.
@ghalym reports that this fixed her issue. Unless I can find another project with a Safety PLC in it to test with, I think this is good enough for now.
Context
Closes #288
@ghalym discovered this which I summarized in #288
Background
Project
is an overloaded tag in TwinCAT XML files. It can be:TcSmProject
.tsproj
root nodeTopLevelProject
.tsproj
underTcSmProject
Plc
.tsproj
Project
inside aPlc
node underneath aTopLevelProject
Plc
TcSmProject
/TopLevelProject
/Plc
.plcproj
project ->PlcProject
.plcproj
file referenced viaTcSmProject
/TopLevelProject
/Plc
Safety
node) ->SafetyPlc
TcSmProject
/TopLevelProject
/Safety
Project
container that is pretty much ignored in pytmcChanges
This PR adds support for the last option.