First minimal version

This commit is contained in:
2026-01-30 09:31:45 +01:00
parent 5bfca18ca4
commit 518dc8f28f
55 changed files with 27459 additions and 0 deletions

28
.eslintrc.json Normal file
View File

@@ -0,0 +1,28 @@
{
"$schema": "http://json.schemastore.org/eslintrc",
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script"
},
"rules": {
"no-dupe-args": "error",
"no-dupe-else-if": "error",
"no-duplicate-case": "warn",
"no-redeclare": "error",
"no-unexpected-multiline": "error",
"use-isnan": "error"
},
"overrides": [
{
"files": [ "*.ts", "*.tsx" ],
"rules": {
}
}
]
}

290
.gitignore vendored Normal file
View File

@@ -0,0 +1,290 @@
## Ignore TwinCAT HMI temporary files, build results, and
## files generated by popular TwinCAT HMI add-ons.
.engineering_servers/
tchmipublish.journal.json
liveview_*
*.cache
*.db-shm
*.db-wal
*.pid
**/.hmiframework/
**/.hmipkgs/
**/*.d.ts
**/*.js.map
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
*.vcxproj.filters
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because git is used.
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# CodeRush
.cr/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/

14
.tfignore Normal file
View File

@@ -0,0 +1,14 @@
## Ignore TwinCAT HMI temporary files, build results, and
## files generated by popular TwinCAT HMI add-ons.
.engineering_servers/
tchmipublish.journal.json
liveview_*
*.cache
*.db-shm
*.db-wal
*.pid
**/.hmiframework/
**/.hmipkgs/
**/*.d.ts
**/*.js.map

404
Desktop.view Normal file
View File

@@ -0,0 +1,404 @@
<div id="Desktop" data-tchmi-type="TcHmi.Controls.System.TcHmiView" data-tchmi-top="0" data-tchmi-left="0" data-tchmi-width-mode="Content" data-tchmi-min-width="100" data-tchmi-min-width-unit="%" data-tchmi-height-mode="Content" data-tchmi-min-height="100" data-tchmi-min-height-unit="%">
<div id="ViewDesktopBeckhoffLogo" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiImage" data-tchmi-src="Images/Beckhoff_Logo.svg" data-tchmi-left="20" data-tchmi-top="20" data-tchmi-width="194" data-tchmi-height="57">
</div>
<div id="btnReset" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiButton" data-tchmi-height="50" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Reset" data-tchmi-top="87" data-tchmi-top-unit="px" data-tchmi-width="100" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onMouseClick",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.GVL_SCADA.xErrAck%/s%",
"value": {
"objectType": "StaticValue",
"valueType": "tchmi:general#/definitions/BOOL",
"value": true
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="niRobotProgramNumber" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="147" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-max-value="255" data-tchmi-min-value="0" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._uJobs.stJobs.wJobNrForRobot%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._uJobs.stJobs.wJobNrForRobot%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/WORD",
"symbolExpression": "%ctrl%niRobotProgramNumber::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblRobotProgramNumber" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Robot PrgNr:" data-tchmi-top="147" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niPLCFinishedJobNumber" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="183" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-min-value="0" data-tchmi-max-value="255" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._uJobs.stJobs.wFinishedJobNrFromPlc%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._uJobs.stJobs.wFinishedJobNrFromPlc%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/WORD",
"symbolExpression": "%ctrl%niPLCFinishedJobNumber::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblPlcFinishedJobNumber" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="PLC Finished PrgNr:" data-tchmi-top="183" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niPlateNr" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="291" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-min-value="0" data-tchmi-max-value="255" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.1%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.1%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/BYTE",
"symbolExpression": "%ctrl%niPlateNr::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblPlateNr" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Plate Nr:" data-tchmi-top="291" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niGripperNr" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="255" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-min-value="0" data-tchmi-max-value="255" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.0%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.0%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/BYTE",
"symbolExpression": "%ctrl%niGripperNr::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblGripperNr" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Gripper Nr:" data-tchmi-top="255" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niYOffset" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="399" data-tchmi-top-unit="px" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._diOffsetPosY%/s%" data-tchmi-width="59" data-tchmi-width-unit="px">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._diOffsetPosY%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/DINT",
"symbolExpression": "%ctrl%niYOffset::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblYOffset" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Y-Offset:" data-tchmi-top="399" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niXOffset" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="363" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-ignore-invalid-values="True" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._diOffsetPosX%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._diOffsetPosX%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/DINT",
"symbolExpression": "%ctrl%niXOffset::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblXOffset" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="X-Offset:" data-tchmi-top="363" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niThickness" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="435" data-tchmi-top-unit="px" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._diThickness%/s%" data-tchmi-width="59" data-tchmi-width-unit="px">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._diThickness%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/DINT",
"symbolExpression": "%ctrl%niThickness::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblThickness" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Thickness:" data-tchmi-top="435" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niPositionCoolplate" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="543" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-min-value="0" data-tchmi-max-value="9" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.0%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.3%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/BYTE",
"symbolExpression": "%ctrl%niPositionCoolplate::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblPositionCoolplate" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Pos Coolplate:" data-tchmi-top="543" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="niPositionHotplate" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiNumericInput" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="151" data-tchmi-left-unit="px" data-tchmi-reset-to-last-valid-value="True" data-tchmi-top="507" data-tchmi-top-unit="px" data-tchmi-width="59" data-tchmi-width-unit="px" data-tchmi-min-value="0" data-tchmi-max-value="9" data-tchmi-value="%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.2%/s%">
<script data-tchmi-target-attribute="data-tchmi-content-padding" type="application/json">
{
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
}
</script>
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onUserInteractionFinished",
"actions": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.PRG_Main._fbRobot._abToolsAndPositions.2%/s%",
"value": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/BYTE",
"symbolExpression": "%ctrl%niPositionHotplate::Value%/ctrl%"
},
"asyncWait": true
}
]
}
]
</script>
</div>
<div id="tblPositionHotplate" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-height="26" data-tchmi-height-unit="px" data-tchmi-left="20" data-tchmi-left-unit="px" data-tchmi-text="Pos Hotplate:" data-tchmi-top="507" data-tchmi-top-unit="px" data-tchmi-width="121" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
</div>
<div id="btnOpenAllChambers" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiButton" data-tchmi-height="50" data-tchmi-height-unit="px" data-tchmi-left="130" data-tchmi-left-unit="px" data-tchmi-text="Open All Chambers" data-tchmi-top="87" data-tchmi-top-unit="px" data-tchmi-width="100" data-tchmi-width-unit="px" data-tchmi-word-wrap="True">
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::Id|EventRegistrationMode=Resolve%/ctx%.onMouseClick",
"actions": [
{
"objectType": "Condition",
"active": true,
"parts": [
{
"if": [
{
"compare1": {
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/BOOL",
"symbolExpression": "%s%ADS.PLC1.GVL_SCADA.xOpenAllChambers%/s%"
},
"compare2": {
"objectType": "StaticValue",
"valueType": "tchmi:general#/definitions/BOOL",
"value": false
},
"compareOperator": "==",
"logic": null
}
],
"then": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.GVL_SCADA.xOpenAllChambers%/s%",
"value": {
"objectType": "StaticValue",
"valueType": "tchmi:general#/definitions/String",
"value": true
},
"asyncWait": true
}
]
},
{
"else": [
{
"objectType": "WriteToSymbol",
"active": true,
"symbolExpression": "%s%ADS.PLC1.GVL_SCADA.xOpenAllChambers%/s%",
"value": {
"objectType": "StaticValue",
"valueType": "tchmi:general#/definitions/String",
"value": false
},
"asyncWait": true
}
]
}
],
"asyncWait": true
}
]
}
]
</script>
</div>
</div>

