28 lines
549 B
C#
28 lines
549 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 //地震
|
|||
|
}
|
|||
|
|
|||
|
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; }
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
}
|