fuliqi
2024-10-17 8546b3d285af4235a0ef615a0c6e89486ae2c806
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.ycl.jxkg.enums;
 
import lombok.Getter;
 
/**
 * websocket事件
 *
 * @author:xp
 * @date:2024/6/26 16:50
 */
@Getter
public enum WebsocketCommendEnum {
 
 
    DELAYED("delayed", "延长考试时间"),
    FORCE_SUBMIT("forceSubmit", "强制提交"),
    RECORD_STUDY_TIME("recordStudyTime", "记录学习时间"),
    OPEN_CAMERA("openCamera", "打开摄像头"),
    MUTE("mute", "静音"),
    KICK_OUT("kickOut", "踢出"),
    ;
 
    private final String command;
 
    private final String desc;
 
    WebsocketCommendEnum(String command, String desc) {
        this.command = command;
        this.desc = desc;
    }
}