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,205 @@
|
||||
import { TcHmiControl } from 'Beckhoff.TwinCAT.HMI.Framework/index.esm.js';
|
||||
declare class TcHmiDateTimeDisplay extends TcHmiControl.Control {
|
||||
#private;
|
||||
/**
|
||||
* Constructor of the control
|
||||
* @param element Element from HTML (internal, do not use)
|
||||
* @param pcElement precompiled Element (internal, do not use)
|
||||
* @param attrs Attributes defined in HTML in a special format (internal, do not use)
|
||||
*/
|
||||
constructor(element: JQuery, pcElement: JQuery, attrs: TcHmi.Controls.ControlAttributeList);
|
||||
/** HTML-Template-element */
|
||||
protected __elementTemplateRoot: HTMLElement;
|
||||
/** The time which will be displayed by this control (time, date or both) */
|
||||
protected __timeDisplayLayout: string | null | undefined;
|
||||
/** Date and time text color */
|
||||
protected __textColor: TcHmi.SolidColor | null | undefined;
|
||||
/** Time font size */
|
||||
protected __textFontSize: number | undefined;
|
||||
/** Text time font size unit of the breadcrumb buttons */
|
||||
protected __textFontSizeUnit: TcHmi.FontSizeUnit | undefined;
|
||||
/** Font family of the text */
|
||||
protected __textFontFamily: TcHmi.FontFamily | null | undefined;
|
||||
/** Font style of the text" */
|
||||
protected __textFontStyle: TcHmi.FontStyle | undefined;
|
||||
/** Font weight of the text */
|
||||
protected __textFontWeight: TcHmi.FontWeight | undefined;
|
||||
/** Horizontal alignment of the text */
|
||||
protected __textHorizontalAlignment: TcHmi.HorizontalAlignment | null | undefined;
|
||||
/** Vertical alignment of the text */
|
||||
protected __textVerticalAlignment: TcHmi.VerticalAlignment | null | undefined;
|
||||
/** Time and date update loop */
|
||||
protected __readLoopID: number;
|
||||
/**
|
||||
* If raised, the control object exists in control cache and constructor of each inheritation level was called.
|
||||
* This function is only to be used by the System. Other function calls are not intended.
|
||||
*/
|
||||
__previnit(): void;
|
||||
/**
|
||||
* Is called during control initialize phase after attribute setter have been called based on it's default or initial html dom values.
|
||||
* This function is only to be used by the System. Other function calls are not intended.
|
||||
*/
|
||||
__init(): void;
|
||||
/**
|
||||
* Is called by the system after the control instance gets part of the current DOM.
|
||||
* This function is only to be used by the System. Other function calls are not intended.
|
||||
*/
|
||||
__attach(): void;
|
||||
/**
|
||||
* Is called by the system after the control instance is no longer part of the current DOM.
|
||||
* This function is only to be used by the System. Other function calls are not intended.
|
||||
*/
|
||||
__detach(): void;
|
||||
/**
|
||||
* Destroy the current control instance.
|
||||
* Will be called automatically if system destroys control!
|
||||
*/
|
||||
destroy(): void;
|
||||
/**
|
||||
* Function to update time
|
||||
*/
|
||||
protected __updateTime(): void;
|
||||
/******************************** time to display ***********************************************
|
||||
* Sets the time to display and calls the associated process function (processTimeDisplayLayout).
|
||||
* @param valueNew The new value for TimeDisplayLayout.
|
||||
*/
|
||||
setTimeDisplayLayout(valueNew: TimeDisplayLayout | null): void;
|
||||
/**
|
||||
* Returns the current value of TimeDisplayLayout.
|
||||
* @returns The current value of TimeDisplayLayout.
|
||||
*/
|
||||
getTimeDisplayLayout(): string | null | undefined;
|
||||
/**
|
||||
* Processor function for 'data-tchmi-time-display-layout' attribute.
|
||||
*/
|
||||
protected __processTimeDisplayLayout(): void;
|
||||
/********************************************************************** text color ******
|
||||
* Setter function for 'data-tchmi-text-color' attribute.
|
||||
*/
|
||||
setTextColor(valueNew: TcHmi.SolidColor | null): void;
|
||||
/**
|
||||
* The watch callback for the textColor object resolver.
|
||||
*/
|
||||
protected __onResolverForTextColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
|
||||
/**
|
||||
* Getter function for 'data-tchmi-text-color' attribute.
|
||||
*/
|
||||
getTextColor(): TcHmi.SolidColor | null | undefined;
|
||||
/**
|
||||
* Processor function for 'data-tchmi-text-color' attribute.
|
||||
*/
|
||||
protected __processTextColor(): void;
|
||||
/****************************************************** text font size ******************************
|
||||
* Sets the font size and calls the associated process function (processTextFontSize).
|
||||
* @param valueNew The new value for TextFontSize.
|
||||
*/
|
||||
setTextFontSize(valueNew: number | null): void;
|
||||
/**
|
||||
* Returns the current value of TextFontSize.
|
||||
* @returns The current value of TextFontSize.
|
||||
*/
|
||||
getTextFontSize(): number | undefined;
|
||||
/**
|
||||
* Processes the current textFontSize attribute value.
|
||||
*/
|
||||
protected __processTextFontSize(): void;
|
||||
/******************************** Text Font Size Unit ***********************************************
|
||||
* Sets the font size unit and calls the associated process function (processTextFontSizeUnit).
|
||||
* @param valueNew The new value for textFontSizeUnit.
|
||||
*/
|
||||
setTextFontSizeUnit(valueNew: TcHmi.FontSizeUnit | null): void;
|
||||
/**
|
||||
* Returns the current value of TextFontSizeUnit.
|
||||
* @returns The current value of TextFontSizeUnit.
|
||||
*/
|
||||
getTextFontSizeUnit(): TcHmi.FontSizeUnit | undefined;
|
||||
/**
|
||||
* Processes the current TextFontSizeUnit attribute value.
|
||||
*/
|
||||
protected __processTextFontSizeUnit(): void;
|
||||
/******************************************** text horizontal alignment ********************************************
|
||||
* Sets the textHorizontalAlignment value and calls the associated process function (processTextHorizontalAlignment).
|
||||
* @param valueNew The new value for textHorizontalAlignment.
|
||||
*/
|
||||
setTextHorizontalAlignment(valueNew: TcHmi.HorizontalAlignment | null): void;
|
||||
/**
|
||||
* Returns the current value of horizontalTextAligment.
|
||||
* @returns The current value of horizontalTextAligment.
|
||||
*/
|
||||
getTextHorizontalAlignment(): TcHmi.HorizontalAlignment | null | undefined;
|
||||
/**
|
||||
* Processes the current textHorizontalAlignment attribute value.
|
||||
*/
|
||||
protected __processTextHorizontalAlignment(): void;
|
||||
/**************************************************** text vertical alignment **************************************
|
||||
* Sets the textVerticalAlignment value and calls the associated process function (processTextVerticalAlignment).
|
||||
* @param valueNew The new value for textVerticalAlignment.
|
||||
*/
|
||||
setTextVerticalAlignment(valueNew: TcHmi.VerticalAlignment | null): void;
|
||||
/**
|
||||
* Returns the current value of horizontalTextAligment.
|
||||
* @returns The current value of horizontalTextAligment.
|
||||
*/
|
||||
getTextVerticalAlignment(): TcHmi.VerticalAlignment | null | undefined;
|
||||
/**
|
||||
* Processes the current textVerticalAlignment attribute value.
|
||||
*/
|
||||
protected __processTextVerticalAlignment(): void;
|
||||
/******************************************* text font family ***************************************
|
||||
* Sets the font family and calls the associated process function (processTextFontFamily).
|
||||
* @param valueNew The new value for textFontFamily.
|
||||
*/
|
||||
setTextFontFamily(valueNew: TcHmi.FontFamily | null): void;
|
||||
/**
|
||||
* Returns the current value of textFontFamily.
|
||||
* @returns The current value of textFontFamily.
|
||||
*/
|
||||
getTextFontFamily(): string | null | undefined;
|
||||
/**
|
||||
* Processes the current textFontFamily attribute value.
|
||||
*/
|
||||
protected __processTextFontFamily(): void;
|
||||
/********************************************************** text font style ******************
|
||||
* Sets the font style and calls the associated process function (processTextFontStyle).
|
||||
* @param valueNew The new value for textFontStyle.
|
||||
*/
|
||||
setTextFontStyle(valueNew: TcHmi.FontStyle | null): void;
|
||||
/**
|
||||
* Returns the current value of textFontStyle.
|
||||
* @returns The current value of textFontStyle.
|
||||
*/
|
||||
getTextFontStyle(): TcHmi.FontStyle | undefined;
|
||||
/**
|
||||
* Processes the current textFontStyle attribute value.
|
||||
*/
|
||||
protected __processTextFontStyle(): void;
|
||||
/*********************************************** text font weight *******************************************
|
||||
* Sets the font weight and calls the associated process function (processTextFontWeight).
|
||||
* @param valueNew The new value for textFontWeight.
|
||||
*/
|
||||
setTextFontWeight(valueNew: TcHmi.FontWeight | null): void;
|
||||
/**
|
||||
* Returns the current value of textFontWeight.
|
||||
* @returns The current value of textFontWeight.
|
||||
*/
|
||||
getTextFontWeight(): TcHmi.FontWeight | undefined;
|
||||
/**
|
||||
* Processes the current textFontWeight attribute value.
|
||||
*/
|
||||
protected __processTextFontWeight(): void;
|
||||
}
|
||||
export type TimeDisplayLayout = 'Time' | 'Date' | 'TimeDateSingleLine' | 'TimeDateMultiLine' | 'DateTimeSingleLine' | 'DateTimeMultiLine';
|
||||
export { TcHmiDateTimeDisplay as Control };
|
||||
declare const _TcHmiDateTimeDisplay: typeof TcHmiDateTimeDisplay;
|
||||
type tTcHmiDateTimeDisplay = TcHmiDateTimeDisplay;
|
||||
type tTimeDisplayLayout = TimeDisplayLayout;
|
||||
declare global {
|
||||
namespace TcHmi.Controls.Beckhoff {
|
||||
const TcHmiDateTimeDisplay: typeof _TcHmiDateTimeDisplay;
|
||||
type TcHmiDateTimeDisplay = tTcHmiDateTimeDisplay;
|
||||
namespace TcHmiDateTimeDisplay {
|
||||
type TimeDisplayLayout = tTimeDisplayLayout;
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=TcHmiDateTimeDisplay.esm.d.ts.map
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user