Table of Contents

Interface IInstrument

Namespace
AT.Librarys.Container.Toolkit.Instrument
Assembly
AT.Librarys.Container.dll

仪表接口

public interface IInstrument : IToolkitBase, IModuleBase
Inherited Members
Extension Methods

Properties

Connected

连接状态

bool Connected { get; }

Property Value

bool

Station

工位

IInstrumentStation Station { get; set; }

Property Value

IInstrumentStation

Methods

Connect()

连接

bool Connect()

Returns

bool

Disconnect()

断开连接

bool Disconnect()

Returns

bool

Execute(string, InstrumentItemPara)

执行

List<InstrumentItemResult> Execute(string sn, InstrumentItemPara para)

Parameters

sn string
para InstrumentItemPara

Returns

List<InstrumentItemResult>

GetLimit(string, out double, out double)

获取上下限

bool GetLimit(string itemName, out double lu, out double ll)

Parameters

itemName string

测量项名称

lu double

上限

ll double

下限

Returns

bool

GetResultValueName()

获取结果值名称

List<string> GetResultValueName()

Returns

List<string>

SetLimit(string, double, double)

设置上下限

bool SetLimit(string itemName, double lu, double ll)

Parameters

itemName string

测量项名称

lu double

上限

ll double

下限

Returns

bool

Trigger(string)

触发

string Trigger(string cmd)

Parameters

cmd string

命令

Returns

string