예제 #1
0
        internal static int LoadNew(
            IntPtr proc,
            int parIndex,
            int err,
            out HBeadInspectionModel[] obj)
        {
            HTuple tuple;

            err = HTuple.LoadNew(proc, parIndex, err, out tuple);
            obj = new HBeadInspectionModel[tuple.Length];
            for (int index = 0; index < tuple.Length; ++index)
            {
                obj[index] = new HBeadInspectionModel(tuple[index].IP);
            }
            return(err);
        }
예제 #2
0
 internal static int LoadNew(IntPtr proc, int parIndex, int err, out HBeadInspectionModel obj)
 {
     obj = new HBeadInspectionModel(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }