First minimal version
This commit is contained in:
82
Properties/Default.tpl
Normal file
82
Properties/Default.tpl
Normal file
@@ -0,0 +1,82 @@
|
||||
-- Designer --
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="tchmi-html-designer">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{TITLE}}</title>
|
||||
<!-- target-densitydpi=device-dpi -->
|
||||
<meta name="viewport" content="{{METAVIEWPORT}}">
|
||||
<script>
|
||||
TCHMI_ENGINEERING = true;
|
||||
TCHMI_DESIGNER = true;
|
||||
TCHMI_CONFIG_OVERRIDE = {
|
||||
"basePath": "{{BASEURL}}",
|
||||
"tcHmiServer": {
|
||||
"websocketOverwrite": {
|
||||
"host": "{{SERVER_HOST}}",
|
||||
"port": {{SERVER_PORT}}
|
||||
},
|
||||
"websocketIntervalTime": 200
|
||||
}
|
||||
};
|
||||
|
||||
window.onload = function load() {
|
||||
if ((!('TcHmi' in window) || !window.TcHmi.System) && document.body) {
|
||||
document.body.style.background = '#C8C8C8';
|
||||
document.body.innerHTML = 'TwinCAT HMI Framework could not be loaded.';
|
||||
}
|
||||
window.onload = null;
|
||||
};
|
||||
</script>
|
||||
{{GLOBAL_JS_INCLUDES}}
|
||||
</head>
|
||||
<body class="tchmi-body-designer">
|
||||
{{VIEWLEVEL}}
|
||||
</body>
|
||||
</html>
|
||||
-- /Designer --
|
||||
|
||||
-- LiveView_and_Build --
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright (C) {{YEAR}} {{COMPANYNAME}}
|
||||
For any information visit: {{COMPANYWEBSITE}}
|
||||
|
||||
Deployment
|
||||
+++++++++++++++++++++++++++
|
||||
Version: {{VERSION}}
|
||||
Date: {{DATE}}, Time: {{TIME}}
|
||||
-->
|
||||
<html lang="en" class="tchmi-html-runtime">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{TITLE}}</title>
|
||||
<!-- target-densitydpi=device-dpi -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="google" content="notranslate">
|
||||
<meta name="viewport" content="{{METAVIEWPORT}}">
|
||||
<link rel="manifest" crossorigin="use-credentials" href="Properties/tchmimanifest.json">
|
||||
<link rel="icon" href="Images/Favicon.ico">
|
||||
{{GLOBAL_JS_INCLUDES}}
|
||||
<script>
|
||||
window.onload = function load() {
|
||||
if ((!('TcHmi' in window) || !window.TcHmi.System) && document.body) {
|
||||
document.body.style.background = '#C8C8C8';
|
||||
document.body.innerHTML = 'TwinCAT HMI Framework could not be loaded.';
|
||||
if(!("Promise" in window)){
|
||||
document.body.innerHTML += ' A more modern web browser (which supports ES6 JavaScript) is needed.';
|
||||
}
|
||||
}
|
||||
window.onload = null;
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="tchmi-body-runtime">
|
||||
<noscript style="font-size: large; padding: 50px;">
|
||||
TwinCAT HMI needs to execute JavaScript Code in the browser.
|
||||
Please enable JavaScript in this browser to use the HMI.
|
||||
</noscript>
|
||||
{{VIEWLEVEL}}
|
||||
</body>
|
||||
</html>
|
||||
-- /LiveView_and_Build --
|
||||
13486
Properties/tchmi.framework.Schema.json
Normal file
13486
Properties/tchmi.framework.Schema.json
Normal file
File diff suppressed because it is too large
Load Diff
4
Properties/tchmi.project.Schema.json
Normal file
4
Properties/tchmi.project.Schema.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"definitions": {}
|
||||
}
|
||||
150
Properties/tchmiconfig.json
Normal file
150
Properties/tchmiconfig.json
Normal file
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"$schema": "./../../Infineon/Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/Schema/TchmiConfig.Schema.json",
|
||||
"basePath": "./Beckhoff.TwinCAT.HMI.Framework",
|
||||
"scaleMode": "None",
|
||||
"startupView": "Desktop.view",
|
||||
"loginPage": "",
|
||||
"splash": {
|
||||
"versionSource": "Framework"
|
||||
},
|
||||
"projectVersion": "1.0.0.0",
|
||||
"tcHmiServer": {
|
||||
"websocketIntervalTime": 500,
|
||||
"websocketTimeout": 20000,
|
||||
"websocketSystemTimeout": 60000,
|
||||
"websocketSubscriptionMode": null,
|
||||
"disableOptionalSystemSubscriptions": false
|
||||
},
|
||||
"activeTheme": "Base",
|
||||
"themes": {
|
||||
"Base-Dark": {
|
||||
"resources": [
|
||||
{
|
||||
"name": "Themes/Base-Dark/Base-DarkStyle.css",
|
||||
"description": "",
|
||||
"type": "Stylesheet"
|
||||
},
|
||||
{
|
||||
"name": "Themes/Base-Dark/Base-Dark.theme",
|
||||
"description": "",
|
||||
"type": "ThemedValues"
|
||||
}
|
||||
],
|
||||
"replacesThemeForControls": [],
|
||||
"replacesThemeForPackageComponents": []
|
||||
},
|
||||
"Base": {
|
||||
"resources": [
|
||||
{
|
||||
"name": "Themes/Base/Base.theme",
|
||||
"description": "",
|
||||
"type": "ThemedValues"
|
||||
},
|
||||
{
|
||||
"name": "Themes/Base/BaseStyle.css",
|
||||
"description": "",
|
||||
"type": "Stylesheet"
|
||||
}
|
||||
],
|
||||
"replacesThemeForControls": [],
|
||||
"replacesThemeForPackageComponents": []
|
||||
}
|
||||
},
|
||||
"dependencyFiles": [
|
||||
{
|
||||
"name": "Fonts/Fonts.css",
|
||||
"description": "",
|
||||
"type": "Stylesheet"
|
||||
}
|
||||
],
|
||||
"userControls": [],
|
||||
"controls": [],
|
||||
"content": [],
|
||||
"views": [
|
||||
{
|
||||
"url": "Desktop.view",
|
||||
"preload": false,
|
||||
"keepAlive": false,
|
||||
"preloadBindings": false
|
||||
}
|
||||
],
|
||||
"userFunctions": [],
|
||||
"symbols": {
|
||||
"internal": {},
|
||||
"themedResources": {},
|
||||
"timer": {},
|
||||
"package": {}
|
||||
},
|
||||
"intervals": {},
|
||||
"trigger": [],
|
||||
"actionTemplates": [],
|
||||
"languages": {
|
||||
"de": "Localization/de.localization",
|
||||
"en": "Localization/en.localization"
|
||||
},
|
||||
"languageFallback": "",
|
||||
"disableLoadingOptimization": false,
|
||||
"creatorSettings": {
|
||||
"viewport": {
|
||||
"defaultWidth": 800,
|
||||
"defaultHeight": 600
|
||||
}
|
||||
},
|
||||
"binding": {
|
||||
"symbolError": "Ignore",
|
||||
"symbolWriteError": "ReadBack"
|
||||
},
|
||||
"packages": [
|
||||
{
|
||||
"name": "Beckhoff.TwinCAT.HMI.Controls",
|
||||
"basePath": "/Beckhoff.TwinCAT.HMI.Controls",
|
||||
"symbols": {
|
||||
"package": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Beckhoff.TwinCAT.HMI.Framework",
|
||||
"basePath": "/Beckhoff.TwinCAT.HMI.Framework",
|
||||
"symbols": {
|
||||
"package": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Beckhoff.TwinCAT.HMI.Functions",
|
||||
"basePath": "/Beckhoff.TwinCAT.HMI.Functions",
|
||||
"symbols": {
|
||||
"package": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"keyboardLayouts": [
|
||||
{
|
||||
"url": "KeyboardLayouts/German - compact.keyboard.json"
|
||||
},
|
||||
{
|
||||
"url": "KeyboardLayouts/Numpad (plusminus).keyboard.json"
|
||||
},
|
||||
{
|
||||
"url": "KeyboardLayouts/US - compact.keyboard.json"
|
||||
}
|
||||
],
|
||||
"systemKeyboard": {
|
||||
"providerName": "",
|
||||
"autoOpen": false,
|
||||
"projectKeyboardMapping": {
|
||||
"de": {
|
||||
"text": "KeyboardLayouts/German - compact.keyboard.json",
|
||||
"decimal": "KeyboardLayouts/Numpad (plusminus).keyboard.json",
|
||||
"numeric": ""
|
||||
},
|
||||
"en": {
|
||||
"text": "KeyboardLayouts/US - compact.keyboard.json",
|
||||
"decimal": "KeyboardLayouts/Numpad (plusminus).keyboard.json",
|
||||
"numeric": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"systemPopups": {
|
||||
"providerName": "Beckhoff.TcHmiPopups"
|
||||
}
|
||||
}
|
||||
47
Properties/tchmimanifest.json
Normal file
47
Properties/tchmimanifest.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/web-manifest",
|
||||
"name": "Infineon_HMI",
|
||||
"short_name": "Infineon_HMI",
|
||||
"icons": [
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-0-75x.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image/png",
|
||||
"density": 0.75
|
||||
},
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-1x.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png",
|
||||
"density": 1.0
|
||||
},
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-1-5x.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"density": 1.5
|
||||
},
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-2x.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"density": 2.0
|
||||
},
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-3x.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"density": 3.0
|
||||
},
|
||||
{
|
||||
"src": "../Images/Manifest/launcher-icon-4x.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"density": 4.0
|
||||
}
|
||||
],
|
||||
"theme_color": "#9E9E9E",
|
||||
"background_color": "#9E9E9E",
|
||||
"start_url": "../",
|
||||
"display": "standalone"
|
||||
}
|
||||
52
Properties/tchmipublish.config.json
Normal file
52
Properties/tchmipublish.config.json
Normal file
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"serverExtensions": [
|
||||
{
|
||||
"publishServerExtension": true,
|
||||
"name": "ADS"
|
||||
},
|
||||
{
|
||||
"publishServerExtension": true,
|
||||
"name": "TcHmiLua"
|
||||
},
|
||||
{
|
||||
"publishServerExtension": true,
|
||||
"name": "TcHmiSqliteLogger"
|
||||
},
|
||||
{
|
||||
"publishServerExtension": true,
|
||||
"name": "TcHmiSrv"
|
||||
},
|
||||
{
|
||||
"publishServerExtension": true,
|
||||
"name": "TcHmiUserManagement"
|
||||
}
|
||||
],
|
||||
"profileName": "TestHMI",
|
||||
"publishMode": "TcHmi",
|
||||
"targetDirectory": "",
|
||||
"deleteAllFilesBeforePublish": false,
|
||||
"deleteExtensionDataBeforePublish": false,
|
||||
"alwaysPublishLocalServerConfiguration": true,
|
||||
"temporaryPublishWithoutServerConfiguration": false,
|
||||
"abortOnErrors": true,
|
||||
"createPublishLog": false,
|
||||
"salt": "c50ba82bb48c48c8abe33a3fdaaca4de",
|
||||
"encryptedTcHmiServerPassword": "9C/Q60mDEgHaWh09q/0mGw==",
|
||||
"tcHmiServerHost": "192.168.10.1",
|
||||
"tcHmiServerPort": "2020",
|
||||
"uploadTimeout": "60",
|
||||
"connectionTimeout": "5",
|
||||
"requestTimeout": "60",
|
||||
"extensionStartupTimeout": "120",
|
||||
"clientCertificateCN": "",
|
||||
"tcHmiUseTLS": true,
|
||||
"useClientCertificate": false,
|
||||
"launchBrowserAfterPublish": false,
|
||||
"createVirtualDirectoriesOnTargetSystem": false,
|
||||
"tcHmiServerUserName": "__SystemAdministrator",
|
||||
"tcHmiDestinationUrl": "https://192.168.10.1:2020/",
|
||||
"publishConfiguration": "remote",
|
||||
"tcHmiIgnoreCertificateErrors": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user