All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.dawnsci.nexus.NXsensor Maven / Gradle / Ivy

/*-
 *******************************************************************************
 * Copyright (c) 2015 Diamond Light Source Ltd.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * This file was auto-generated from the NXDL XML definition.
 *******************************************************************************/

package org.eclipse.dawnsci.nexus;

import org.eclipse.dawnsci.analysis.api.tree.DataNode;
import org.eclipse.january.dataset.IDataset;

/**
 * A sensor used to monitor an external condition
 * The condition itself is described in :ref:`NXenvironment`.
 * 
 */
public interface NXsensor extends NXobject {

	public static final String NX_MODEL = "model";
	public static final String NX_NAME = "name";
	public static final String NX_SHORT_NAME = "short_name";
	public static final String NX_ATTACHED_TO = "attached_to";
	public static final String NX_MEASUREMENT = "measurement";
	public static final String NX_TYPE = "type";
	public static final String NX_RUN_CONTROL = "run_control";
	public static final String NX_HIGH_TRIP_VALUE = "high_trip_value";
	public static final String NX_LOW_TRIP_VALUE = "low_trip_value";
	public static final String NX_VALUE = "value";
	public static final String NX_VALUE_DERIV1 = "value_deriv1";
	public static final String NX_VALUE_DERIV2 = "value_deriv2";
	public static final String NX_EXTERNAL_FIELD_BRIEF = "external_field_brief";
	/**
	 * Sensor identification code/model number
	 * 
	 * @return  the value.
	 */
	public IDataset getModel();
	
	/**
	 * Sensor identification code/model number
	 * 
	 * @param model the model
	 */
	public DataNode setModel(IDataset model);

	/**
	 * Sensor identification code/model number
	 * 
	 * @return  the value.
	 */
	public String getModelScalar();

	/**
	 * Sensor identification code/model number
	 * 
	 * @param model the model
	 */
	public DataNode setModelScalar(String model);

	/**
	 * Name for the sensor
	 * 
	 * @return  the value.
	 */
	public IDataset getName();
	
	/**
	 * Name for the sensor
	 * 
	 * @param name the name
	 */
	public DataNode setName(IDataset name);

	/**
	 * Name for the sensor
	 * 
	 * @return  the value.
	 */
	public String getNameScalar();

	/**
	 * Name for the sensor
	 * 
	 * @param name the name
	 */
	public DataNode setNameScalar(String name);

	/**
	 * Short name of sensor used e.g. on monitor display program
	 * 
	 * @return  the value.
	 */
	public IDataset getShort_name();
	
	/**
	 * Short name of sensor used e.g. on monitor display program
	 * 
	 * @param short_name the short_name
	 */
	public DataNode setShort_name(IDataset short_name);

	/**
	 * Short name of sensor used e.g. on monitor display program
	 * 
	 * @return  the value.
	 */
	public String getShort_nameScalar();

	/**
	 * Short name of sensor used e.g. on monitor display program
	 * 
	 * @param short_name the short_name
	 */
	public DataNode setShort_nameScalar(String short_name);

	/**
	 * where sensor is attached to ("sample" | "can")
	 * 
	 * @return  the value.
	 */
	public IDataset getAttached_to();
	
	/**
	 * where sensor is attached to ("sample" | "can")
	 * 
	 * @param attached_to the attached_to
	 */
	public DataNode setAttached_to(IDataset attached_to);

	/**
	 * where sensor is attached to ("sample" | "can")
	 * 
	 * @return  the value.
	 */
	public String getAttached_toScalar();

	/**
	 * where sensor is attached to ("sample" | "can")
	 * 
	 * @param attached_to the attached_to
	 */
	public DataNode setAttached_toScalar(String attached_to);

	/**
	 * Defines the axes for logged vector quantities if they are not the global instrument axes
	 * 
	 * @return  the value.
	 */
	public NXgeometry getGeometry();
	
	/**
	 * Defines the axes for logged vector quantities if they are not the global instrument axes
	 * 
	 * @param geometry the geometry
	 */
	public void setGeometry(NXgeometry geometry);