21
Fonts/Fonts.css Normal file
View File

@@ -0,0 +1,21 @@
@font-face {
font-family: RobotoCondensed;
src: url(Roboto-Condensed-webfont.woff);
}
/**
Description about font inclusion in TcHmi
As a default we include Roboto Condensed (in Fonts folder) as a webfont which will render latin, greek, vietnamese, cyrillic glyphs
If Roboto does not render the glyphs we use some preinstalled fallback
'Microsoft YaHei' (Windows), 'Hiragino Sans GB' (Mac/iOS), 'Noto Sans CJK SC/TC' (Android), 'WenQuanYi Micro Hei' (Linux) renders chinese
'Meiryo' (Windows), 'Hiragino Kaku Gothic Pro' (Mac/iOS), 'Noto Sans CJK JP' (Android) renders japanese
For other fonts you can add the woff files into the tchmi project and
add a @font-face section yourself
The noto family from google tries to cover all of the world, is free to use and fits nicely with roboto
see https://www.google.com/get/noto/ and https://fonts.google.com/earlyaccess
The font usage is defined in the main css file of the active theme (for example Themes/Base/Style.css).
*/

Binary file not shown.

15
Images/Beckhoff_Logo.svg Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="219.4" height="65.854" version="1.1" viewBox="0 0 219.39866 65.853646" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1.3333 0 0 -1.3333 14.967 51.067)" fill="#ed1c24">
<path d="m6.0617 11.723c2.5723-0.1023 4.2871-0.0339 4.2871-3.0105 0-3.4555-1.2687-3.25-4.2871-3.3184zm0 10.093c2.1266 0 3.8758 0.1024 3.8758-2.4289 0-3.0449-1.2348-2.8738-3.8758-3.0449zm2.4695-21.04c4.9046 0 7.8542 2.2238 7.8542 7.4238 0 3.1821-0.5832 4.5504-3.3269 6.1242v0.0684c2.0922 1.1289 2.9152 3.1473 2.9152 5.4051 0 5.166-3.5668 6.6371-8.1285 6.6371h-7.8203v-25.659h8.5062" fill-rule="evenodd"/>
<g>
<path d="m33.109 0.77539v5.132h-8.1977v5.5422h7.5461v5.1317h-7.5461v4.721h7.786v5.1317h-13.822v-25.659h14.234"/>
<path d="m51.847 17.471v2.1555c0 5.234-3.0867 7.4238-8.2317 7.4238-5.5222 0-8.0945-2.6004-8.0945-8.1766v-10.537c0-5.2344 2.1609-8.1766 7.7172-8.1766 6.1738 0 8.7121 3.0789 8.7121 7.4926v3.1469h-6.0367v-2.3262c0-1.5734-0.1715-3.6945-2.2293-3.6945-1.5781 0-2.161 0.85507-2.161 2.2918l0.0344 12.693c0 1.6766 0.4457 2.7023 2.3321 2.6684 1.132 0 1.921-1.129 1.921-3.3184v-1.6422h6.0364"/>
<path d="m60.51 0.77539v6.3293l1.3375 2.6 3.3269-8.9293h6.3797l-5.8309 14.335 5.4879 11.324h-6.1738l-4.459-10.264h-0.0683v10.264h-6.0368v-25.659h6.0368"/>
<path d="m79.188 0.77539v10.674h4.1844v-10.674h6.0367v25.659h-6.0367v-9.8527h-4.1844v9.8527h-6.0363v-25.659h6.0363"/>
</g>
<path d="m102.22 8.4387c0-1.4707-0.137-3.6602-2.093-3.6602-1.9546 0-2.1948 2.1894-2.1948 3.6602v10.537c0 1.5738 0.2402 3.4555 2.1608 3.4555 1.99 0 2.127-1.8817 2.127-3.4555zm6.036 10.948c0 4.9262-2.846 7.6633-8.129 7.6633-5.2816 0-8.2312-2.7371-8.2312-7.6633v-10.435c0-5.7816 2.1266-8.7922 8.2312-8.7922 6.106 0 8.129 3.0105 8.129 8.7922v10.435" fill-rule="evenodd"/>
<path d="m117.02 0.77539v10.845h7.512v5.1316h-7.512v4.55h8.163v5.1317h-14.199v-25.659h6.036"/>
<path d="m133.91 0.77539v10.845h7.512v5.1316h-7.512v4.55h8.163v5.1317h-14.199v-25.659h6.036"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
Images/Favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

