/*-------------------------------------------------------------------------------------------------------------- * Copyright (c) insite-gmbh. All rights reserved. * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------------------------*/ import { Subject } from "rxjs/Subject"; import { Observable } from 'rxjs/Rx'; import { DataChangeEvent } from "./dataChangedEvent"; import { IDisposable } from '../../../../@inax/common' /** * This stores the Subscriber information and the subject to execute the callback on the subscriber * @class PlcSubscriber * @author insite-gmbh */ export interface IPlcEventProxy extends IDisposable { /** * This is the plc group. All Varibales in this group are red at the same cycle and the same connection. * * @property Group * @type {string} */ Group:string; /** * This is the mapping where the variables are specified. * * @property Mapping * @type {string} */ Mapping: string; /** * This are a comma separated list of active variables * * @property Variables * @type {string} */ Variables: string; /** * Signals if the variable is an absolute address or a symbolic varname * * @property Absolute * @type {boolean} */ Absolute: boolean; /** * You can call subscribe on this property to get informed for updates. * * @property ChangeEvent * @type {Observable} */ ChangeEvent: Observable; }