package net.northking.cctp.mobile.constants;

public interface MobileConnectionConstants {

    /**
     * 前端指令相关
     */
    interface CommandConstants{
        //开启屏幕推图
        String CMD_SCREEN_ON = "screen_on";
        //设置推图尺寸
        String CMD_SCREEN_SIZE = "screen_size";
        //设置图片质量和最大帧率
        String CMD_SCREEN_QUALITY = "screen_quality";
        //开启录屏
        String CMD_SCREEN_RECORD_ON = "screen_record_on";
        //结束录屏
        String CMD_SCREEN_RECORD_OFF = "screen_record_off";
        //截图
        String CMD_SCREEN_CAPTURE = "screen_capture";
        //触控-按下
        String CMD_INPUT_TOUCHDOWN = "input_touchDown";
        //触控-移动
        String CMD_INPUT_TOUCHMOVE = "input_touchMove";
        //触控-抬起
        String CMD_INPUT_TOUCHUP = "input_touchUp";
        //发送热键
        String CMD_INPUT_KEYPRESS = "input_keyPress";
        //键盘按钮按下
        String CMD_INPUT_KEYDOWN = "input_keyDown";
        //键盘按钮抬起
        String CMD_INPUT_KEYUP = "input_keyUp";
        //键盘输入
        String CMD_INPUT_TYPE = "input_type";
        //设置输入文本
        String CMD_INPUT_SETTEXT = "input_setText";
        //粘贴文本
        String CMD_CLIPBOARD_PAST = "clipboard_past";
        //复制文本
        String CMD_CLIPBOARD_COPY = "clipboard_copy";
        //旋转屏幕
        String CMD_DISPLAY_ROTATE = "device_rotate";
        //重启设备
        String CMD_DEVICE_REBOOT = "device_reboot";
        //关机
        String CMD_DEVICE_SHUTDOWN = "device_shutdown";
        //获取xml
        String CMD_DEVICE_START_NODE = "device_start_node";
        //关闭xml
        String CMD_DEVICE_STOP_NODE = "device_stop_node";
        //打开设置
        String CMD_DEVICE_OPENSETTING = "device_openSetting";
        //打开相机
        String CMD_DEVICE_OPENCAMERA = "device_openCamera";
        //获取应用列表
        String CMD_DEVICE_APPLIST = "device_appList";
        //安装应用
        String CMD_DEVICE_INSTALL = "device_install";
        //卸载应用
        String CMD_DEVICE_UNINSTALL = "device_uninstall";
        //设置wifi状态
        String CMD_WIFI_SET = "device_wifi";
        //发送shell命令
        String CMD_SHELL_COMMAND = "shell_command";
        //日志获取
        String CMD_LOGCAT_START = "logcat_start";
        //停止日志获取
        String CMD_LOGCAT_STOP = "logcat_stop";
        //下载日志
        String CMD_LOGCAT_DOWNLOAD = "logcat_download";
        //打开浏览器
        String CMD_BROWSER_OPEN = "device_openBrowser";
        //获取设备文件列表
        String CMD_FS_LIST = "fs_list";
        //上传文件到设备
        String CMD_FS_PUSH = "fs_push";
        //下载设备中的文件
        String CMD_FS_PULL = "fs_pull";
        //开启远程adb服务
        String CMD_CONNECT_START = "connect_start";
        //关闭远程adb服务
        String CMD_CONNECT_STOP = "connect_stop";
        //wifi状态变更
        String CMD_WIFI_CHANGE = "wifi_change";
        //显示状态变更
        String CMD_DISPLAY_CHANGE = "display_change";
        //设备连接状态
        String CMD_DEVICE_CONNECT = "device_connect";

        //设备状态
        String CMD_DEVICE_STATUS = "device_status";

        //连接手机
        String CMD_DEVICE_ENTER = "device_enter";

        //退出手机
        String CMD_DEVICE_EXIT = "device_exit";

        //获取性能数据
        String CMD_START_PER_DATA = "device_start_per_data";

        //停止获取性能
        String CMD_STOP_PER_DATA = "device_stop_per_data";
    }

    /**
     * 响应相关
     */
   interface ReplyConst{
        String KEY_CMD_REPLY = "reply";
        String KEY_REQUEST_ID = "requestId";
        String KEY_SUCCESS = "success";
        String KEY_FINISH = "finish";
        String KEY_MSG = "msg";
        String KEY_RESULT = "result";
        String KEY_STEP_ID = "stepId";
        String KEY_NEXT_STEP_ID = "nextStepId";
        String KEY_VARIABLES = "variables";
        String KEY_DEVICE_STATUS_TYPE = "type";
        String VAL_DEVICE_STATUS_CONNECTING = "connecting";
        String VAL_DEVICE_STATUS_CONNECTED = "connected";
        String VAL_DEVICE_STATUS_DISCONNECTED = "disconnect";
    }
}