407
Infineon_HMI.hmiproj Normal file
View File

@@ -0,0 +1,407 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Clean;Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.props" Condition="Exists('packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<TcHmiDirectory>$(registry:HKEY_CURRENT_USER\Software\Beckhoff\TwinCAT3\3.1@InstallDir)\..\Functions\TE2000-HMI-Engineering</TcHmiDirectory>
<TcHmiDirectory Condition="'$(TcHmiDirectory)'==''">$(registry:HKEY_LOCAL_MACHINE\Software\Beckhoff\TwinCAT3\3.1@InstallDir)\..\Functions\TE2000-HMI-Engineering</TcHmiDirectory>
<TcHmiDirectory Condition="'$(TcHmiDirectory)'==''">$(registry:HKEY_LOCAL_MACHINE\Software\Wow6432Node\Beckhoff\TwinCAT3\3.1@InstallDir)\..\Functions\TE2000-HMI-Engineering</TcHmiDirectory>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
<AvailablePlatforms>TwinCAT HMI</AvailablePlatforms>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<HmiTitle>Infineon_HMI</HmiTitle>
<HmiVerboseLevel>2</HmiVerboseLevel>
<HmiVersion>1.0.0.0</HmiVersion>
<HmiCommunicationServerPort>3000</HmiCommunicationServerPort>
<HmiLogTcHmiServerMessages>false</HmiLogTcHmiServerMessages>
<HmiLogDesignerModeComMessages>false</HmiLogDesignerModeComMessages>
<HmiDefaultLanguage>client</HmiDefaultLanguage>
<HmiViewportInitialScale>1.0</HmiViewportInitialScale>
<HmiViewportMinimumScale />
<HmiViewportMaximumScale />
<HmiViewportUserScaleable>Default</HmiViewportUserScaleable>
<HmiPostProcessing>True</HmiPostProcessing>
<HmiUseX64>True</HmiUseX64>
<TargetFrameworkMoniker>native,Version=v1.12.0,Profile=tchmi</TargetFrameworkMoniker>
<TargetFramework>native1.12-tchmi</TargetFramework>
<AzureFunctionsVersion>v2</AzureFunctionsVersion>
<TcHmi_Beckhoff_TwinCAT_HMI_Server_Engineering_IncludeInArchive>False</TcHmi_Beckhoff_TwinCAT_HMI_Server_Engineering_IncludeInArchive>
<Name>Infineon_HMI</Name>
<HmiCommunicationServerAuthPort>13000</HmiCommunicationServerAuthPort>
<HmiCommunicationServerPublicPort>3443</HmiCommunicationServerPublicPort>
<HmiInitial>14.3.617.1</HmiInitial>
<HmiRecent>14.3.617.1</HmiRecent>
<HmiServerNodeAdvancedView>False</HmiServerNodeAdvancedView>
</PropertyGroup>
<PropertyGroup>
<TwinCATHmi_Tasks>$(TcHmiDirectory)\MSBuild\Beckhoff.TwinCAT.HMI.tasks</TwinCATHmi_Tasks>
<TwinCATHmi_Targets>$(TcHmiDirectory)\MSBuild\Beckhoff.TwinCAT.HMI.targets</TwinCATHmi_Targets>
</PropertyGroup>
<Import Project="$(TwinCATHmi_Tasks)" />
<Import Project="$(TwinCATHmi_Targets)" />
<PropertyGroup>
<!--
Values:
VisualStudio := default Microsoft.TypeScript.MsBuild behaviour
Global := the installation directory provided by Windows' registry is used
-->
<_TcHmiNodeJsMode>Global</_TcHmiNodeJsMode>
<_TcHmiNodeJsMode Condition="'$(_TcHmiNodeJsMode)' == ''">Global</_TcHmiNodeJsMode>
<_TcHmiNodePath Condition="'$(_TcHmiNodeJsMode)' == 'Global'">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Node.js@InstallPath)</_TcHmiNodePath>
<_TcHmiNodePath Condition="'$(_TcHmiNodeJsMode)' == 'Global' AND '$(_TcHmiNodePath)' == '' AND Exists('C:\Program Files\nodejs\')">C:\Program Files\nodejs\</_TcHmiNodePath>
<_TcHmiNodePath Condition="'$(_TcHmiNodeJsMode)' == 'Global' AND '$(_TcHmiNodePath)' == '' AND Exists('C:\Program Files (x86)\nodejs\')">C:\Program Files (x86)\nodejs\</_TcHmiNodePath>
</PropertyGroup>
<Target Name="ReTargetNodePath" Condition="'$(_TcHmiNodePath)' != ''" BeforeTargets="$(CompileDependsOn)">
<PropertyGroup>
<NodePath>$(_TcHmiNodePath)</NodePath>
</PropertyGroup>
</Target>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>b4b0e423-9884-4277-82a6-6d7062793303</ProjectGuid>
<RootNamespace>TwinCAT3HmiProject</RootNamespace>
<AssemblyName>TwinCAT3HmiProject</AssemblyName>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">TwinCAT HMI</Platform>
</PropertyGroup>
<!-- Any CPU -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|TwinCAT HMI' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>TwinCAT HMI</PlatformTarget>
<DefaultNamespace>Infineon_HMI</DefaultNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|TwinCAT HMI' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>TwinCAT HMI</PlatformTarget>
<DefaultNamespace>Infineon_HMI</DefaultNamespace>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition="'$(RestoreProjectStyle)' == 'PackageReference'" />
<PropertyGroup>
<PreBuildEventDependsOn />
</PropertyGroup>
<Target Name="PreBuildEvent" Condition="'$(PreBuildEvent)'!=''" DependsOnTargets="$(PreBuildEventDependsOn)">
<Exec WorkingDirectory="$(OutDir)" Command="$(PreBuildEvent)" />
</Target>
<PropertyGroup>
<PostBuildEventDependsOn />
</PropertyGroup>
<Target Name="PostBuildEvent" Condition="'$(PostBuildEvent)' != '' and ('$(RunPostBuildEvent)'=='Always' or '$(RunPostBuildEvent)'=='OnOutputUpdated')" DependsOnTargets="$(PostBuildEventDependsOn)">
<Exec WorkingDirectory="$(OutDir)" Command="$(PostBuildEvent)" />
</Target>
<Target Name="GetFrameworkPaths" />
<PropertyGroup>
<BuiltProjectOutputGroupDependsOn>
PreBuildEvent;
CoreBuild;
PostBuildEvent
</BuiltProjectOutputGroupDependsOn>
<CleanDependsOn>
BaseClean
</CleanDependsOn>
</PropertyGroup>
<PropertyGroup>
<TcHmi_ProjectDirectory Condition="'$(TcHmi_ProjectDirectory)' == ''">$(MSBuildProjectDirectory)</TcHmi_ProjectDirectory>
<TcHmi_ServerAddress Condition="'$(TcHmi_ServerAddress)' == ''">127.0.0.1</TcHmi_ServerAddress>
<TcHmi_ServerPort Condition="'$(TcHmi_ServerPort)' == ''">1010</TcHmi_ServerPort>
</PropertyGroup>
<Target Name="CoreBuild">
<TcHmiMSBuild.Publish.TcHmiBuild TaskAction="Clean" ProjectDirectory="$(TcHmi_ProjectDirectory)" OutputPath="$(OutputPath)" />
<TcHmiMSBuild.Publish.TcHmiBuild TaskAction="Build" ProjectDirectory="$(TcHmi_ProjectDirectory)" OutputPath="$(OutputPath)" ProjectFiles="@(Content)" VirtualMappings="$(TcHmi_VirtualMappings)" PostProcessing="$(HmiPostProcessing)" />
<TcHmiMSBuild.Publish.TcHmiGenerator TaskAction="EntryPage" ProjectDirectory="$(TcHmi_ProjectDirectory)" OutputPath="$(OutputPath)" TcHmiServerAddress="$(TcHmi_ServerAddress)" TcHmiServerPort="$(TcHmi_ServerPort)">
<Output TaskParameter="Result" PropertyName="TaskResult0" />
</TcHmiMSBuild.Publish.TcHmiGenerator>
<Message Text="Generating the Default.html within OutputPath('$(OutputPath)'): $(TaskResult0)" />
</Target>
<Target Name="Build" DependsOnTargets="$(BuiltProjectOutputGroupDependsOn)" />
<Target Name="Clean" DependsOnTargets="$(CleanDependsOn)" />
<Target Name="ReBuild" DependsOnTargets="Clean; Build" />
<ItemGroup>
<Folder Include="Fonts\" />
<Folder Include="Images" />
<Folder Include="Images\Manifest" />
<Folder Include="Imports" />
<Folder Include="Imports\Images" />
<Folder Include="Imports\Videos" />
<Folder Include="KeyboardLayouts\" />
<Folder Include="Localization" />
<Folder Include="Themes" />
<Folder Include="Themes\Base-Dark\Images\" />
<Folder Include="Themes\Base\" />
<Folder Include="Themes\Base-Dark\" />
<Folder Include="Server">
<WorkingDirectory>Infineon_HMI</WorkingDirectory>
</Folder>
<Folder Include="Properties" />
<Content Include=".eslintrc.json">
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Config.default.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Config.remote.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Storage.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Config.default.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Config.remote.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Storage.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Config.default.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Config.remote.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Storage.json">
<SubType>Content</SubType>
<Visible>True</Visible>
</Content>
<Content Include="tsconfig.tpl.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="tsconfig.json">
<SubType>Content</SubType>
<Visible>true</Visible>
<DependentUpon>tsconfig.tpl.json</DependentUpon>
</Content>
<Content Include="packages.config">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="packages.xsd">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Properties\tchmiconfig.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Properties\tchmi.framework.Schema.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Properties\tchmi.project.Schema.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Properties\tchmipublish.config.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Properties\tchmimanifest.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Properties\Default.tpl">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include=".tfignore">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include=".gitignore">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Fonts\Fonts.css">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Fonts\Roboto-Condensed-webfont.woff">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base\Base.theme">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base\BaseStyle.css">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base\Images\Splash-320x534.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base\Images\Splash-420x200.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base\Images\Splash-800x600.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base-Dark\Base-Dark.theme">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base-Dark\Base-DarkStyle.css">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base-Dark\Images\Splash-320x534.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base-Dark\Images\Splash-420x200.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Themes\Base-Dark\Images\Splash-800x600.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Localization\de.localization">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Localization\en.localization">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="KeyboardLayouts\German - compact.keyboard.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="KeyboardLayouts\US - compact.keyboard.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="KeyboardLayouts\Numpad (plusminus).keyboard.json">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Favicon.ico">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Beckhoff_Logo.svg">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-0-75x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-1-5x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-1x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-2x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-3x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Images\Manifest\launcher-icon-4x.png">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Content Include="Desktop.view">
<SubType>Content</SubType>
<Visible>true</Visible>
</Content>
<Folder Include="Server\ADS\" />
<Folder Include="Server\TcHmiLua\" />
<Folder Include="Server\TcHmiSqliteLogger\" />
<Folder Include="Server\TcHmiSrv\" />
<Folder Include="Server\TcHmiUserManagement\" />
<Content Include="Server\ADS\ADS.Config.default.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\ADS\ADS.Config.remote.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\ADS\ADS.Storage.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Config.default.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Config.remote.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiLua\TcHmiLua.Storage.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Config.default.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Config.remote.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiSqliteLogger\TcHmiSqliteLogger.Storage.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiSrv\TcHmiSrv.Config.default.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\TcHmiSrv\TcHmiSrv.Config.remote.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\TcHmiSrv\TcHmiSrv.Storage.json">
<SubType>Content</SubType>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Config.default.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Config.remote.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Content Include="Server\TcHmiUserManagement\TcHmiUserManagement.Storage.json">
<SubType>Content</SubType>
<Visible>false</Visible>
</Content>
<Folder Include="Themes\Base\Images\" />
</ItemGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.props'))" />
<Error Condition="!Exists('packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.targets'))" />
</Target>
<Import Project="packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.targets" Condition="Exists('packages\Microsoft.TypeScript.MSBuild.5.9.2\build\Microsoft.TypeScript.MSBuild.targets')" />
</Project>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,302 @@
{
"useIndirectInput": false,
"hasNumPad": true,
"displayName": "Numpad (+/-)",
"localeName": null,
"layouts":
[
{
"name": "default",
"dimensions":
{
"width": 230,
"height": 230
},
"keys":
[
{
"geometry":
{
"left": 0,
"top": 0,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad1",
"key": "1",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "1"
}
]
},
{
"geometry":
{
"left": 26.08695652173913,
"top": 0,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad2",
"key": "2",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "2"
}
]
},
{
"geometry":
{
"left": 52.17391304347826,
"top": 0,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad3",
"key": "3",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "3"
}
]
},
{
"geometry":
{
"left": 0,
"top": 26.08695652173913,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad4",
"key": "4",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "4"
}
]
},
{
"geometry":
{
"left": 26.08695652173913,
"top": 26.08695652173913,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad5",
"key": "5",
"labels":
[
{
"type": "text",
"text": "5"
}
]
},
{
"geometry":
{
"left": 52.17391304347826,
"top": 26.08695652173913,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad6",
"key": "6",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "6"
}
]
},
{
"geometry":
{
"left": 0,
"top": 52.17391304347826,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad7",
"key": "7",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "7"
}
]
},
{
"geometry":
{
"left": 26.08695652173913,
"top": 52.17391304347826,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad8",
"key": "8",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "8"
}
]
},
{
"geometry":
{
"left": 52.17391304347826,
"top": 52.17391304347826,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad9",
"key": "9",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "9"
}
]
},
{
"geometry":
{
"left": 26.08695652173913,
"top": 78.26086956521739,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "Numpad0",
"key": "0",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "0"
}
]
},
{
"geometry":
{
"left": 0,
"top": 78.26086956521739,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "PlusMinus",
"key": "PlusMinus",
"type": "edit",
"labels":
[
{
"type": "text",
"text": "+/-"
}
]
},
{
"geometry":
{
"left": 52.17391304347826,
"top": 78.26086956521739,
"width": 21.73913043478261,
"height": 21.73913043478261
},
"code": "NumpadDecimal",
"key": ".",
"location": "numpad",
"labels":
[
{
"type": "text",
"text": "."
}
]
},
{
"geometry":
{
"left": 78.26086956521739,
"top": 0,
"width": 21.73913043478261,
"height": 47.82608695652174
},
"code": "Backspace",
"key": "Backspace",
"type": "edit",
"labels":
[
{
"type": "svg",
"svg":
{
"path": "M 0.5 7 L 7 0.5 L 21.5 0.5 L 21.5 13.5 L 7 13.5 Z M 10 3 L 18 11 M 10 11 L 18 3",
"dimensions":
{
"width": 22,
"height": 14
}
}
}
],
"longpressAction": "repeat"
},
{
"geometry":
{
"left": 78.26086956521739,
"top": 52.17391304347826,
"width": 21.73913043478261,
"height": 47.82608695652174
},
"code": "NumpadEnter",
"key": "Enter",
"location": "numpad",
"labels":
[
{
"type": "svg",
"svg":
{
"path": "M 21.5 8.5 L 21.5 0.5 L 21.5 8.5 L 5.5 8.5 M 5.5 3.5 L 0.5 8.5 L 5.5 13.5",
"dimensions":
{
"width": 22,
"height": 14
}
}
}
]
}
]
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
{
"$schema": "./../../Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/Schema/LocalizationDescription.Schema.json",
"locale": "de",
"localizedText": {
"Language": "Deutsch"
}
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "./../../Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/Schema/LocalizationDescription.Schema.json",
"locale": "en",
"localizedText": {
"Language": "English"
}
}

