Connector
Tangojs connector interface. This class contains backend-specific logic. Each connector plugin have to provide implementation of this interface.
Method Summary
Public Methods
public delete_device_property(devname: string, propnames: string[]): Promise<undefined, Error> source
public device_command_inout(devname: string, cmdname: string, argin: undefined | DeviceData): Promise<DeviceData, Error> source
Params:
Name | Type | Attribute | Description |
devname | string | ||
cmdname | string | ||
argin | undefined | DeviceData |
public device_command_list_query(devname: string): Promise<CommandInfo[], Error> source
Params:
Name | Type | Attribute | Description |
devname | string |
public get_device_attribute_info(devname: string, attnames: string[]): Promise<AttributeInfo[], Error> source
public get_device_attribute_list(devname: string): Promise<string[], Error> source
Params:
Name | Type | Attribute | Description |
devname | string |
public get_device_domain(pattern: string): Promise<string[], Error> source
Params:
Name | Type | Attribute | Description |
pattern | string |
public get_device_family(pattern: string): Promise<string[], Error> source
Params:
Name | Type | Attribute | Description |
pattern | string |
public get_device_info(devname: string): Promise<DeviceInfo, Error> source
Params:
Name | Type | Attribute | Description |
devname | string |
public get_device_list(pattern: string): Promise<string[], Error> source
Params:
Name | Type | Attribute | Description |
pattern | string |
public get_device_member(pattern: string): Promise<string[], Error> source
Params:
Name | Type | Attribute | Description |
pattern | string |
public get_device_state(devname: string): Promise<DevState, Error> source
Params:
Name | Type | Attribute | Description |
devname | string |
public get_device_status(devname: string): Promise<string, Error> source
Params:
Name | Type | Attribute | Description |
devname | string |
public put_device_property(devname: string, properties: DbDatum[]): Promise<undefined, Error> source
public read_device_attribute(devname: string, attname: string[]): Promise<DeviceAttribute[], Error> source
public write_device_attribute(devname: string, attrs: DeviceAttribute[]): Promise<undefined, Error> source
Params:
Name | Type | Attribute | Description |
devname | string | ||
attrs | DeviceAttribute[] |
public write_read_device_attribute(devname: string, attrs: DeviceAttribute[]): Promise<DeviceAttribute[], Error> source
Params:
Name | Type | Attribute | Description |
devname | string | ||
attrs | DeviceAttribute[] |