Table 8.
Resource Name | Resource Method and ID | Examples |
---|---|---|
read data from certain sensor | GET /stations/{stationed}/plcs/{plcid}/{sensorid} | http://localhost:8080/HeatingSystem/service/stations/1/1/D2000 |
write data to certain sensor | PUT /stations/{stationed}/plcs/{plcid}/{sensorid}/{value} | http://localhost:8080/HeatingSystem/service/stations/1/1/D2002/80.5 |