示例#1
0
		public int Sub(Epsara.DataVector b) {
			int raw_ret = epsara_data_vector_sub(Handle, b == null ? IntPtr.Zero : b.Handle);
			int ret = raw_ret;
			return ret;
		}
示例#2
0
		public int Copy(Epsara.DataVector src) {
			int raw_ret = epsara_data_vector_copy(Handle, src == null ? IntPtr.Zero : src.Handle);
			int ret = raw_ret;
			return ret;
		}
 public DataMeasurementForallCallbackWrapper(Epsara.DataMeasurementForallCallback managed)
 {
     this.managed = managed;
     if (managed != null)
         NativeDelegate = new DataMeasurementForallCallbackNative (NativeCallback);
 }
示例#4
0
		public int Swap(Epsara.DataVector w) {
			int raw_ret = epsara_data_vector_swap(Handle, w == null ? IntPtr.Zero : w.Handle);
			int ret = raw_ret;
			return ret;
		}
示例#5
0
		public int MulElements(Epsara.DataMatrix b) {
			int raw_ret = epsara_data_matrix_mul_elements(Handle, b == null ? IntPtr.Zero : b.Handle);
			int ret = raw_ret;
			return ret;
		}
 void InvokeNative(Epsara.DataMeasurement measurement_data)
 {
     native_cb (measurement_data == null ? IntPtr.Zero : measurement_data.Handle, __data);
 }
示例#7
0
		public int Sub(Epsara.DataMatrix b) {
			int raw_ret = epsara_data_matrix_sub(Handle, b == null ? IntPtr.Zero : b.Handle);
			int ret = raw_ret;
			return ret;
		}
示例#8
0
		public int Copy(Epsara.DataMatrix src) {
			int raw_ret = epsara_data_matrix_copy(Handle, src == null ? IntPtr.Zero : src.Handle);
			int ret = raw_ret;
			return ret;
		}
示例#9
0
		public void ResetElossOfDetector(Epsara.DataDetector detector) {
			epsara_data_rbs_measurement_reset_eloss_of_detector(Handle, detector == null ? IntPtr.Zero : detector.Handle);
		}
示例#10
0
		public int Swap(Epsara.DataMatrix w) {
			int raw_ret = epsara_data_matrix_swap(Handle, w == null ? IntPtr.Zero : w.Handle);
			int ret = raw_ret;
			return ret;
		}
示例#11
0
		public void ResetElossOfBeam(Epsara.DataBeam beam) {
			epsara_data_rbs_measurement_reset_eloss_of_beam(Handle, beam == null ? IntPtr.Zero : beam.Handle);
		}
示例#12
0
		public void ResetSpectraOfBeamDetector(Epsara.DataBeam beam, Epsara.DataDetector detector) {
			epsara_data_rbs_measurement_reset_spectra_of_beam_detector(Handle, beam == null ? IntPtr.Zero : beam.Handle, detector == null ? IntPtr.Zero : detector.Handle);
		}
示例#13
0
		public void ResetFullSpectra(Epsara.DataBeam beam, Epsara.DataDetector detector) {
			epsara_data_rbs_measurement_reset_full_spectra(Handle, beam == null ? IntPtr.Zero : beam.Handle, detector == null ? IntPtr.Zero : detector.Handle);
		}
示例#14
0
文件: Data.cs 项目: MulziSAW/newRBS
		public static GLib.SList MeasruementGetSchedule(Epsara.DataMeasurement measurement) {
			IntPtr raw_ret = epsara_data_measruement_get_schedule(measurement == null ? IntPtr.Zero : measurement.Handle);
			GLib.SList ret = new GLib.SList(raw_ret);
			return ret;
		}
示例#15
0
文件: Data.cs 项目: MulziSAW/newRBS
		public static Epsara.DataVector GetColumn(Epsara.DataMatrix matrix, int j) {
			IntPtr raw_ret = epsara_data_get_column(matrix == null ? IntPtr.Zero : matrix.Handle, j);
			Epsara.DataVector ret = GLib.Object.GetObject(raw_ret) as Epsara.DataVector;
			return ret;
		}