修改设置宫格行列接口为一条指令,避免后端重复计算
This commit is contained in:
parent
2ce176f746
commit
92b6698665
|
@ -695,7 +695,7 @@ export default class ClientConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
public setWallRowCol(wall_row: number, wall_col: number) {
|
public setWallRowCol(wall_row: number, wall_col: number) {
|
||||||
this.ws?.send(
|
/*this.ws?.send(
|
||||||
JSON.stringify(
|
JSON.stringify(
|
||||||
new Protocol.SetApplicationConfigRequestEntity(
|
new Protocol.SetApplicationConfigRequestEntity(
|
||||||
0,
|
0,
|
||||||
|
@ -712,6 +712,15 @@ export default class ClientConnection {
|
||||||
wall_col.toString()
|
wall_col.toString()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
);*/
|
||||||
|
this.ws?.send(
|
||||||
|
JSON.stringify(
|
||||||
|
new Protocol.SetApplicationConfigRequestEntity(
|
||||||
|
0,
|
||||||
|
"wall_row_col",
|
||||||
|
wall_row.toString() + "X" + wall_col.toString()
|
||||||
|
)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue