Added minimal functionality for Robot teaching

- Added minimal HMI
- Added possibility to open and close all chamber doors
This commit is contained in:
2026-01-17 09:20:39 +01:00
parent 9f058db2a3
commit 2d11c43579
2274 changed files with 912690 additions and 162 deletions

View File

@@ -0,0 +1,56 @@
/** Styles for all themes */
.TcHmi_Controls_Beckhoff_TcHmiRadioButton {
--square-size: 26px; /* drop default height of 26px */
overflow: hidden;
display: grid;
grid-template-columns: calc(var(--square-size) + 5px) minmax(0, 1fr);
grid-auto-flow: dense;
white-space: pre;
}
.TcHmi_Controls_Beckhoff_TcHmiRadioButton-template {
width: var(--square-size);
height: var(--square-size);
justify-self: start;
z-index: 1;
overflow: hidden;
margin: 0;
font-size: 0; /* Set to 0, otherwise whitespace takes up space and pushes the checkmark out of the control */
}
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.text-left {
/* 2 columns: [ column1 (text): min 0, max all available space ] [ column2 (radiobutton): min square-size, max square-size + 5px ] */
grid-template-columns: minmax(0, 1fr) minmax(var(--square-size), calc(var(--square-size) + 5px));
}
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.text-left .TcHmi_Controls_Beckhoff_TcHmiRadioButton-template {
grid-column: 2;
justify-self: end;
}
/* Adjust size of overlay only */
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.TcHmi_Controls_System_TcHmiControl-disabled::after {
top: auto;
left: 0;
width: calc(var(--square-size) + 2px);
height: calc(var(--square-size) + 2px);
border-radius: calc(var(--square-size) / 2);
}
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.TcHmi_Controls_System_TcHmiControl-operate-disallowed::after {
content: '';
position: absolute;
top: auto;
left: 0;
width: calc(var(--square-size) + 2px);
height: calc(var(--square-size) + 2px);
border-radius: calc(var(--square-size) / 2);
z-index: 100;
}
/* Moving overlay container to the other side with text on the left */
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.text-left.TcHmi_Controls_System_TcHmiControl-operate-disallowed::after,
.TcHmi_Controls_Beckhoff_TcHmiRadioButton.text-left.TcHmi_Controls_System_TcHmiControl-disabled::after {
left: unset;
right: 0;
}