// Full signature private bool AddCommand(HbInputItem inputItem, string commandAction, string commandObject, string commandModifier, List <HbXYZ> hbXyzList, HbCurve hbCurve, HbCurveArrArray hbCurveArrayArray, HbReferencePoint hbReferencePoint, HbReferenceArray hbReferenceArray, HbReferenceArrayArray hbReferenceArrayArray, List <string> stringValues, List <int> intValues, List <double> doubleValues, List <bool> boolValues) { // Always required inputItem.CommandAction = commandAction; inputItem.CommandObject = commandObject; // Requirements depend on command; null values are OK inputItem.CommandModifier = commandModifier; inputItem.ListHbXYZ = hbXyzList; inputItem.HbCurve = hbCurve; // includes all Hb curves but not ReferencePoint inputItem.HbCurveArrArray = hbCurveArrayArray; // includes HbCurveArray as single item inputItem.HbReferencePoint = hbReferencePoint; inputItem.HbReferenceArray = hbReferenceArray; inputItem.HbReferenceArrayArray = hbReferenceArrayArray; // includes HbReferenceArray as single item inputItem.StringValues = stringValues; inputItem.IntValues = intValues; inputItem.DoubleValues = doubleValues; inputItem.BoolValues = boolValues; return(true); }
public void Add(HbReferencePoint hbReferencePoint) { HbReferencePoints.Add(hbReferencePoint); }
// For ReferencePoint, ReferenceArray and ReferenceArrayArray private bool AddCommand(HbInputItem inputItem, string commandAction, string commandObject, string commandModifier, HbReferencePoint hbReferencePoint, HbReferenceArray hbReferenceArray, HbReferenceArrayArray hbReferenceArrayArray) { return(AddCommand(inputItem, commandAction, commandObject, commandModifier, null, null, null, hbReferencePoint, hbReferenceArray, hbReferenceArrayArray, null, null, null, null)); }
// ****************************************************** Constructor *********************************************************** public GetHbReferencePoint(DataRow dataRow) { this.HbReferencePoint = new HbReferencePoint(new GetHbValue(dataRow[4].ToString()).AsHbXYZ()); }