29 lines
580 B
C#
29 lines
580 B
C#
using NPOI.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FrontendWebApi.Models
|
|
{
|
|
public enum WarningValueType {
|
|
Rain, //降雨
|
|
Earthquake , //地震
|
|
Infrared //紅外線
|
|
}
|
|
|
|
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; }
|
|
}
|
|
|
|
|
|
|
|
}
|