	/**
	 * name for measured signal
	 * 

*

Enumeration:

    *
  • temperature
  • *
  • pH
  • *
  • magnetic_field
  • *
  • electric_field
  • *
  • conductivity
  • *
  • resistance
  • *
  • voltage
  • *
  • pressure
  • *
  • flow
  • *
  • stress
  • *
  • strain
  • *
  • shear
  • *
  • surface_pressure

*

* * @return the value. */ public IDataset getMeasurement(); /** * name for measured signal *

*

Enumeration:

    *
  • temperature
  • *
  • pH
  • *
  • magnetic_field
  • *
  • electric_field
  • *
  • conductivity
  • *
  • resistance
  • *
  • voltage
  • *
  • pressure
  • *
  • flow
  • *
  • stress
  • *
  • strain
  • *
  • shear
  • *
  • surface_pressure

*

* * @param measurement the measurement */ public DataNode setMeasurement(IDataset measurement); /** * name for measured signal *

*

Enumeration:

    *
  • temperature
  • *
  • pH
  • *
  • magnetic_field
  • *
  • electric_field
  • *
  • conductivity
  • *
  • resistance
  • *
  • voltage
  • *
  • pressure
  • *
  • flow
  • *
  • stress
  • *
  • strain
  • *
  • shear
  • *
  • surface_pressure

*

* * @return the value. */ public String getMeasurementScalar(); /** * name for measured signal *

*

Enumeration:

    *
  • temperature
  • *
  • pH
  • *
  • magnetic_field
  • *
  • electric_field
  • *
  • conductivity
  • *
  • resistance
  • *
  • voltage
  • *
  • pressure
  • *
  • flow
  • *
  • stress
  • *
  • strain
  • *
  • shear
  • *
  • surface_pressure

*

* * @param measurement the measurement */ public DataNode setMeasurementScalar(String measurement); /** * The type of hardware used for the measurement. * Examples (suggestions but not restrictions): * :Temperature: * J | K | T | E | R | S | Pt100 | Rh/Fe * :pH: * Hg/Hg2Cl2 | Ag/AgCl | ISFET * :Ion selective electrode: * specify species; e.g. Ca2+ * :Magnetic field: * Hall * :Surface pressure: * wilhelmy plate * * @return the value. */ public IDataset getType(); /** * The type of hardware used for the measurement. * Examples (suggestions but not restrictions): * :Temperature: * J | K | T | E | R | S | Pt100 | Rh/Fe * :pH: * Hg/Hg2Cl2 | Ag/AgCl | ISFET * :Ion selective electrode: * specify species; e.g. Ca2+ * :Magnetic field: * Hall * :Surface pressure: * wilhelmy plate * * @param type the type */ public DataNode setType(IDataset type); /** * The type of hardware used for the measurement. * Examples (suggestions but not restrictions): * :Temperature: * J | K | T | E | R | S | Pt100 | Rh/Fe * :pH: * Hg/Hg2Cl2 | Ag/AgCl | ISFET * :Ion selective electrode: * specify species; e.g. Ca2+ * :Magnetic field: * Hall * :Surface pressure: * wilhelmy plate * * @return the value. */ public String getTypeScalar(); /** * The type of hardware used for the measurement. * Examples (suggestions but not restrictions): * :Temperature: * J | K | T | E | R | S | Pt100 | Rh/Fe * :pH: * Hg/Hg2Cl2 | Ag/AgCl | ISFET * :Ion selective electrode: * specify species; e.g. Ca2+ * :Magnetic field: * Hall * :Surface pressure: * wilhelmy plate * * @param type the type */ public DataNode setTypeScalar(String type); /** * Is data collection controlled or synchronised to this quantity: * 1=no, 0=to "value", 1=to "value_deriv1", etc. *

* Type: NX_BOOLEAN *

* * @return the value. */ public IDataset getRun_control(); /** * Is data collection controlled or synchronised to this quantity: * 1=no, 0=to "value", 1=to "value_deriv1", etc. *

* Type: NX_BOOLEAN *

* * @param run_control the run_control */ public DataNode setRun_control(IDataset run_control); /** * Is data collection controlled or synchronised to this quantity: * 1=no, 0=to "value", 1=to "value_deriv1", etc. *

* Type: NX_BOOLEAN *

* * @return the value. */ public Boolean getRun_controlScalar(); /** * Is data collection controlled or synchronised to this quantity: * 1=no, 0=to "value", 1=to "value_deriv1", etc. *

* Type: NX_BOOLEAN *

* * @param run_control the run_control */ public DataNode setRun_controlScalar(Boolean run_control); /** * Upper control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @return the value. */ public IDataset getHigh_trip_value(); /** * Upper control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @param high_trip_value the high_trip_value */ public DataNode setHigh_trip_value(IDataset high_trip_value); /** * Upper control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @return the value. */ public Double getHigh_trip_valueScalar(); /** * Upper control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @param high_trip_value the high_trip_value */ public DataNode setHigh_trip_valueScalar(Double high_trip_value); /** * Lower control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @return the value. */ public IDataset getLow_trip_value(); /** * Lower control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @param low_trip_value the low_trip_value */ public DataNode setLow_trip_value(IDataset low_trip_value); /** * Lower control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @return the value. */ public Double getLow_trip_valueScalar(); /** * Lower control bound of sensor reading if using run_control *

* Type: NX_FLOAT * Units: NX_ANY *

* * @param low_trip_value the low_trip_value */ public DataNode setLow_trip_valueScalar(Double low_trip_value); /** * nominal setpoint or average value * - need [n] as may be a vector *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: n; *

* * @return the value. */ public IDataset getValue(); /** * nominal setpoint or average value * - need [n] as may be a vector *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: n; *

* * @param value the value */ public DataNode setValue(IDataset value); /** * nominal setpoint or average value * - need [n] as may be a vector *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: n; *

* * @return the value. */ public Double getValueScalar(); /** * nominal setpoint or average value * - need [n] as may be a vector *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: n; *

* * @param value the value */ public DataNode setValueScalar(Double value); /** * Nominal/average first derivative of value * e.g. strain rate * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @return the value. */ public IDataset getValue_deriv1(); /** * Nominal/average first derivative of value * e.g. strain rate * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @param value_deriv1 the value_deriv1 */ public DataNode setValue_deriv1(IDataset value_deriv1); /** * Nominal/average first derivative of value * e.g. strain rate * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @return the value. */ public Double getValue_deriv1Scalar(); /** * Nominal/average first derivative of value * e.g. strain rate * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @param value_deriv1 the value_deriv1 */ public DataNode setValue_deriv1Scalar(Double value_deriv1); /** * Nominal/average second derivative of value * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @return the value. */ public IDataset getValue_deriv2(); /** * Nominal/average second derivative of value * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @param value_deriv2 the value_deriv2 */ public DataNode setValue_deriv2(IDataset value_deriv2); /** * Nominal/average second derivative of value * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @return the value. */ public Double getValue_deriv2Scalar(); /** * Nominal/average second derivative of value * - same dimensions as "value" (may be a vector) *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ; *

* * @param value_deriv2 the value_deriv2 */ public DataNode setValue_deriv2Scalar(Double value_deriv2); /** * Time history of sensor readings * * @return the value. */ public NXlog getValue_log(); /** * Time history of sensor readings * * @param value_log the value_log */ public void setValue_log(NXlog value_log); /** * Time history of first derivative of sensor readings * * @return the value. */ public NXlog getValue_deriv1_log(); /** * Time history of first derivative of sensor readings * * @param value_deriv1_log the value_deriv1_log */ public void setValue_deriv1_log(NXlog value_deriv1_log); /** * Time history of second derivative of sensor readings * * @return the value. */ public NXlog getValue_deriv2_log(); /** * Time history of second derivative of sensor readings * * @param value_deriv2_log the value_deriv2_log */ public void setValue_deriv2_log(NXlog value_deriv2_log); /** *

*

Enumeration:

    *
  • along beam
  • *
  • across beam
  • *
  • transverse
  • *
  • solenoidal
  • *
  • flow shear gradient
  • *
  • flow vorticity

*

* * @return the value. */ public IDataset getExternal_field_brief(); /** *

*

Enumeration:

    *
  • along beam
  • *
  • across beam
  • *
  • transverse
  • *
  • solenoidal
  • *
  • flow shear gradient
  • *
  • flow vorticity

*

* * @param external_field_brief the external_field_brief */ public DataNode setExternal_field_brief(IDataset external_field_brief); /** *

*

Enumeration:

    *
  • along beam
  • *
  • across beam
  • *
  • transverse
  • *
  • solenoidal
  • *
  • flow shear gradient
  • *
  • flow vorticity

*

* * @return the value. */ public String getExternal_field_briefScalar(); /** *

*

Enumeration:

    *
  • along beam
  • *
  • across beam
  • *
  • transverse
  • *
  • solenoidal
  • *
  • flow shear gradient
  • *
  • flow vorticity

*

* * @param external_field_brief the external_field_brief */ public DataNode setExternal_field_briefScalar(String external_field_brief); /** * For complex external fields not satisfied by External_field_brief * * @return the value. */ public NXorientation getExternal_field_full(); /** * For complex external fields not satisfied by External_field_brief * * @param external_field_full the external_field_full */ public void setExternal_field_full(NXorientation external_field_full); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy