AI助手指令

视频聊天(大屏)

// 参数类型
type userid = string

// 传入示例
{
  videoChat: userid
}

语音聊天(大屏)

// 参数类型
type userid = string

// 传入示例
{
  voiceChat: userid
}

文字聊天(大屏)

// 参数类型
type userid = string

// 传入示例
{
  textChat: userId
}

创建临时钉住点(大屏)

// 参数类型
interface Item {
  name: string
  lon: number
  lat: number
  height: number
  dataType: 'hospital' | 'firehouse'
}

// 传入示例
{
  createPegTempPoint: Item | Item[]
}

创建标记(APP)

// 参数类型
interface Data = {
  lon: string
  lat: string
  name: string
  typeId: string // 标记类型
  labelBothSide: '1' | '2' // 标签 1=敌方、0=我方// 传入示例
{
  createMark: Data
}

获取当前人员位置(APP)

// 传入示例
{
  getUserLocation: ''
}

唤起力量匹配(大屏)

interface Data = {
  type: 'maintenance' | 'rescue' | 'strike' // 维修 | 救援 | 打击
  radius: number // 半径
  params?: object // 暂无参数// 传入示例
{
  forceMatching: Data
}

// 维修示例
{
  forceMatching: {
  	type: 'maintenance',
  	radius: 50
  }
}

// 救援示例
{
  forceMatching: {
  	type: 'rescue',
  	radius: 50
}

// 打击示例
{
  forceMatching: {
  	type: 'strike',
  	radius: 50
  }
}

力量匹配方案确认(大屏)

interface RescueParams {
  deptid: string
  userid: string
}

interface Data = {
  type: 'maintenance' | 'rescue' | 'strike' // 维修 | 救援 | 打击
  index?: number // 第几个方案
  params?: RescueParams
}

// 传入示例
{
  forcePlanConfirmation: Data
}

// 维修示例
{
  forcePlanConfirmation: {
  	type: 'maintenance',
  	index: 1
  }
}

// 救援示例
{
  forcePlanConfirmation: {
  	type: 'rescue',
  	params: {
  	  deptid: '1',
  	  userid: '15'
  	}
  }
}

// 打击示例
{
  forcePlanConfirmation: {
  	type: 'strike',
  	index: 1
  }
}

创建打击目标(APP)

interface Data = {
  lon: string // 经度
  lat: string // 纬度
  name: string // 名称
  number: number // 数量
  importance: number // 重要级别(1-7)// 传入示例
{
  createStrikeTarget: Data
}
  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值