82
Properties/Default.tpl Normal file
View 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 --

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {}
}

150
Properties/tchmiconfig.json Normal file
View 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"
}
}

View 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"
}

View 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
}
]

View File

@@ -0,0 +1,59 @@
{
"ENABLE_READ_BEFORE_WRITE": false,
"IGNORED_PLC_ATTRIBUTES": [
"DisplayMinValue",
"DisplayMaxValue",
"DisplayMinValueX64",
"DisplayMaxValueX64",
"LowerBorder",
"UpperBorder",
"TcRpcEnable",
"TcGenerateDeRefType",
"TcHmiSymbol.ReadOnly",
"TcHmiSymbol.AddSymbol",
"TcHmiSymbol.AddSymbol.UserGroups",
"TcHmiSymbol.AddSymbol.UserGroups.Read",
"TcHmiSymbol.AddSymbol.Hidden",
"to_string_function",
"to_wstring_function"
],
"NEW_HANDLES_PER_SUM_REQUEST_LIMIT": 100,
"RESPONSE_SIZE_LIMIT": 2097152,
"RUNTIMES": {
"PLC1": {
"ENABLED": true,
"NETID": "5.127.104.206.1.1",
"PORT": 851,
"READ_ONLY": false,
"SYMBOLS": {},
"USE_WHITELISTING": false
}
},
"RUNTIME_STATE_CHECK_INTERVAL": "PT2S",
"RUNTIME_STATE_CHECK_TIMEOUT": "PT5S",
"SUM_REQUEST_LIMIT": 500,
"TIMEOUT": "PT1S",
"VISIBLE_RUNTIME_PORTS": [
301,
302,
303,
304,
350,
351,
352,
353,
354,
355,
501,
801,
811,
821,
831,
851,
852,
853,
854,
10000,
19800
]
}

