| | |
| | | package com.fzzy.api.data; |
| | | |
| | | |
| | | import com.fzzy.api.entity.ApiTrigger; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Desc: 系统支持的同步协议 |
| | | * @author: andy.jia |
| | |
| | | GB_DEFAULT("GB_DEFAULT", "系统默认协议"), |
| | | FZZY_V30_GB("FZZY_V30_GB", "风正致远V3.0"), |
| | | FZZY_V35_GB("FZZY_V35_GB", "风正致远V3.5"), |
| | | FZZY_V40_GB("FZZY_V40_GB", "风正致远V4.0"), |
| | | FZZY_V40_WHJL("FZZY_V40_WHJL", "风正致远V4.0-武汉军粮"), |
| | | FZZY_V35_SHYZ("FZZY_V35_SHYZ", "风正致远2上海佑卓规范"); |
| | | |
| | | |
| | |
| | | private String name; |
| | | |
| | | |
| | | public static List<ApiTrigger> listTrigger() { |
| | | List<ApiTrigger> list = new ArrayList<>(); |
| | | list.add(new ApiTrigger(GB_DEFAULT.getCode(), GB_DEFAULT.getName())); |
| | | list.add(new ApiTrigger(FZZY_V30_GB.getCode(), FZZY_V30_GB.getName())); |
| | | list.add(new ApiTrigger(FZZY_V35_GB.getCode(), FZZY_V35_GB.getName())); |
| | | list.add(new ApiTrigger(FZZY_V40_GB.getCode(), FZZY_V40_GB.getName())); |
| | | list.add(new ApiTrigger(FZZY_V40_WHJL.getCode(), FZZY_V40_WHJL.getName())); |
| | | list.add(new ApiTrigger(FZZY_V35_SHYZ.getCode(), FZZY_V35_SHYZ.getName())); |
| | | |
| | | return list; |
| | | } |
| | | |
| | | |
| | | public String getCode() { |
| | | return code; |
| | | } |