public class XYInterpolatedValue extends InterpolatedValue
Constructor and Description |
---|
XYInterpolatedValue()
Default constructor.
|
XYInterpolatedValue(InterpolatedValue x,
InterpolatedValue y)
Create a new XYInterpolatedValue from the two Interpolated values.
|
XYInterpolatedValue(String xSensorId,
Double xValue,
MeasurementType xMeasurementType,
Date startDate,
Date endDate,
String ySensorId,
Double yValue,
MeasurementType yMeasurementType)
Creates a new XYInterpolatedValue.
|
XYInterpolatedValue(String xSensorId,
Double xValue,
MeasurementType xMeasurementType,
Date date,
String ySensorId,
Double yValue,
MeasurementType yMeasurementType)
Creates a new XYInterpolatedValue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
MeasurementType |
getXMeasurementType() |
String |
getXSensorId() |
Double |
getXValue() |
MeasurementType |
getYMeasurementType() |
String |
getYSensorId() |
Double |
getYValue() |
int |
hashCode() |
void |
setXMeasurementType(MeasurementType xMeasurementType)
Sets the X MeasurementType.
|
void |
setXSensorId(String xSensorId)
Sets the X SensorId.
|
void |
setXValue(Double xValue)
Sets the X value.
|
void |
setYMeasurementType(MeasurementType yMeasurementType)
Sets the Y MeasurementType.
|
void |
setYSensorId(String ySensorId)
Sets the Y SensorID.
|
void |
setYValue(Double yValue)
Sets the Y value.
|
addDefinedSensor, addReportingSensor, equivalent, getDefinedSensors, getEnd, getMeasurementType, getReportingSensors, getSensorId, getStart, getValue, missingSensorsEmptyP, removeMissingSensor, setDefinedSensors, setEnd, setMeasurementType, setReportingSensors, setSensorId, setStart, setValue, toString
public XYInterpolatedValue()
public XYInterpolatedValue(String xSensorId, Double xValue, MeasurementType xMeasurementType, Date date, String ySensorId, Double yValue, MeasurementType yMeasurementType)
xSensorId
- The x SensorId.xValue
- The x value.xMeasurementType
- The x measurement type.date
- The time of both values.ySensorId
- The y SensorId.yValue
- The y value.yMeasurementType
- The y measurement type.public XYInterpolatedValue(String xSensorId, Double xValue, MeasurementType xMeasurementType, Date startDate, Date endDate, String ySensorId, Double yValue, MeasurementType yMeasurementType)
xSensorId
- The x SensorId.xValue
- The x value.xMeasurementType
- The x measurement type.startDate
- The start time of both values.endDate
- The end time of both values.ySensorId
- The y SensorId.yValue
- The y value.yMeasurementType
- The y measurement type.public XYInterpolatedValue(InterpolatedValue x, InterpolatedValue y)
x
- The X value.y
- The Y value.public boolean equals(Object o)
equals
in class InterpolatedValue
public int hashCode()
hashCode
in class InterpolatedValue
public String getYSensorId()
public void setYSensorId(String ySensorId)
ySensorId
- The new Y SensorId.public Double getYValue()
public void setYValue(Double yValue)
yValue
- The new Y value.public MeasurementType getYMeasurementType()
public void setYMeasurementType(MeasurementType yMeasurementType)
yMeasurementType
- The new Y MeasurementType.public String getXSensorId()
public void setXSensorId(String xSensorId)
xSensorId
- The new X SensorId.public Double getXValue()
public void setXValue(Double xValue)
xValue
- The new X value.public MeasurementType getXMeasurementType()
public void setXMeasurementType(MeasurementType xMeasurementType)
xMeasurementType
- The new X MeasurementType.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.