枚举修改

This commit is contained in:
hekaiyu 2025-11-03 11:55:37 +08:00
parent f52789064d
commit e58980fb18

View File

@ -6,26 +6,26 @@ package org.jeecg.common.constant.enums;
public enum WeatherVariableNameEnum { public enum WeatherVariableNameEnum {
PANGU_T(1, 0, "Temperature_height_above_ground"), PANGU_T(WeatherDataSourceEnum.PANGU.getKey(), 0, "Temperature_height_above_ground"),
PANGU_P(1, 1, "Pressure_msl"), PANGU_P(WeatherDataSourceEnum.PANGU.getKey(), 1, "Pressure_msl"),
PANGU_H(1, 2, "Specific_humidity_isobaric"), PANGU_H(WeatherDataSourceEnum.PANGU.getKey(), 2, "Specific_humidity_isobaric"),
PANGU_U(1, 3, "u-component_of_wind_height_above_ground"), PANGU_U(WeatherDataSourceEnum.PANGU.getKey(), 3, "u-component_of_wind_height_above_ground"),
PANGU_V(1, 4, "v-component_of_wind_height_above_ground"), PANGU_V(WeatherDataSourceEnum.PANGU.getKey(), 4, "v-component_of_wind_height_above_ground"),
CRA40_T(3, 0, "Temperature_isobaric"), CRA40_T(WeatherDataSourceEnum.CRA40.getKey(), 0, "Temperature_isobaric"),
CRA40_P(3, 1, "Vertical_velocity_pressure_isobaric"), CRA40_P(WeatherDataSourceEnum.CRA40.getKey(), 1, "Vertical_velocity_pressure_isobaric"),
CRA40_H(3, 2, "Relative_humidity_isobaric"), CRA40_H(WeatherDataSourceEnum.CRA40.getKey(), 2, "Relative_humidity_isobaric"),
CRA40_U(3, 3, "u-component_of_wind_isobaric"), CRA40_U(WeatherDataSourceEnum.CRA40.getKey(), 3, "u-component_of_wind_isobaric"),
CRA40_V(3, 4, "v-component_of_wind_isobaric"), CRA40_V(WeatherDataSourceEnum.CRA40.getKey(), 4, "v-component_of_wind_isobaric"),
NCEP_T(4, 0, "Temperature_height_above_ground"), NCEP_T(WeatherDataSourceEnum.NCEP.getKey(), 0, "Temperature_height_above_ground"),
NCEP_P(4, 1, "Pressure_msl"), NCEP_P(WeatherDataSourceEnum.NCEP.getKey(), 1, "Pressure_msl"),
NCEP_H(4, 2, "Relative_humidity_height_above_ground"), NCEP_H(WeatherDataSourceEnum.NCEP.getKey(), 2, "Relative_humidity_height_above_ground"),
NCEP_U(4, 3, "u-component_of_wind_height_above_ground"), NCEP_U(WeatherDataSourceEnum.NCEP.getKey(), 3, "u-component_of_wind_height_above_ground"),
NCEP_V(4, 4, "v-component_of_wind_height_above_ground"), NCEP_V(WeatherDataSourceEnum.NCEP.getKey(), 4, "v-component_of_wind_height_above_ground"),
T1H_T(5, 0, "t2mz"), T1H_T(WeatherDataSourceEnum.T1H.getKey(), 0, "t2mz"),
T1H_P(5, 1, "psz"), T1H_P(WeatherDataSourceEnum.T1H.getKey(), 1, "psz"),
T1H_H(5, 2, "rh2m"), T1H_H(WeatherDataSourceEnum.T1H.getKey(), 2, "rh2m"),
T1H_U(5, 3, "UGRD10m"), T1H_U(WeatherDataSourceEnum.T1H.getKey(), 3, "UGRD10m"),
T1H_V(5, 4, "VGRD10m"); T1H_V(WeatherDataSourceEnum.T1H.getKey(), 4, "VGRD10m");
private Integer type; private Integer type;