-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,253 changed files
with
124,326 additions
and
3,644 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mappFramework/Logical/Infrastructure/Audit/CommonText/Package.pkg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mappFramework/Logical/Infrastructure/Audit/DisplayText/Package.pkg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mappFramework/Logical/Infrastructure/Audit/ExportedText/Package.pkg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 42 additions & 41 deletions
83
mappFramework/Logical/Infrastructure/File/FileMgr/FileMgr.var
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
(*Function Blocks*) | ||
VAR | ||
MpFileManagerUI_0 : MpFileManagerUI; (*MpFileManagerUI instance*) | ||
MpFileManagerUI_FIFO : MpFileManagerUI; (*MpFileManagerUI instance*) | ||
R_TRIG_CheckStatus : R_TRIG; (*Trigger function block*) | ||
TON_Wait : TON; (*FIFO handling support*) | ||
TON_ScanFolder : TON; (*Timer to scan for folder*) | ||
CurrentIndex : UDINT; (*FIFO handling support deleting more then 50 files*) | ||
DirRead_FolderSize : DirRead; (*FIFO handling support reading current folder size*) | ||
END_VAR | ||
(*Constants*) | ||
VAR CONSTANT | ||
MAX_IDX_FILE_DEV : USINT := MAX_IDX_USB_DEV_LIST + 7; (*Maximum number of file devices *) | ||
END_VAR | ||
(*Structure Types*) | ||
VAR | ||
MpFileManagerUIConnect : MpFileManagerUIConnectType; (*File manager connection to the HMI*) | ||
MpFileManagerUIConnect_FIFO : {REDUND_UNREPLICABLE} MpFileManagerUIConnectType; (*File manager connection to the HMI*) | ||
HmiFile : FileHmiInterfaceType; (*HMI interface structure*) | ||
PathCheck : FilePathCheckType; (*Parameter structure controlling the visible file device based on available folders*) | ||
DirectoryData : fiDIR_READ_DATA; (*FIFO handling support reading current folder size*) | ||
END_VAR | ||
(*Variables*) | ||
VAR | ||
i : USINT; (*Index for FOR loops*) | ||
DeviceListCount : USINT; (*Counter for accessible file devices*) | ||
DeviceCount : USINT; (*Counter for available file devices*) | ||
Ident : UDINT; (*Ident of a program on target*) | ||
IdentStatus : UINT; (*Status variable if a program exists on target*) | ||
Index : USINT; (*Index for avaliable devices*) | ||
FolderDepthCount : USINT; (*Keeps track of the folder depth location to determine whether or not the back button should be shown*) | ||
USBOffset : USINT := 0; (*Device list offset where to add USB device*) | ||
MaxDeviceNameIndex : USINT; (*How many devices are configured*) | ||
tempIdx : USINT; (*FIFO handling support index variable*) | ||
FileNameArraySize : USINT; (*FIFO handling support size of the array*) | ||
StartIndex : USINT; (*FIFO handling support *) | ||
Fifo_Count : USINT; (*FIFO handling support current file count*) | ||
END_VAR | ||
VAR RETAIN | ||
FifoSettingsRetain : {REDUND_UNREPLICABLE} FileHmiParaFifoType; (*Store FIFO settings in retain memory to be applied after boot*) | ||
END_VAR | ||
(*Function Blocks*) | ||
VAR | ||
MpFileManagerUI_0 : MpFileManagerUI; (*MpFileManagerUI instance*) | ||
MpFileManagerUI_FIFO : MpFileManagerUI; (*MpFileManagerUI instance*) | ||
R_TRIG_CheckStatus : R_TRIG; (*Trigger function block*) | ||
TON_Wait : TON; (*FIFO handling support*) | ||
TON_ScanFolder : TON; (*Timer to scan for folder*) | ||
CurrentIndex : UDINT; (*FIFO handling support deleting more then 50 files*) | ||
DirRead_FolderSize : DirRead; (*FIFO handling support reading current folder size*) | ||
END_VAR | ||
(*Constants*) | ||
VAR CONSTANT | ||
MAX_IDX_FILE_DEV : USINT := MAX_IDX_USB_DEV_LIST + 7; (*Maximum number of file devices *) | ||
END_VAR | ||
(*Structure Types*) | ||
VAR | ||
MpFileManagerUIConnect : MpFileManagerUIConnectType; (*File manager connection to the HMI*) | ||
MpFileManagerUIConnect_FIFO : {REDUND_UNREPLICABLE} MpFileManagerUIConnectType; (*File manager connection to the HMI*) | ||
HmiFile : FileHmiInterfaceType; (*HMI interface structure*) | ||
PathCheck : FilePathCheckType; (*Parameter structure controlling the visible file device based on available folders*) | ||
DirectoryData : fiDIR_READ_DATA; (*FIFO handling support reading current folder size*) | ||
END_VAR | ||
(*Variables*) | ||
VAR | ||
i : USINT; (*Index for FOR loops*) | ||
DeviceCount : USINT; (*Counter for available file devices*) | ||
Ident : UDINT; (*Ident of a program on target*) | ||
IdentStatus : UINT; (*Status variable if a program exists on target*) | ||
FolderDepthCount : USINT; (*Keeps track of the folder depth location to determine whether or not the back button should be shown*) | ||
USBOffset : USINT := 0; (*Device list offset where to add USB device*) | ||
MaxDeviceNameIndex : USINT; (*How many devices are configured*) | ||
TempIdx : USINT; (*FIFO handling support index variable*) | ||
FileNameArraySize : USINT; (*FIFO handling support size of the array*) | ||
StartIndex : USINT; (*FIFO handling support *) | ||
Fifo_Count : USINT; (*FIFO handling support current file count*) | ||
END_VAR | ||
VAR RETAIN | ||
FifoSettingsRetain : {REDUND_UNREPLICABLE} FileHmiParaFifoType; (*Store FIFO settings in retain memory to be applied after boot*) | ||
END_VAR | ||
VAR | ||
NextOpenIndex : USINT; (*Index for the next open slot in mpFileManagerUICOnnect device list which populates table*) | ||
END_VAR |
Oops, something went wrong.