Skip to content

Commit 152a57e

Browse files
authored
Update README.md
1 parent 87bd439 commit 152a57e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,17 @@ SosSensor sosSensor = new SosSensor("Device 18742 (Hill Top)","device18742","TOR
6969
"Tactical Observation of RF and GNSS Interference sensor");
7070
```
7171
<br/>
72-
Next you want to add SensorMeasurements to your sensor, SensorMeasurements describe what the sensor measures. For our example, our sensor measures the amount of "foo" at a particular time and location like this
72+
Next you want to add SensorMeasurements to your sensor, SensorMeasurements describe what the sensor measures. For our example, our sensor measures the amount of *foo* at a particular time and location like this
7373

7474
```java
75-
sosMeasurementFoo = new SensorMeasurement(new SensorResultTemplateField("foo",
76-
"www.your_link_that_describes_the_foo_standard.com","foo per inches"));
75+
SensorMeasurement sosMeasurementFoo = new SensorMeasurement(
76+
new SensorResultTemplateField("foo",
77+
"www.your_link_that_describes_the_foo_standard.com",
78+
"foo per inches"));
7779
//the url provided in the second field helps others understand about this idea of "foo"
7880
//if you dont have a link, you can provide some placeholder or a way to contact you
79-
sosMeasurementTime = new SensorMeasurementTime();
80-
sosMeasurementLocation = new SensorMeasurementLocation();
81+
SensorMeasurementTime sosMeasurementTime = new SensorMeasurementTime();
82+
SensorMeasurementLocation sosMeasurementLocation = new SensorMeasurementLocation();
8183
sosSensor.addMeasurement(sosMeasurementFoo);
8284
sosSensor.addMeasurement(sosMeasurementTime);
8385
sosSensor.addMeasurement(sosMeasurementLocation);

0 commit comments

Comments
 (0)