TManufacturingSubOperation.CollectParameterNames
| TManufacturingSubOperation = class (TObject) | Interface de TManufacturingSubOperation | Exemples de TManufacturingSubOperation |
Récupération de la liste des noms des paramètres d'une sous-opération.
Syntaxe
procedure CollectParameterNames(list: TStrings)
list: liste de noms des paramètres de la sous-opération.
Remarques
la liste doit être crée avant d'être passée en paramètre de la fonction.
Exemples
var gammeCroissant: TManufacturing;
var gammeSubOperation: TManufacturingSubOperation;
var listParameters: TStrings;
gammeCroissant:=TManufacturing.ConnectByGPAOID('gammeCroissant v0.00');
listParameters:=TStrings.Create;
try
gammeSubOperation:=gammeCroissant.GetOperationByNumber(10).GetManufacturingSubOperation(0);
gammeSubOperation.CollectParameterNames(listParameters);
informationDlg(listParameters.commatext);
finally
listParameters.free;
gammeCroissant.free;
end;
var gammeSubOperation: TManufacturingSubOperation;
var listParameters: TStrings;
gammeCroissant:=TManufacturing.ConnectByGPAOID('gammeCroissant v0.00');
listParameters:=TStrings.Create;
try
gammeSubOperation:=gammeCroissant.GetOperationByNumber(10).GetManufacturingSubOperation(0);
gammeSubOperation.CollectParameterNames(listParameters);
informationDlg(listParameters.commatext);
finally
listParameters.free;
gammeCroissant.free;
end;