@joergmittaglawo/dmvconfig
Version:
DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.
36 lines (35 loc) • 1.45 kB
TypeScript
import * as VScript from "vscript";
export declare const lift: {
readonly PortStatistics: (kwl: string | null, socket: VScript.VSocket) => PortStatistics | null;
readonly Counter: (kwl: string | null, socket: VScript.VSocket) => Counter | null;
};
export declare const lower: {
readonly PortStatistics: (ref: PortStatistics | null) => string | null;
readonly Counter: (ref: Counter | null) => string | null;
};
export declare class Counter {
readonly raw: VScript.Subtree;
constructor(raw: VScript.Subtree);
get bytes_total(): VScript.rKeyword<number, number, Counter>;
get packets_total(): VScript.rKeyword<number, number, Counter>;
get bytes_per_sec(): VScript.rKeyword<number, number, Counter>;
get packets_per_sec(): VScript.rKeyword<number, number, Counter>;
}
export declare class CounterAsArrayRow<ParentType extends VScript.StronglyTypedSubtree> extends Counter {
readonly index: number;
readonly parent: ParentType;
constructor(st: VScript.Subtree, index: number, parent: ParentType);
}
export declare class PortStatistics {
readonly raw: VScript.Subtree;
constructor(raw: VScript.Subtree);
get tx_cpu(): Counter;
get rx_unicast(): Counter;
get rx_broadcast(): Counter;
get rx_multicast(): Counter;
get rx_crc_error(): Counter;
get rx_wrong_vlan(): Counter;
get rx_error(): Counter;
get rx_too_long(): Counter;
get rx_too_short(): Counter;
}