magic4
This commit is contained in:
13
static/Magic4/Lu_MySQL_Driver_SimulationVehicleTable.js
Normal file
13
static/Magic4/Lu_MySQL_Driver_SimulationVehicleTable.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var SimulationVehicleTable;
|
||||
function Lu_Parse_SimulationVehicleTable(str){
|
||||
if(str==""){
|
||||
str="{\"Default_Charge_NodeID\":0,\"Default_Rest_NodeID\":0,\"AGV_ID\":255}";
|
||||
}
|
||||
SimulationVehicleTable = JSON.parse(str);
|
||||
//console.log(SimulationVehicleTable);
|
||||
var tmp=new Object();
|
||||
tmp.AGV_ID=SimulationVehicleTable.AGV_ID;
|
||||
tmp.Default_Rest_NodeID=SimulationVehicleTable.Default_Rest_NodeID;
|
||||
tmp.Default_Charge_NodeID=SimulationVehicleTable.Default_Charge_NodeID;
|
||||
return tmp;
|
||||
}
|
||||
Reference in New Issue
Block a user