DeviceProxy
Constructor Summary
Public Constructor | ||
public |
constructor(devname: string) |
Method Summary
Public Methods | ||
public |
command_inout(cmdname: string, argin: undefined | DeviceData): Promise<DeviceData, Error> |
|
public |
|
|
public |
command_query(cmdname: string): Promise<CommandInfo, Error> |
|
public |
|
|
public |
get_attribute_info(attnames: undefined | string | string[]): Promise<AttributeInfo, Error> | Promise<AttributeInfo[], Error> |
|
public |
get_attribute_list(): Promise<string[], Error> |
|
public |
get_info(): Promise<DeviceInfo, Error> |
|
public |
get_property(propnames: string | string[] | DbDatum[]): Promise<DbDatum, Error> | Promise<DbDatum[], Error> |
|
public |
|
|
public |
|
|
public |
|
|
public |
read_attribute(attnames: string | string[]): Promise<DeviceAttribute, Error> | Promise<DeviceAttribute[], Error> |
|
public |
|
|
public |
|
|
public |
write_attribute(attrs: DeviceAttribute | DeviceAttribute[]): Promise<undefined, Error> |
|
public |
write_read_attribute(attrs: DeviceAttribute | DeviceAttribute[]): Promise<DeviceAttribute, Error> | Promise<DeviceAttribute[], Error> |
Public Constructors
Public Methods
public command_inout(cmdname: string, argin: undefined | DeviceData): Promise<DeviceData, Error> source
Params:
Name | Type | Attribute | Description |
cmdname | string | ||
argin | undefined | DeviceData |
public command_list_query(): Promise<CommandInfo[], Error> source
public command_query(cmdname: string): Promise<CommandInfo, Error> source
Params:
Name | Type | Attribute | Description |
cmdname | string |
public get_attribute_info(attnames: undefined | string | string[]): Promise<AttributeInfo, Error> | Promise<AttributeInfo[], Error> source
public get_property(propnames: string | string[] | DbDatum[]): Promise<DbDatum, Error> | Promise<DbDatum[], Error> source
public read_attribute(attnames: string | string[]): Promise<DeviceAttribute, Error> | Promise<DeviceAttribute[], Error> source
public write_attribute(attrs: DeviceAttribute | DeviceAttribute[]): Promise<undefined, Error> source
Params:
Name | Type | Attribute | Description |
attrs | DeviceAttribute | DeviceAttribute[] |
public write_read_attribute(attrs: DeviceAttribute | DeviceAttribute[]): Promise<DeviceAttribute, Error> | Promise<DeviceAttribute[], Error> source
Params:
Name | Type | Attribute | Description |
attrs | DeviceAttribute | DeviceAttribute[] |