1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.hdl.linkpm.sdk.home.type;
|
| import androidx.annotation.StringDef;
|
| import java.lang.annotation.Retention;
|
| import static java.lang.annotation.RetentionPolicy.SOURCE;
|
| /**
| * Created by jlchen on 12/10/21.
| * 房间类型:楼层、房间
| */
| @Retention(SOURCE)
| @StringDef({RoomType.FLOOR, RoomType.ROOM})
| public @interface RoomType {
| //0:楼层
| String FLOOR = "FLOOR";
| //1:房间
| String ROOM = "ROOM";
| }
|
|