CSUFUNLAB / FaultInjection

fault injection front and back
0 stars 0 forks source link

FaultInsertInterface接口修改 #6

Closed b66766b closed 2 weeks ago

b66766b commented 2 weeks ago

原json解析有些复杂,改一下nodes节点解析 recvJsonDatas: { "faultParameter" : "",// 故障参数 "faultType" : "congest",// 故障类型 "nodes" :// 故障节点 [ { "value" : "1" } ] }*/ 改为

recvJsonDatas: {
    "faultParameter" : "",// 故障参数
    "faultType" : "congest",// 故障类型
    "nodeA" : “1”,
            "nodeB" : “2”, // nodeB不一定存在
}*/
b66766b commented 2 weeks ago

commit 4ea7eaa1e22a11017669d8aa26d61c8601737930 Author: magen 2023638563@qq.com Date: Tue Jun 18 17:18:02 2024 +0800

对数据注入界面(FaultDataView)提交的faultDataForm表单进行了数据类型转换:bandWidth:string,nodeA:int,nodeB:int,sendTime:int