package com.sandu.ximon.admin.redis; import com.sandu.common.redis.BasePrefix; /** * @author chenjiantian * @date 2021/9/3 16:40 * 灯相关的key */ public class LightKey extends BasePrefix { public LightKey(int expireSeconds, String prefix) { super(expireSeconds, prefix); } @Override public String getModelName() { return "Light"; } /** * 单灯上报的mac,如果有说明该上报的单灯以前已经上报过 */ public static LightKey REPORT_MAC = new LightKey(0, "ReportMac"); public static LightKey POLE_SN = new LightKey(300, "PoleSn"); }