Files
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

34 lines
1.3 KiB
TypeScript

import type { Control as TcHmiEventGrid } from './TcHmiEventGrid.esm.js';
import type { Control as TcHmiDatagrid } from '../TcHmiDatagrid/TcHmiDatagrid.esm.js';
import type { Control as TcHmiButton } from '../TcHmiButton/TcHmiButton.esm.js';
import { Popup } from './Popup.js';
/**
* A popup asking for confirmation berfore confirming all alarms. Contains a yes and a no button.
*/
export declare class ConfirmAllPopup extends Popup {
#private;
/**
* Creates a new ConfirmAllPopup.
* @param element The HTML element that hosts the popup.
* @param control The control owning the popup.
*/
constructor(element: HTMLElement, control: TcHmiEventGrid);
protected __alarms: TcHmi.Server.Events.Alarm[];
protected __datagrid: TcHmiDatagrid;
protected __yesButton: TcHmiButton;
protected __elementAlarmCount: HTMLElement;
/**
* Destroys the popup and all its controls. Also removes all DOM event handlers
*/
destroy(): void;
/**
* Updates the content of the popup.
* @param event The event whose details should be shown.
*/
update(alarms: TcHmi.Server.Events.Alarm[]): void;
/**
* Returns the currently shown alarms.
*/
getAlarms(): TcHmi.Server.Events.Alarm<TcHmi.Dictionary<any>>[];
}
//# sourceMappingURL=ConfirmAllPopup.d.ts.map