Class TechnologistHelper
Inheritance
TechnologistHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class TechnologistHelper
Methods
CreateOperation(ComWrapper<ICamIpcTechnologist>, string, string, string)
Create new operation of the specified type
Declaration
public static ComWrapper<ICamIpcTechOperation> CreateOperation(this ComWrapper<ICamIpcTechnologist> technologistCom, string operationTypeId, string afterOperationId, string prototypeOperationId)
Parameters
Returns
EnumerateOperationTypes(ComWrapper<ICamIpcTechnologist>)
Lists all tech operation types in a technologist
Declaration
public static IEnumerable<ComWrapper<ICamIpcTechOperationType>> EnumerateOperationTypes(this ComWrapper<ICamIpcTechnologist> technologistCom)
Parameters
Returns
EnumerateOperations(ComWrapper<ICamIpcTechnologist>, TCamApiReorderingMode)
Lists all tech operations in a technologist
Declaration
public static IEnumerable<ComWrapper<ICamIpcTechOperation>> EnumerateOperations(this ComWrapper<ICamIpcTechnologist> technologistCom, TCamApiReorderingMode reorderingMode)
Parameters
Returns
ExportOperation(ComWrapper<ICamIpcTechnologist>, string, string)
Save the operation (with its sub-tree) to an .eop file, so it can later be imported with ImportOperation
Declaration
public static void ExportOperation(this ComWrapper<ICamIpcTechnologist> technologistCom, string operationId, string filePath)
Parameters
GetChannelOperations(ComWrapper<ICamIpcTechnologist>, int)
Declaration
public static IEnumerable<ComWrapper<ICamIpcTechOperation>> GetChannelOperations(this ComWrapper<ICamIpcTechnologist> technologistCom, int channelIndex)
Parameters
Returns
GetOperationById(ComWrapper<ICamIpcTechnologist>, string)
Find operation by its unique identifier (GUID)
Declaration
public static ComWrapper<ICamIpcTechOperation> GetOperationById(this ComWrapper<ICamIpcTechnologist> technologistCom, string operationId)
Parameters
Returns
ImportOperation(ComWrapper<ICamIpcTechnologist>, string, string)
Import operations from an .eop file, inserting them right after the specified operation.
Pass an empty afterOperationId to append them to the end of the technology tree.
Returns the identifiers of the inserted operations
Declaration
public static ComWrapper<IListString> ImportOperation(this ComWrapper<ICamIpcTechnologist> technologistCom, string filePath, string afterOperationId = "")
Parameters
Returns
MoveOperation(ComWrapper<ICamIpcTechnologist>, string, string)
Move the operation in the technology tree to the position right after the specified one.
Pass the identifier of the root operation to make the operation the first one.
To place the operation into a group, pass the identifier of the last operation inside that group
Declaration
public static void MoveOperation(this ComWrapper<ICamIpcTechnologist> technologistCom, string operationId, string afterOperationId)
Parameters
OperationCatalogList(ComWrapper<ICamIpcTechnologist>)
Operation catalogs of the "New operation" window
Declaration
public static ComWrapper<ICamIpcOperationCatalogList> OperationCatalogList(this ComWrapper<ICamIpcTechnologist> technologistCom)
Parameters
Returns
RootOperation(ComWrapper<ICamIpcTechnologist>)
Root operation of the technology tree
Declaration
public static ComWrapper<ICamIpcTechOperation> RootOperation(this ComWrapper<ICamIpcTechnologist> technologistCom)
Parameters
Returns