added k8s config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-08 15:48:56 +02:00
parent e194f0ed10
commit cca6aff3c0
18 changed files with 5559 additions and 197 deletions

View File

@ -1,15 +1,21 @@
using System;
using System;
using InfluxDB.Client.Core;
namespace OutputServiceTSDB.Models
{
public class ApiObject
[Measurement("result")]
public class MeasurementObject
{
public string Tag { get; set; }
[Column("deviceid", IsTag = true)]
public string DeviceID { get; set; }
private double _probability;
[Column("probability")]
public double Probability
{ get => _probability;
{
get => _probability;
set
{
if (value > 1.0 || value < 0.0)
@ -19,5 +25,7 @@ namespace OutputServiceTSDB.Models
_probability = value;
}
}
[Column(IsTimestamp = true)] public DateTime Time;
}
}
}