change add data by deviceid
This commit is contained in:
@@ -32,7 +32,7 @@ public class TelemetryController : ControllerBase
|
||||
TelemetryDto dto = new TelemetryDto
|
||||
{
|
||||
//DeviceName = deviceName.ToString() == "dr110"? "dr110":"",
|
||||
Id = deviceId,
|
||||
DeviceId = deviceId,
|
||||
TemperatureC = temperatureC,
|
||||
HumidityPercent = humidityPercent,
|
||||
SoilPercent = soilPercent,
|
||||
|
||||
Reference in New Issue
Block a user