视频聊天(大屏)
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'
}
{
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
}
{
createStrikeTarget: Data
}