@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
43 lines (42 loc) • 1.27 kB
TypeScript
import type { OWPlcDevice } from "./OWPlcDevice";
import type { Source } from "./Source";
export interface OWPlcItemAttributes {
id: string;
objectId: string;
createdAt: Date;
updatedAt: Date;
address: string;
DeviceID?: OWPlcDevice;
enabled: boolean;
extraOptions?: any;
label: string;
note?: string;
onChange: boolean;
source?: Source;
type: string;
unit: string;
}
export declare class OWPlcItem extends Parse.Object<OWPlcItemAttributes> {
static className: string;
constructor(data?: Partial<OWPlcItemAttributes>);
get address(): string;
set address(value: string);
get DeviceID(): OWPlcDevice | undefined;
set DeviceID(value: OWPlcDevice | undefined);
get enabled(): boolean;
set enabled(value: boolean);
get extraOptions(): any | undefined;
set extraOptions(value: any | undefined);
get label(): string;
set label(value: string);
get note(): string | undefined;
set note(value: string | undefined);
get onChange(): boolean;
set onChange(value: boolean);
get source(): Source | undefined;
set source(value: Source | undefined);
get type(): string;
set type(value: string);
get unit(): string;
set unit(value: string);
}