fix: repair decompiled sources and add exhaustive documentation
- restore generic signatures, scoped variables and missing code from original bytecode - remove decompiler artifacts and document classes, methods, fields and packages - restore resources, add Batik/BouncyCastle dependencies and build/runtime docs
This commit is contained in:
1 parent
9d7e42eda8
commit
10aa1829f5
346 files changed
+42404
-622
No files matched your search
@@ -1,93 +1,381 @@
|
||||
package com.midm.constant;
|
||||
|
||||
/**
|
||||
* 【常量定义】{@code PropertyConst}
|
||||
*
|
||||
* 类职责:
|
||||
* <ul>
|
||||
* <li>提供该包内的可复用能力。</li>
|
||||
* <li>通过字段/依赖注入持有运行期状态,字段含义见下方“核心字段”。</li>
|
||||
* </ul>
|
||||
*
|
||||
* 核心字段(按声明顺序):
|
||||
* <ul>
|
||||
* <li>{@code CATEGORY_HADRWARE}(String):字段 CATEGORY_HADRWARE</li>
|
||||
* <li>{@code CATEGORY_SOFTWARE_INFO}(String):字段 CATEGORY_SOFTWARE_INFO</li>
|
||||
* <li>{@code CATEGORY_NETWORK}(String):字段 CATEGORY_NETWORK</li>
|
||||
* <li>{@code CATEGORY_SHIPMENT}(String):字段 CATEGORY_SHIPMENT</li>
|
||||
* <li>{@code CATEGORY_EVENT}(String):字段 CATEGORY_EVENT</li>
|
||||
* <li>{@code CATEGORY_ACTIVITY}(String):字段 CATEGORY_ACTIVITY</li>
|
||||
* </ul>
|
||||
*
|
||||
* 学习提示:先看类注释和 public 方法,再结合调用方理解它在整体流程中的位置。
|
||||
*/
|
||||
public class PropertyConst {
|
||||
/**
|
||||
* 字段 CATEGORY_HADRWARE。
|
||||
*/
|
||||
public static final String CATEGORY_HADRWARE = "hardware_info";
|
||||
/**
|
||||
* 字段 CATEGORY_SOFTWARE_INFO。
|
||||
*/
|
||||
public static final String CATEGORY_SOFTWARE_INFO = "software_info";
|
||||
/**
|
||||
* 字段 CATEGORY_NETWORK。
|
||||
*/
|
||||
public static final String CATEGORY_NETWORK = "network";
|
||||
/**
|
||||
* 字段 CATEGORY_SHIPMENT。
|
||||
*/
|
||||
public static final String CATEGORY_SHIPMENT = "shipment";
|
||||
/**
|
||||
* 字段 CATEGORY_EVENT。
|
||||
*/
|
||||
public static final String CATEGORY_EVENT = "event";
|
||||
/**
|
||||
* 字段 CATEGORY_ACTIVITY。
|
||||
*/
|
||||
public static final String CATEGORY_ACTIVITY = "activity";
|
||||
/**
|
||||
* 字段 CATEGORY_UPDATE。
|
||||
*/
|
||||
public static final String CATEGORY_UPDATE = "update";
|
||||
/**
|
||||
* 字段 ROLE。
|
||||
*/
|
||||
public static final String ROLE = "role";
|
||||
/**
|
||||
* 字段 ADMIN。
|
||||
*/
|
||||
public static final String ADMIN = "admin";
|
||||
/**
|
||||
* 字段 ADMINISTRATOR。
|
||||
*/
|
||||
public static final String ADMINISTRATOR = "Administrator";
|
||||
/**
|
||||
* 字段 NAME。
|
||||
*/
|
||||
public static final String NAME = "name";
|
||||
/**
|
||||
* 字段 NATIONAL_ID。
|
||||
*/
|
||||
public static final String NATIONAL_ID = "nationalId";
|
||||
/**
|
||||
* 字段 GENDER。
|
||||
*/
|
||||
public static final String GENDER = "gender";
|
||||
/**
|
||||
* 字段 COMMENT。
|
||||
*/
|
||||
public static final String COMMENT = "comment";
|
||||
/**
|
||||
* 字段 MEMO。
|
||||
*/
|
||||
public static final String MEMO = "memo";
|
||||
/**
|
||||
* 字段 EMAIL。
|
||||
*/
|
||||
public static final String EMAIL = "email";
|
||||
/**
|
||||
* 字段 LOGIN_ID。
|
||||
*/
|
||||
public static final String LOGIN_ID = "loginId";
|
||||
/**
|
||||
* 字段 PASSWORD。
|
||||
*/
|
||||
public static final String PASSWORD = "password";
|
||||
/**
|
||||
* 字段 PROPERTIES。
|
||||
*/
|
||||
public static final String PROPERTIES = "properties";
|
||||
/**
|
||||
* 字段 USER_PROPERTIES。
|
||||
*/
|
||||
public static final String USER_PROPERTIES = "userProperties";
|
||||
/**
|
||||
* 字段 REGISTER_PROPERTIES。
|
||||
*/
|
||||
public static final String REGISTER_PROPERTIES = "registerProperties";
|
||||
/**
|
||||
* 字段 KEEP_SIGNIN。
|
||||
*/
|
||||
public static final String KEEP_SIGNIN = "keepSignIn";
|
||||
/**
|
||||
* 字段 LAST_SITE。
|
||||
*/
|
||||
public static final String LAST_SITE = "lastSite";
|
||||
/**
|
||||
* 字段 LAST_PAGE。
|
||||
*/
|
||||
public static final String LAST_PAGE = "lastPage";
|
||||
/**
|
||||
* 字段 DEPARTMENT。
|
||||
*/
|
||||
public static final String DEPARTMENT = "dept";
|
||||
/**
|
||||
* 字段 PLACE。
|
||||
*/
|
||||
public static final String PLACE = "place";
|
||||
/**
|
||||
* 字段 REFERENCE。
|
||||
*/
|
||||
public static final String REFERENCE = "reference";
|
||||
/**
|
||||
* 字段 POST_FROM。
|
||||
*/
|
||||
public static final String POST_FROM = "postFrom";
|
||||
/**
|
||||
* 字段 POST_TO。
|
||||
*/
|
||||
public static final String POST_TO = "postTo";
|
||||
/**
|
||||
* 字段 DOCUMENT_NO。
|
||||
*/
|
||||
public static final String DOCUMENT_NO = "doc_no";
|
||||
/**
|
||||
* 字段 UPDATE。
|
||||
*/
|
||||
public static final String UPDATE = "update";
|
||||
/**
|
||||
* 字段 SERIAL_NO。
|
||||
*/
|
||||
public static final String SERIAL_NO = "serial_no";
|
||||
/**
|
||||
* 字段 PART_NO。
|
||||
*/
|
||||
public static final String PART_NO = "part_no";
|
||||
/**
|
||||
* 字段 PALLET_NO。
|
||||
*/
|
||||
public static final String PALLET_NO = "pallet_mo";
|
||||
/**
|
||||
* 字段 CARTON_SN。
|
||||
*/
|
||||
public static final String CARTON_SN = "carton_no";
|
||||
/**
|
||||
* 字段 ACTIVE。
|
||||
*/
|
||||
public static final String ACTIVE = "active";
|
||||
/**
|
||||
* 字段 WIFI。
|
||||
*/
|
||||
public static final String WIFI = "wifi";
|
||||
/**
|
||||
* 字段 WIFI_MAC。
|
||||
*/
|
||||
public static final String WIFI_MAC = "wifi_mac";
|
||||
/**
|
||||
* 字段 MAC_ADDRESS。
|
||||
*/
|
||||
public static final String MAC_ADDRESS = "mac_address";
|
||||
/**
|
||||
* 字段 SKU_ID。
|
||||
*/
|
||||
public static final String SKU_ID = "sku_id";
|
||||
/**
|
||||
* 字段 COMPATIBLE_SKUS。
|
||||
*/
|
||||
public static final String COMPATIBLE_SKUS = "compatibleSkus";
|
||||
/**
|
||||
* 字段 DEVICE_ID。
|
||||
*/
|
||||
public static final String DEVICE_ID = "deviceId";
|
||||
/**
|
||||
* 字段 SSID。
|
||||
*/
|
||||
public static final String SSID = "ssid";
|
||||
/**
|
||||
* 字段 TELEPHONY。
|
||||
*/
|
||||
public static final String TELEPHONY = "telephony";
|
||||
/**
|
||||
* 字段 PRODUCT_ID。
|
||||
*/
|
||||
public static final String PRODUCT_ID = "product_id";
|
||||
/**
|
||||
* 字段 PRODUCT_MODEL。
|
||||
*/
|
||||
public static final String PRODUCT_MODEL = "product_model";
|
||||
/**
|
||||
* 字段 BUILD_NO。
|
||||
*/
|
||||
public static final String BUILD_NO = "build_no";
|
||||
/**
|
||||
* 字段 DISPLAY_ID。
|
||||
*/
|
||||
public static final String DISPLAY_ID = "display_id";
|
||||
/**
|
||||
* 字段 PRODUCT_DISPLAY_ID。
|
||||
*/
|
||||
public static final String PRODUCT_DISPLAY_ID = "product_display_id";
|
||||
/**
|
||||
* 字段 PRE_DISPLAY_ID。
|
||||
*/
|
||||
public static final String PRE_DISPLAY_ID = "preDisplayId";
|
||||
/**
|
||||
* 字段 BUILD_DATE。
|
||||
*/
|
||||
public static final String BUILD_DATE = "build_date";
|
||||
/**
|
||||
* 字段 REGION_VERSION。
|
||||
*/
|
||||
public static final String REGION_VERSION = "region_version";
|
||||
/**
|
||||
* 字段 REGION_BUILD_DATE。
|
||||
*/
|
||||
public static final String REGION_BUILD_DATE = "region_build_date";
|
||||
/**
|
||||
* 字段 CUSTOMER_ID。
|
||||
*/
|
||||
public static final String CUSTOMER_ID = "customer_id";
|
||||
/**
|
||||
* 字段 ACTIVE_NETWORK。
|
||||
*/
|
||||
public static final String ACTIVE_NETWORK = "active_network";
|
||||
/**
|
||||
* 字段 SDK_VERSION。
|
||||
*/
|
||||
public static final String SDK_VERSION = "sdk_version";
|
||||
/**
|
||||
* 字段 SCRIPT_VERSION。
|
||||
*/
|
||||
public static final String SCRIPT_VERSION = "script_version";
|
||||
/**
|
||||
* 字段 RELEASE_VERSION。
|
||||
*/
|
||||
public static final String RELEASE_VERSION = "release_version";
|
||||
/**
|
||||
* 字段 OS_VERSION。
|
||||
*/
|
||||
public static final String OS_VERSION = "os_version";
|
||||
/**
|
||||
* 字段 GMS_AVAILABLE。
|
||||
*/
|
||||
public static final String GMS_AVAILABLE = "gms_available";
|
||||
/**
|
||||
* 字段 TYPE。
|
||||
*/
|
||||
public static final String TYPE = "type";
|
||||
/**
|
||||
* 字段 PRE_BUILD。
|
||||
*/
|
||||
public static final String PRE_BUILD = "preBuild";
|
||||
/**
|
||||
* 字段 POST_BUILD。
|
||||
*/
|
||||
public static final String POST_BUILD = "postBuild";
|
||||
/**
|
||||
* 字段 STATE。
|
||||
*/
|
||||
public static final String STATE = "state";
|
||||
/**
|
||||
* 字段 IS_ONLINE。
|
||||
*/
|
||||
public static final String IS_ONLINE = "isOnline";
|
||||
/**
|
||||
* 字段 STATE_REGISTERED。
|
||||
*/
|
||||
public static final String STATE_REGISTERED = "registered";
|
||||
/**
|
||||
* 字段 STATE_ENROLLED。
|
||||
*/
|
||||
public static final String STATE_ENROLLED = "enrolled";
|
||||
/**
|
||||
* 字段 STATE_RETIRED。
|
||||
*/
|
||||
public static final String STATE_RETIRED = "retired";
|
||||
/**
|
||||
* 字段 FILE_URL。
|
||||
*/
|
||||
public static final String FILE_URL = "fileUrl";
|
||||
/**
|
||||
* 字段 ICON_URL。
|
||||
*/
|
||||
public static final String ICON_URL = "iconUrl";
|
||||
/**
|
||||
* 字段 SETTINGS_HEARTBEAT_INTERVAL。
|
||||
*/
|
||||
public static final String SETTINGS_HEARTBEAT_INTERVAL = "websocket.heartbeat.interval";
|
||||
/**
|
||||
* 字段 MESSAGE。
|
||||
*/
|
||||
public static final String MESSAGE = "message";
|
||||
/**
|
||||
* 字段 FILE_NAME。
|
||||
*/
|
||||
public static final String FILE_NAME = "fileName";
|
||||
/**
|
||||
* 字段 FILE_LENGTH。
|
||||
*/
|
||||
public static final String FILE_LENGTH = "fileLength";
|
||||
/**
|
||||
* 字段 PACKAGE。
|
||||
*/
|
||||
public static final String PACKAGE = "package";
|
||||
/**
|
||||
* 字段 PACKAGE_NAME。
|
||||
*/
|
||||
public static final String PACKAGE_NAME = "packageName";
|
||||
/**
|
||||
* 字段 LABEL。
|
||||
*/
|
||||
public static final String LABEL = "label";
|
||||
/**
|
||||
* 字段 VERSION_CODE。
|
||||
*/
|
||||
public static final String VERSION_CODE = "versionCode";
|
||||
/**
|
||||
* 字段 VERSION_NAME。
|
||||
*/
|
||||
public static final String VERSION_NAME = "versionName";
|
||||
/**
|
||||
* 字段 CHECKSUM。
|
||||
*/
|
||||
public static final String CHECKSUM = "checksum";
|
||||
/**
|
||||
* 字段 CERT_MD5。
|
||||
*/
|
||||
public static final String CERT_MD5 = "certMd5";
|
||||
/**
|
||||
* 字段 STORAGES。
|
||||
*/
|
||||
public static final String STORAGES = "storages";
|
||||
/**
|
||||
* 字段 MEMORY。
|
||||
*/
|
||||
public static final String MEMORY = "memory";
|
||||
/**
|
||||
* 字段 BATTERY。
|
||||
*/
|
||||
public static final String BATTERY = "battery";
|
||||
/**
|
||||
* 字段 TEMPERATURE。
|
||||
*/
|
||||
public static final String TEMPERATURE = "temperature";
|
||||
/**
|
||||
* 字段 VOLTAGE。
|
||||
*/
|
||||
public static final String VOLTAGE = "voltage";
|
||||
/**
|
||||
* 字段 CHARGE_LEVEL。
|
||||
*/
|
||||
public static final String CHARGE_LEVEL = "level";
|
||||
/**
|
||||
* 字段 CHARGING_STATUS。
|
||||
*/
|
||||
public static final String CHARGING_STATUS = "charginStatus";
|
||||
/**
|
||||
* 字段 PLUGGED。
|
||||
*/
|
||||
public static final String PLUGGED = "plugged";
|
||||
}
|
||||
Reference in new issue
Block a user