Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Controls.14.4.1/runtimes/native1.12-tchmi/Helpers/TcHmiSevenSegmentElement/TcHmiSevenSegmentElement.d.ts
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

36 lines
1.6 KiB
TypeScript

// 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";
// ***************************************************************************
export declare class TcHmiSevenSegmentElement extends HTMLElement {
/** The displayed value */
protected __value: TcHmiSevenSegmentElement.Value | null | undefined;
/** The svg of a single seven segment element. Each segment can be targeted via CSS */
private __sevenSegmentSvg;
/** The svg for a decimal point */
private __decimalPointSvg;
private __resizeObserver;
constructor();
/** Called when the element is conneted to the DOM */
connectedCallback(): void;
/** Called when the element is removed fromt the DOM */
disconnectedCallback(): void;
setValue(newValue: TcHmiSevenSegmentElement.Value | null): void;
protected __processValue(): void;
protected __updateDimensions(): void;
protected __updateSVG(): void;
}
export declare namespace TcHmiSevenSegmentElement {
type Value = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | '-' | '.';
}
import _TcHmiSevenSegmentElement = TcHmiSevenSegmentElement;
declare global {
namespace TcHmi.Controls.Helpers {
let TcHmiSevenSegmentElement: typeof _TcHmiSevenSegmentElement;
type TcHmiSevenSegmentElement = _TcHmiSevenSegmentElement;
namespace TcHmiSevenSegmentElement {
type Value = _TcHmiSevenSegmentElement.Value;
}
}
}