/**蓝牙命令合集*/
export const bleCommandSamples = {
  /**发送配对码*/
  match: {
    commandType: "BleMatch",
    bleCommandType: "SendMatchCode",
  },
  /**查询附属设备的配对状态*/
  querySubDevice: {
    commandType: "BleMatch",
    bleCommandType: "QueryMatchStatus",
  },
  /**查询设备状态指令*/
  queryDeviceStatus: {
    commandType: "DeviceStatusSync",
    deviceSyncCommandType: "queryDeviceStatus",
  },
  /**查询版本指令*/
  queryDeviceVersionStatus: {
    commandType: "InfoQuery",
    infoQueryType: "versionInfo",
    otaDeviceType: "",
  },
  /**查询当前记录*/
  queryCurrentMaskReportInfo: {
    commandType: "InfoQuery",
    infoQueryType: "currentMaskReportInfo",
  },
};

/**控制设备命令合集*/
export const deviceCommandSamples = {
  /**控制设备暂停 pause暂停  working启动 end关闭*/
  pause: {
    commandType: "DeviceControl",
    workStatus: "pause",
  },
  standby: {
    commandType: "DeviceControl",
    workStatus: "standby",
  },
  end: {
    commandType: "DeviceControl",
    workStatus: "end",
  },
  /*
   *   powerfulSoothing 强效舒缓 01
   *   Stability 维稳维护  02
   *   Brighten 均色提亮   03
   *   FirmSkin 紧致淡纹   04
   *   Custom 自定义模式   05
   *   WaterLightEssence 水光精华模式 11
   *   ShapeBeautyEssence 塑颜精华模式 12
   *   DiyFacial DIY面膜模式 13
   *   FacialMaskCustom 面膜定制模式 1A
   */
  work: {
    commandType: "DeviceControl",
    workStatus: "working",
    workMode: "",
  },
  gear: {
    commandType: "DeviceControl",
    partitionStatus: [{ gear: 1 }, { gear: 1 }, { gear: 1 }, { gear: 1 }],
  },
};