View File

@@ -0,0 +1,12 @@
{
"RUNTIMES": {
"PLC1": {
"ENABLED": true,
"NETID": "127.0.0.1.1.1",
"PORT": 851,
"READ_ONLY": false,
"SYMBOLS": {},
"USE_WHITELISTING": false
}
}
}

View File

@@ -0,0 +1,4 @@
{
"configVersion": "1.0.1.5",
"guid": "5AE90DB9-B895-45AD-9B79-27A19FADCD86"
}

View File

@@ -0,0 +1,6 @@
{
"CONFIG_PAGE_ARRAY_LIMIT": 100,
"HTML_ERRORS": false,
"LOG_PAGE_MAX_ENTRIES": 200,
"SCRIPT_TIMEOUT": "PT10S"
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,4 @@
{
"configVersion": "1.0.1.1",
"guid": "EBCC019A-41B4-4ADA-9163-F9F34357B0B6"
}

View File

@@ -0,0 +1,10 @@
{
"DEFAULT_LIST_LIMIT": 1000,
"MAXENTRIES": 15000,
"MAXENTRYLENGTH": 1024,
"MAX_DIAGNOSTICS_ARCHIVE_FILE_COUNT": 2,
"MAX_DIAGNOSTICS_MESSAGES_FILE_SIZE": 52428800,
"MODE": 1,
"REDIRECT_DIAGNOSTICS_MESSAGES_TO_FILE": true,
"VACUUM_ON_STARTUP": false
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,4 @@
{
"configVersion": "1.0.1.2",
"guid": "CD0B1D03-27D7-4904-BEFF-3882D751757A"
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
{
"BASE_HMI_URL": "",
"CERTIFICATEEXPIRATION": "P1095DT18H",
"MAXREQUESTSIZE": 1048576,
"REQUIREAUTH": 2,
"VIRTUALDIRECTORIES": {
"/": "www"
}
}

View File

@@ -0,0 +1,4 @@
{
"configVersion": "1.0.1.15",
"guid": "1EE8B733-8328-488E-A4BA-C287BF8302E7"
}

View File

@@ -0,0 +1,58 @@
{
"ENABLE_TWO_FACTOR_AUTHENTICATION": 0,
"EXCLUDE_SYSTEM_ADMINISTRATOR_FROM_LOCKOUT": false,
"MAX_INVALID_LOGIN_ATTEMPTS": 0,
"PASSWORD_BLACKLIST": "",
"PASSWORD_ENABLE_AGING": false,
"PASSWORD_FORCE_COMPLEX": 0,
"PASSWORD_HISTORY_SIZE": 0,
"PASSWORD_MAXIMUM_AGE": "P90D",
"PASSWORD_MINIMUM_LENGTH": 1,
"USERS": {
"__SystemAdministrator": {
"ALGORITHM": 0,
"ENABLED": false,
"LAST_PASSWORD_CHANGE": "1970-01-01T00:00:00Z",
"PASSWORD": "",
"PASSWORD_HISTORY": [],
"SALT": "",
"SECRET": {
"algorithm": 0,
"configuration": 0,
"iv": "",
"value": ""
},
"TWO_FACTOR_AUTHENTICATION_ENABLED": false
},
"__SystemGuest": {
"ALGORITHM": 0,
"ENABLED": true,
"LAST_PASSWORD_CHANGE": "1970-01-01T00:00:00Z",
"PASSWORD": "",
"PASSWORD_HISTORY": [],
"SALT": "",
"SECRET": {
"algorithm": 0,
"configuration": 0,
"iv": "",
"value": ""
},
"TWO_FACTOR_AUTHENTICATION_ENABLED": false
},
"__SystemUser": {
"ALGORITHM": 0,
"ENABLED": true,
"LAST_PASSWORD_CHANGE": "1970-01-01T00:00:00Z",
"PASSWORD": "",
"PASSWORD_HISTORY": [],
"SALT": "",
"SECRET": {
"algorithm": 0,
"configuration": 0,
"iv": "",
"value": ""
},
"TWO_FACTOR_AUTHENTICATION_ENABLED": false
}
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,4 @@
{
"configVersion": "1.0.1.5",
"guid": "2E0817F0-DE05-42ED-BAFA-552D96B07127"
}

View File

@@ -0,0 +1,3 @@
{
"$schema": "./../../../Infineon/Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/Schema/ThemeDescription.Schema.json"
}

View File

@@ -0,0 +1,348 @@
/**
* About font inclusion in TcHmi
*
* As a default we include Roboto Condensed (in Fonts folder) as a webfont which will render latin, greek, vietnamese, cyrillic glyphs.
*
* If Roboto does not render the glyphs we use some preinstalled fallback
* 'Microsoft YaHei' (Windows), 'Hiragino Sans GB' (macOS/iOS), 'Noto Sans CJK SC/TC' (Android), 'WenQuanYi Micro Hei' (Linux) renders chinese
* 'Meiryo' (Windows), 'Hiragino Kaku Gothic Pro' (macOS/iOS), 'Noto Sans CJK JP' (Android) renders japanese
*
* For other fonts you can add the woff files into the TcHmi project and
* add a @font-face section yourself.
* The noto family from Google tries to cover all of the world, is free to use and fits nicely with Roboto
* see https://fonts.google.com/noto and https://fonts.google.com/earlyaccess
*
* The font usage is defined in the main CSS file of the active theme (for example Themes/Base/Style.css).
*/
html {
font-family: RobotoCondensed, 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', '冬青黑体', 'STXihei', '华文细黑', 'WenQuanYi Micro Hei', 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ ProN', 'Noto Sans CJK SC', 'Noto Sans CJK TC', 'Noto Sans CJK JP', 'Noto Sans CJK KR', sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
width: 100%;
height: 100%;
}
/* Is defined in html tag of runtime html only. */
.tchmi-html-runtime {
}
/* Is defined in body tag of runtime html only. */
.tchmi-body-runtime {
}
/* Views */
div[data-tchmi-type="TcHmi.Controls.System.TcHmiView"] {
background: #353434;
}
/**
* Splash Screen Dialog
*/
#tchmi-splash-container {
position: relative;
background-color: #353434;
overflow: auto;
display: flex;
color: black;
}
@media screen and (min-width: 800px) {
@media screen and (min-height: 600px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 800px;
height: 600px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-800x600.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 362px;
top: 395px;
right: 0px;
bottom: 0px;
width: 412px;
background: #ccc;
height: 23px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 362px;
top: 418px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 14px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 580px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 12px;
}
}
@media not screen and (min-height: 600px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 420px;
height: 200px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-420x200.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 160px;
top: 105px;
right: 0px;
bottom: 0px;
width: 240px;
background: #ccc;
height: 10px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 160px;
top: 115px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 183px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 10px;
}
}
}
@media not screen and (min-width: 800px) {
@media screen and (min-height: 534px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 320px;
height: 534px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-320x534.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 17px;
top: 455px;
right: 0px;
bottom: 0px;
width: 283px;
background: #ccc;
height: 20px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 17px;
top: 476px;
right: 0px;
bottom: 0px;
width: 283px;
height: 14px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 518px;
right: 0px;
bottom: 0px;
width: 283px;
height: 20px;
font-size: 10px;
}
}
@media not screen and (min-height: 534px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 420px;
height: 200px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-420x200.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 160px;
top: 105px;
right: 0px;
bottom: 0px;
width: 240px;
background: #ccc;
height: 10px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 160px;
top: 115px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 183px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 10px;
}
}
}
/**
* View Loading Spinner
* Usage: <div class="tchmi-view-loading-spinner-container"><div class="tchmi-view-loading-spinner"><div></div><div></div><div></div><div></div></div></div>
*/
:root {
--tchmi-view-loading-spinner-color: #4c6374;
}
@keyframes tchmi-view-loading-spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.tchmi-view-loading-spinner-container {
display: none; /** DEBUG ONLY */
position: relative;
width: 100%;
height: 100%;
}
.tchmi-view-loading-spinner {
display: inline-block;
width: 64px;
height: 64px;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
margin: auto;
max-width: 100%;
max-height: 100%;
overflow: hidden;
}
.tchmi-view-loading-spinner div {
box-sizing: border-box;
display: block;
position: absolute;
width: 51px;
height: 51px;
margin: 6px;
border: 6px solid var(--tchmi-view-loading-spinner-color);
border-radius: 50%;
animation: tchmi-view-loading-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: var(--tchmi-view-loading-spinner-color) transparent transparent transparent;
}
.tchmi-view-loading-spinner div:nth-child(1) {
animation-delay: -0.45s;
}
.tchmi-view-loading-spinner div:nth-child(2) {
animation-delay: -0.3s;
}
.tchmi-view-loading-spinner div:nth-child(3) {
animation-delay: -0.15s;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

3
Themes/Base/Base.theme Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "./../../../Infineon/Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/Schema/ThemeDescription.Schema.json"
}

