Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/Conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ These library projects use exclusively Structured Test (ST) language.
--------
| Block type | Notation | Prefix | Example |
| :------------- | :--------- | :------------ | :--------------------------------------------------- |
| FB/CLASS name | PascalCase | ```fb``` | ```fbCyclinder``` |
| ENUM type name | PascalCase | ```e, enum``` | ```enumMachineState.Start or eMachineState.Start``` |
| FB/CLASS name | PascalCase | NoPrefix | ```Cyclinder``` |
| ENUM type name | PascalCase | NoPrefix | ```MachineState.Start``` |
| INTERFACE name | PascalCase | ```I``` | ```ICyclinder``` |
| FUNCTION name | PascalCase | ```f``` | ```fAdd()``` |
| STRUCT name | PascalCase | ```st``` | ```stData``` |
| UNION name | PascalCase | ```u``` | ```uControl``` |
| FUNCTION name | PascalCase | NoPrefix | ```Add()``` |
| STRUCT name | PascalCase | NoPrefix | ```Data``` |
| UNION name | PascalCase | NoPrefix | ```Control``` |



Expand All @@ -50,7 +50,7 @@ These library projects use exclusively Structured Test (ST) language.
| METHOD name | PascalCase | NoPrefix | ```MoveToWork()``` |
| METHOD arguments | camelCase | NoPrefix | ```targetPosition : LREAL``` |
| PROPERTY name | PascalCase | NoPrefix | ```IsEnabled``` |
| INTERFACE name | PascalCase | ```ip``` | ```ipCyclinder``` |
| INTERFACE name | PascalCase | NoPrefix | ```Cyclinder``` |
| REFERENCE name Declaration | camelCase | ```ref``` | ```refDrive``` |
| POINTER Declaration | camelCase | ```p``` | ```pCyclinder``` |

Expand Down