IIotDevice.cs•877 B
using System;
using System.Collections.Generic;
namespace Api.DigitalPages.Interfaces.Models
{
public interface IIotDevice: IBaseModelV2
{
string Name { get; set; }
string Description { get; set; }
string ExternalId { get; set; }
IotDataType DataType { get; set; }
List<Guid> Entities { get; set; }
List<IIotDeviceConfigurationOption> ConfigurationOptions { get; set; }
}
public interface IIotDeviceConfigurationOption : IConfigurationOption
{
}
public enum IotDataType
{
Undefined,
Bar,
MBar,
Psi,
Celsius,
Fahrenheit,
Liter
}
public class IotAggregationsOptions
{
public TimeSpan StartTime { get; set; }
public TimeSpan? EndTime { get; set; }
public TimeSpan Interval { get; set; }
}
}