347
Themes/Base/BaseStyle.css Normal file
View File

@@ -0,0 +1,347 @@
/**
* About font inclusion in TcHmi
*
* As a default we include Roboto Condensed (in Fonts folder) as a webfont which will render latin, greek, vietnamese, cyrillic glyphs.
*
* If Roboto does not render the glyphs we use some preinstalled fallback
* 'Microsoft YaHei' (Windows), 'Hiragino Sans GB' (macOS/iOS), 'Noto Sans CJK SC/TC' (Android), 'WenQuanYi Micro Hei' (Linux) renders chinese
* 'Meiryo' (Windows), 'Hiragino Kaku Gothic Pro' (macOS/iOS), 'Noto Sans CJK JP' (Android) renders japanese
*
* For other fonts you can add the woff files into the TcHmi project and
* add a @font-face section yourself.
* The noto family from Google tries to cover all of the world, is free to use and fits nicely with Roboto
* see https://fonts.google.com/noto and https://fonts.google.com/earlyaccess
*
* The font usage is defined in the main CSS file of the active theme (for example Themes/Base/Style.css).
*/
html {
font-family: RobotoCondensed, 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', '冬青黑体', 'STXihei', '华文细黑', 'WenQuanYi Micro Hei', 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ ProN', 'Noto Sans CJK SC', 'Noto Sans CJK TC', 'Noto Sans CJK JP', 'Noto Sans CJK KR', sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
width: 100%;
height: 100%;
}
/* Is defined in html tag of runtime html only. */
.tchmi-html-runtime {
}
/* Is defined in body tag of runtime html only. */
.tchmi-body-runtime {
}
/* Views */
div[data-tchmi-type="TcHmi.Controls.System.TcHmiView"] {
background: #E3E6E9;
}
/**
* Splash Screen Dialog
*/
#tchmi-splash-container {
position: relative;
background-color: #E3E6E9;
overflow: auto;
display: flex;
}
@media screen and (min-width: 800px) {
@media screen and (min-height: 600px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 800px;
height: 600px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-800x600.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 362px;
top: 395px;
right: 0px;
bottom: 0px;
width: 412px;
background: #ccc;
height: 23px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 362px;
top: 418px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 14px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 580px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 12px;
}
}
@media not screen and (min-height: 600px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 420px;
height: 200px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-420x200.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 160px;
top: 105px;
right: 0px;
bottom: 0px;
width: 240px;
background: #ccc;
height: 10px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 160px;
top: 115px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 183px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 10px;
}
}
}
@media not screen and (min-width: 800px) {
@media screen and (min-height: 534px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 320px;
height: 534px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-320x534.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 17px;
top: 455px;
right: 0px;
bottom: 0px;
width: 283px;
background: #ccc;
height: 20px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 17px;
top: 476px;
right: 0px;
bottom: 0px;
width: 283px;
height: 14px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 518px;
right: 0px;
bottom: 0px;
width: 283px;
height: 20px;
font-size: 10px;
}
}
@media not screen and (min-height: 534px) {
#tchmi-splash-container .tchmi-splash-content-container {
font-size: x-large;
width: 420px;
height: 200px;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
margin: auto;
overflow: hidden;
background: url("Images/Splash-420x200.png");
box-shadow: 0 0 12px 12px rgba(0, 0, 0, 0.12);
}
#tchmi-splash-container .tchmi-splash-stage-progress-container {
position: absolute;
left: 160px;
top: 105px;
right: 0px;
bottom: 0px;
width: 240px;
background: #ccc;
height: 10px;
}
#tchmi-splash-container .tchmi-splash-stage-progress {
width: 0%;
height: 100%;
background: #7493CC;
}
#tchmi-splash-container .tchmi-splash-stage-info {
position: absolute;
left: 160px;
top: 115px;
right: 0px;
bottom: 0px;
width: 412px;
height: 23px;
font-size: 12px;
}
#tchmi-splash-container .tchmi-splash-version-info {
position: absolute;
left: 5px;
top: 183px;
right: 0px;
bottom: 0px;
width: 412px;
height: 20px;
font-size: 10px;
}
}
}
/**
* View Loading Spinner
* Usage: <div class="tchmi-view-loading-spinner-container"><div class="tchmi-view-loading-spinner"><div></div><div></div><div></div><div></div></div></div>
*/
:root {
--tchmi-view-loading-spinner-color: #4c6374;
}
@keyframes tchmi-view-loading-spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.tchmi-view-loading-spinner-container {
display: none; /** DEBUG ONLY */
position: relative;
width: 100%;
height: 100%;
}
.tchmi-view-loading-spinner {
display: inline-block;
width: 64px;
height: 64px;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
margin: auto;
max-width: 100%;
max-height: 100%;
overflow: hidden;
}
.tchmi-view-loading-spinner div {
box-sizing: border-box;
display: block;
position: absolute;
width: 51px;
height: 51px;
margin: 6px;
border: 6px solid var(--tchmi-view-loading-spinner-color);
border-radius: 50%;
animation: tchmi-view-loading-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: var(--tchmi-view-loading-spinner-color) transparent transparent transparent;
}
.tchmi-view-loading-spinner div:nth-child(1) {
animation-delay: -0.45s;
}
.tchmi-view-loading-spinner div:nth-child(2) {
animation-delay: -0.3s;
}
.tchmi-view-loading-spinner div:nth-child(3) {
animation-delay: -0.15s;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

8
packages.config Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Beckhoff.TwinCAT.HMI.Framework" version="14.3.360" targetFramework="native1.12-tchmi" />
<package id="Beckhoff.TwinCAT.HMI.Functions" version="14.3.340" targetFramework="native1.12-tchmi" />
<package id="Beckhoff.TwinCAT.HMI.Controls" version="14.4.1" targetFramework="native1.12-tchmi" />
<package id="Beckhoff.TwinCAT.HMI.Server.Engineering" version="22.0.7563" targetFramework="native1.12-tchmi" />
<package id="Microsoft.TypeScript.MSBuild" version="5.9.2" developmentDependency="true" />
</packages>

18
packages.xsd Normal file
View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="urn:packages" xmlns="urn:packages">
<xs:element name="packages">
<xs:complexType>
<xs:sequence>
<xs:element name="package" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="version" type="xs:string" use="required" />
<xs:attribute name="targetFramework" type="xs:string" use="optional" />
<xs:attribute name="allowedVersions" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

27
tsconfig.json Normal file
View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"compileOnSave": true,
"compilerOptions": {
"module": "none",
"target": "ES2022",
"skipLibCheck": true,
"lib": [ "DOM", "DOM.Iterable", "ES2023" ],
"types": [],
"declaration": true,
"sourceMap": true,
"noEmitOnError": true,
"noImplicitAny": false,
"noImplicitThis": true,
"strictNullChecks": true,
"noImplicitReturns": true,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"alwaysStrict": false
},
"exclude": [
"bin/"
],
"include": [
"../Infineon/Packages/Beckhoff.TwinCAT.HMI.Framework.14.3.360/runtimes/native1.12-tchmi/TcHmi.d.ts"
]
}

27
tsconfig.tpl.json Normal file
View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"compileOnSave": true,
"compilerOptions": {
"module": "none",
"target": "ES2022",
"skipLibCheck": true,
"lib": [ "DOM", "DOM.Iterable", "ES2023" ],
"types": [],
"declaration": true,
"sourceMap": true,
"noEmitOnError": true,
"noImplicitAny": false,
"noImplicitThis": true,
"strictNullChecks": true,
"noImplicitReturns": true,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"alwaysStrict": false
},
"exclude": [
"$(Output).Path/"
],
"include": [
"$(Beckhoff.TwinCAT.HMI.Framework).InstallPath/TcHmi.d.ts"
]
}