更改sap字段

main
李岩峰 6 years ago
parent 25b89805a7
commit 5b10ba7a0d

3
.gitignore vendored

@ -365,4 +365,5 @@ ASALocalRun/
.mfractor/
# Local History for Visual Studio
.localhistory/
.localhistory/
HEZON_ITK/HEZON_ITK.vcxproj

@ -51,13 +51,13 @@ int bs_sap_material(EPM_action_message_t msg)
rel_map[temp_vec[0]] = temp_vec[1];
}
}
vector<string> rel_vec2;
split(pref_vals[5], ",", &rel_vec2);
split(pref_vals[5], ",", &rel_vec);
for (int i = 0; i<rel_vec.size(); i++)
for (int i = 0; i<rel_vec2.size(); i++)
{
vector<string> temp_vec;
split(rel_vec[i], "=", &temp_vec);
split(rel_vec2[i], "=", &temp_vec);
if (temp_vec.size() == 2)
{
prop_map[temp_vec[0]] = temp_vec[1];
@ -119,7 +119,7 @@ int bs_sap_material(EPM_action_message_t msg)
AOM_UIF_ask_value(rels[0], j->second.c_str(), &val);
temp_val = val;
}
printf("key:%s\n", j->first.c_str());
dic[convert_to_cstring(j->first.c_str())] = convert_to_cstring(temp_val.c_str());
}
tag_t class_obj;

Loading…
Cancel
Save