package com.hdl.sdk.link.gateway.type; import androidx.annotation.StringDef; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; /** * Created by jlchen on 12/30/21. */ @Retention(SOURCE) @StringDef({GatewayMasterType.MasterTrue,GatewayMasterType.MasterFalse,GatewayMasterType.NO_CONFIG}) public @interface GatewayMasterType { //主网关 String MasterTrue = "true"; //从网关 String MasterFalse = "false"; //未配置 String NO_CONFIG = "no_config"; }