|
|
|
|
@ -862,125 +862,85 @@ int BaseFuntonConfigJson::GetFunction(Json::Value value)
|
|
|
|
|
_config.bigNG.bOpen = value_f["isOpen"].asBool();
|
|
|
|
|
if (_config.bigNG.bOpen)
|
|
|
|
|
{
|
|
|
|
|
if (value_f["form"]["aotudian"]["open"])
|
|
|
|
|
if (value_f["form"]["PIN_PoSun"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_aotudian].bOpen = value_f["form"]["aotudian"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_PoSun].bOpen = value_f["form"]["PIN_PoSun"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["aotudian"]["Area"])
|
|
|
|
|
if (value_f["form"]["PIN_PoSun"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_aotudian].fArea = value_f["form"]["aotudian"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_PoSun].fArea = value_f["form"]["PIN_PoSun"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_aotudian].strname = "aotudian";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_PoSun].strname = "PIN_PoSun";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["other"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].bOpen = value_f["form"]["other"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["other"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].fArea = value_f["form"]["other"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].strname = "other";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["line"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_line].bOpen = value_f["form"]["line"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["line"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_line].fArea = value_f["form"]["line"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_line].strname = "line";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["zangwu"]["open"])
|
|
|
|
|
if (value_f["form"]["PIN_QueShi"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_zangwu].bOpen = value_f["form"]["zangwu"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_QueShi].bOpen = value_f["form"]["PIN_QueShi"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["zangwu"]["Area"])
|
|
|
|
|
if (value_f["form"]["PIN_QueShi"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_zangwu].fArea = value_f["form"]["zangwu"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_QueShi].fArea = value_f["form"]["PIN_QueShi"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_zangwu].strname = "zangwu";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_PIN_QueShi].strname = "PIN_QueShi";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["edge"]["open"])
|
|
|
|
|
if (value_f["form"]["BTB_DuanLie"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_edge].bOpen = value_f["form"]["edge"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_BTB_DuanLie].bOpen = value_f["form"]["BTB_DuanLie"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["edge"]["Area"])
|
|
|
|
|
if (value_f["form"]["BTB_DuanLie"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_edge].fArea = value_f["form"]["edge"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_BTB_DuanLie].fArea = value_f["form"]["BTB_DuanLie"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_edge].strname = "edge";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_BTB_DuanLie].strname = "BTB_DuanLie";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["ymhs"]["open"])
|
|
|
|
|
if (value_f["form"]["LianXi"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_ymhs].bOpen = value_f["form"]["ymhs"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_LianXi].bOpen = value_f["form"]["LianXi"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["ymhs"]["Area"])
|
|
|
|
|
if (value_f["form"]["LianXi"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_ymhs].fArea = value_f["form"]["ymhs"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_LianXi].fArea = value_f["form"]["LianXi"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_ymhs].strname = "ymhs";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_LianXi].strname = "LianXi";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["dianzhuang"]["open"])
|
|
|
|
|
if (value_f["form"]["QueXi"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_dianzhuang].bOpen = value_f["form"]["dianzhuang"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_QueXi].bOpen = value_f["form"]["QueXi"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["dianzhuang"]["Area"])
|
|
|
|
|
if (value_f["form"]["QueXi"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_dianzhuang].fArea = value_f["form"]["dianzhuang"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_QueXi].fArea = value_f["form"]["QueXi"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_dianzhuang].strname = "dianzhuang";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_QueXi].strname = "QueXi";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["posun"]["open"])
|
|
|
|
|
if (value_f["form"]["YiWu"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_posun].bOpen = value_f["form"]["posun"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_YiWu].bOpen = value_f["form"]["YiWu"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["posun"]["Area"])
|
|
|
|
|
if (value_f["form"]["YiWu"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_posun].fArea = value_f["form"]["posun"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_YiWu].fArea = value_f["form"]["YiWu"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_posun].strname = "posun";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_YiWu].strname = "YiWu";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["xianwei"]["open"])
|
|
|
|
|
if (value_f["form"]["C_BianXing"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_xianwei].bOpen = value_f["form"]["xianwei"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_C_BianXing].bOpen = value_f["form"]["C_BianXing"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["xianwei"]["Area"])
|
|
|
|
|
if (value_f["form"]["C_BianXing"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_xianwei].fArea = value_f["form"]["xianwei"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_C_BianXing].fArea = value_f["form"]["C_BianXing"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_xianwei].strname = "xianwei";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_C_BianXing].strname = "C_BianXing";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["shuizi"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_shuizi].bOpen = value_f["form"]["shuizi"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["shuizi"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_shuizi].fArea = value_f["form"]["shuizi"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_shuizi].strname = "shuizi";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["danban"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_danban].bOpen = value_f["form"]["danban"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["danban"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_danban].fArea = value_f["form"]["danban"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_danban].strname = "danban";
|
|
|
|
|
|
|
|
|
|
if (value_f["form"]["fuchen"]["open"])
|
|
|
|
|
if (value_f["form"]["other"]["open"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_fuchen].bOpen = value_f["form"]["fuchen"]["open"].asBool();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].bOpen = value_f["form"]["other"]["open"].asBool();
|
|
|
|
|
}
|
|
|
|
|
if (value_f["form"]["fuchen"]["Area"])
|
|
|
|
|
if (value_f["form"]["other"]["Area"])
|
|
|
|
|
{
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_fuchen].fArea = value_f["form"]["fuchen"]["Area"].asFloat();
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].fArea = value_f["form"]["other"]["Area"].asFloat();
|
|
|
|
|
}
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_fuchen].strname = "fuchen";
|
|
|
|
|
_config.bigNG.qx[CONFIG_QX_NAME_cell_other].strname = "other";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
|