mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/ObservationHelper.java
public static Observation createWaterQualityObservation()
    {
        PH ph = new PH().withValue(7.5);
        ConcentrationGramsPerLiter dissolvedOxygen = new ConcentrationGramsPerLiter().withValue(12.1);
        ConductivitySiemensPerMeter electricalConductivity = new ConductivitySiemensPerMeter().withValue(11.1);
        VoltageVolts oxydationReductionPotential = new VoltageVolts().withValue(9.2);
        TurbidityNtu turbidity = new TurbidityNtu().withValue(123.4);
        TemperatureCelsius temperature = new TemperatureCelsius().withValue(33.3);
        ConcentrationGramsPerLiter chlorine = new ConcentrationGramsPerLiter().withValue(123.0);
        ConcentrationGramsPerLiter totalDisolvedSolid = new ConcentrationGramsPerLiter().withValue(3.0);
        SalinityPsu salinity = new SalinityPsu().withValue(88.0);
        SpecificGravity specificGravity = new SpecificGravity().withValue(77.7);
        PressureMillibars waterFlowPressure = new PressureMillibars().withValue(90.0);
        LangelierSaturationIndex langelierSaturationIndex = new LangelierSaturationIndex().withValue(12.33);
        WaterQuality waterQuality = new WaterQuality(ph, dissolvedOxygen, electricalConductivity, 
                oxydationReductionPotential, turbidity, temperature, chlorine, totalDisolvedSolid, salinity, 
                specificGravity, waterFlowPressure, langelierSaturationIndex);
        
        return ObservationHelper.createBaseObservation()
                .withUuid(UUID.fromString("328da040-85bb-11e2-9e96-0800200c9a77"))
                .withWaterQuality(waterQuality);
    }
/**
     * Create a Water Quality Observation.
     */
Create a Water Quality Observation.
Create a Water Quality Observation .
public static Observation createWaterQualityObservation()
    {
        PH ph = new PH().withValue(7.5);
        ConcentrationGramsPerLiter dissolvedOxygen = new ConcentrationGramsPerLiter().withValue(12.1);
        ConductivitySiemensPerMeter electricalConductivity = new ConductivitySiemensPerMeter().withValue(11.1);
        VoltageVolts oxydationReductionPotential = new VoltageVolts().withValue(9.2);
        TurbidityNtu turbidity = new TurbidityNtu().withValue(123.4);
        TemperatureCelsius temperature = new TemperatureCelsius().withValue(33.3);
        ConcentrationGramsPerLiter chlorine = new ConcentrationGramsPerLiter().withValue(123.0);
        ConcentrationGramsPerLiter totalDisolvedSolid = new ConcentrationGramsPerLiter().withValue(3.0);
        SalinityPsu salinity = new SalinityPsu().withValue(88.0);
        SpecificGravity specificGravity = new SpecificGravity().withValue(77.7);
        PressureMillibars waterFlowPressure = new PressureMillibars().withValue(90.0);
        LangelierSaturationIndex langelierSaturationIndex = new LangelierSaturationIndex().withValue(12.33);
        WaterQuality waterQuality = new WaterQuality(ph, dissolvedOxygen, electricalConductivity, 
                oxydationReductionPotential, turbidity, temperature, chlorine, totalDisolvedSolid, salinity, 
                specificGravity, waterFlowPressure, langelierSaturationIndex);
        return ObservationHelper.createBaseObservation()
                .withUuid(UUID.fromString("328da040-85bb-11e2-9e96-0800200c9a77"))
                .withWaterQuality(waterQuality);
    }
public static Observation createWaterQualityObservation ( ) { PH ph = new PH ( ) . withValue ( 7.5 ) ; ConcentrationGramsPerLiter dissolvedOxygen = new ConcentrationGramsPerLiter ( ) . withValue ( 12.1 ) ; ConductivitySiemensPerMeter electricalConductivity = new ConductivitySiemensPerMeter ( ) . withValue ( 11.1 ) ; VoltageVolts oxydationReductionPotential = new VoltageVolts ( ) . withValue ( 9.2 ) ; TurbidityNtu turbidity = new TurbidityNtu ( ) . withValue ( 123.4 ) ; TemperatureCelsius temperature = new TemperatureCelsius ( ) . withValue ( 33.3 ) ; ConcentrationGramsPerLiter chlorine = new ConcentrationGramsPerLiter ( ) . withValue ( 123.0 ) ; ConcentrationGramsPerLiter totalDisolvedSolid = new ConcentrationGramsPerLiter ( ) . withValue ( 3.0 ) ; SalinityPsu salinity = new SalinityPsu ( ) . withValue ( 88.0 ) ; SpecificGravity specificGravity = new SpecificGravity ( ) . withValue ( 77.7 ) ; PressureMillibars waterFlowPressure = new PressureMillibars ( ) . withValue ( 90.0 ) ; LangelierSaturationIndex langelierSaturationIndex = new LangelierSaturationIndex ( ) . withValue ( 12.33 ) ; WaterQuality waterQuality = new WaterQuality ( ph , dissolvedOxygen , electricalConductivity , oxydationReductionPotential , turbidity , temperature , chlorine , totalDisolvedSolid , salinity , specificGravity , waterFlowPressure , langelierSaturationIndex ) ; return ObservationHelper . createBaseObservation ( ) . withUuid ( UUID . fromString ( "328da040-85bb-11e2-9e96-0800200c9a77" ) ) . withWaterQuality ( waterQuality ) ; }
Create a Water Quality Observation.
Create a Water Quality Observation .