Added minimal functionality for Robot teaching
- Added minimal HMI - Added possibility to open and close all chamber doors
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
||||
"apiVersion": 1,
|
||||
"name": "TcHmiPolyline",
|
||||
"namespace": "TcHmi.Controls.Beckhoff",
|
||||
"displayName": "Polyline",
|
||||
"version": {
|
||||
"full": "14.4.1.0",
|
||||
"major": 14,
|
||||
"minor": 4,
|
||||
"build": 1,
|
||||
"revision": 0
|
||||
},
|
||||
"visible": true,
|
||||
"themeable": "Standard",
|
||||
"base": "TcHmi.Controls.Beckhoff.TcHmiPolygon",
|
||||
"description": "The polyline control defines an open shape consisting of a set of connected straight line segments.\nThe last point is not necessarily connected to the first point.",
|
||||
"defaultDesignerEvent": ".onPressed",
|
||||
"properties": {
|
||||
"containerControl": false,
|
||||
"geometry": {
|
||||
"width": 200,
|
||||
"height": 200
|
||||
}
|
||||
},
|
||||
"icons": [
|
||||
{
|
||||
"name": "Icons/16x16.png",
|
||||
"width": 16,
|
||||
"height": 16
|
||||
}
|
||||
],
|
||||
"template": "Template.html",
|
||||
"dependencyFiles": [
|
||||
{
|
||||
"name": "../dist/TcHmiPolyline/TcHmiPolyline.esm.js",
|
||||
"type": "EsModule",
|
||||
"description": "Contains all the main logic as ES module."
|
||||
}
|
||||
],
|
||||
"attributes": [],
|
||||
"attributeCategories": [],
|
||||
"functions": [],
|
||||
"dataTypes": [
|
||||
{
|
||||
"schema": "Schema/Types.Schema.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 313 B |
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema",
|
||||
"definitions": {
|
||||
"TcHmi.Controls.Beckhoff.TcHmiPolyline": {
|
||||
"$schema": "http://json-schema.org/draft-04/schema",
|
||||
"type": "object",
|
||||
"frameworkInstanceOf": "TcHmi.Controls.System.TcHmiControl",
|
||||
"frameworkControlType": "TcHmiPolyline",
|
||||
"frameworkControlNamespace": "TcHmi.Controls.Beckhoff"
|
||||
},
|
||||
"TcHmiPolyline": {
|
||||
"$ref": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiPolyline"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Compatibility file for non-module typescript compiles without adjustments.
|
||||
// Use the following line for modern code (needs adjustments to tsconfig.json#configOptions/paths)
|
||||
// import { TcHmiControl } from "Beckhoff.TwinCAT.HMI.Framework/index.esm.js";
|
||||
// ***************************************************************************
|
||||
|
||||
declare class TcHmiPolyline extends TcHmi.Controls.Beckhoff.TcHmiPolygon {
|
||||
#private;
|
||||
}
|
||||
export { TcHmiPolyline as Control };
|
||||
declare const _TcHmiPolyline: typeof TcHmiPolyline;
|
||||
type tTcHmiPolyline = TcHmiPolyline;
|
||||
declare global {
|
||||
namespace TcHmi.Controls.Beckhoff {
|
||||
const TcHmiPolyline: typeof _TcHmiPolyline;
|
||||
type TcHmiPolyline = tTcHmiPolyline;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="TcHmi_Controls_Beckhoff_TcHmiPolygon-template TcHmi_Controls_Beckhoff_TcHmiPolyline-template tchmi-box">
|
||||
<svg
|
||||
class="TcHmi_Controls_Beckhoff_TcHmiPolygon-template-svg"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%"
|
||||
height="100%"
|
||||
>
|
||||
<!-- This element will be used from TcHmiPolygon control code! This is possible because the DOM Apis are the same. -->
|
||||
<polyline class="TcHmi_Controls_Beckhoff_TcHmiPolygon-template-svg-polygon"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
Reference in New Issue
Block a user