You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docfx/articles/compiler/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
**AXSharp Compiler (`ixc`) translates PLC data structures into C# (PLC .NET Twin), which makes the PLC data available in a structured way for any .NET application.**
4
4
5
+
### Member visibility and generated code behavior
6
+
7
+
AXSharp transpilation now supports members declared as `public`, `protected`, and `internal`.
8
+
9
+
-**Transpilation / twin generation:**`public`, `protected`, and `internal` members can be generated into twin/onliner classes.
10
+
-**Data exchange (Plain/POCO and Shadow mappings):** only `public` members participate in `OnlineToPlain`, `PlainToOnline`, `ShadowToPlain`, `PlainToShadow`, and related `HasChanged` evaluation.
11
+
12
+
This means non-public members can exist in generated twins but are intentionally excluded from Plain/Shadow data-transfer operations.
13
+
5
14
### Adding types and members to the communication over WebAPI
6
15
7
16
Starting from the version v2.0.0+ of `sld`, to make member or type accessible over the communication there is a need to add pragma `{S7.extern=ReadWrite}` or `{S7.extern=ReadOnly}` in the appropriate place in the code.
0 commit comments