2023-09-11 15:49:15 +08:00
|
|
|
|
using NPOI.Util;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FrontendWebApi.Models
|
|
|
|
|
{
|
|
|
|
|
public enum WarningValueType {
|
|
|
|
|
Rain, //降雨
|
2024-05-31 10:55:48 +08:00
|
|
|
|
Earthquake , //地震
|
|
|
|
|
Infrared //紅外線
|
2023-09-11 15:49:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class WarningValueInput {
|
|
|
|
|
public WarningValueType type { get; set; }
|
|
|
|
|
|
|
|
|
|
public string targetValue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class WarningValueOutput {
|
|
|
|
|
public WarningValueType type { get; set; }
|
|
|
|
|
|
|
|
|
|
public string targetValue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|