Class Product
Inheritance
Inherited Members
Namespace: Virinco.WATS.Teststand.MES
Assembly: WATS_Teststand_Support.dll
Syntax
public static class Product
Methods
IdentifyProduct(String, Int32, Boolean, Boolean, Boolean, out String, out String, out String, out Config.WATS_OperationType, out Boolean, SequenceContext, String, String, Boolean)
Dialog box allowing the operator to select a part number and/or revision available in WATS MES – Product Manager
Declaration
public static void IdentifyProduct(string Filter, int TopCount, bool FreePartnumber, bool IncludeRevision, bool IncludeSerialNumber, out string SelectedPartNumber, out string SelectedSerialNumber, out string SelectedRevision, out Config.WATS_OperationType SelectedOpType, out bool Continue, SequenceContext SeqContext, string CustomText = "", string culture = "en", bool AlwaysOnTop = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | Filter | Filter Part Numbers from server (e.g. “2%” will only look up PNs starting with 2) |
System.Int32 | TopCount | Max number of PNs returned from the server. (0=unlimited ) |
System.Boolean | FreePartnumber | If True, operator can edit the PN |
System.Boolean | IncludeRevision | If True, operator can select Revision after selecting PN |
System.Boolean | IncludeSerialNumber | If True, operator can type Serial Number (text box) |
System.String | SelectedPartNumber | Returns Part Number |
System.String | SelectedSerialNumber | Returns Serial Number |
System.String | SelectedRevision | Returns Revision |
Config.WATS_OperationType | SelectedOpType | Returns the selected test operation details |
System.Boolean | Continue | True if the operator click OK |
NationalInstruments.TestStand.Interop.API.SequenceContext | SeqContext | TS “ThisContext” ref |
System.String | CustomText | Text will be displayed in the dialog window |
System.String | culture | Language Culture Name (e.g. “zh-CN”) (Translation Module) |
System.Boolean | AlwaysOnTop | Dialog window always on top |
isConnected(out Boolean)
Check connection to WATS MES Server
Declaration
public static bool isConnected(out bool isConnected)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isConnected | True if the Client can access the WATS MES Server |
Returns
Type | Description |
---|---|
System.Boolean | True if the Client can access the WATS MES Server |