Exemplo n.º 1
0
        public static HCalibData Deserialize(Stream stream)
        {
            HCalibData hcalibData = new HCalibData();

            hcalibData.DeserializeCalibData(HSerializedItem.Deserialize(stream));
            return(hcalibData);
        }
Exemplo n.º 2
0
        public HCalibData Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeCalibData();
            HCalibData      hcalibData           = new HCalibData();

            hcalibData.DeserializeCalibData(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hcalibData);
        }
Exemplo n.º 3
0
        internal static int LoadNew(IntPtr proc, int parIndex, int err, out HCalibData[] obj)
        {
            HTuple tuple;

            err = HTuple.LoadNew(proc, parIndex, err, out tuple);
            obj = new HCalibData[tuple.Length];
            for (int index = 0; index < tuple.Length; ++index)
            {
                obj[index] = new HCalibData(tuple[index].IP);
            }
            return(err);
        }
Exemplo n.º 4
0
 internal static int LoadNew(IntPtr proc, int parIndex, int err, out HCalibData obj)
 {
     obj = new HCalibData(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }