Patch level : 2.2
Files correlati : Ricompilazione Demo : [ ] Commento : Corretta funzione che determina il file relativo al livello di cdc/commessa/fase: sbagliava a stabilire il secondo livello, scambiandolo col primo git-svn-id: svn://10.65.10.50/trunk@13751 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c9aa7f7bc8
commit
2ee558e8c1
@ -282,8 +282,7 @@ const TMultilevel_code_info* ca_multilevel_code_info_by_index(int level)
|
||||
{
|
||||
TConfig& cfg = ca_config();
|
||||
const TString& lev1 = cfg.get("Level", NULL, 1);
|
||||
|
||||
if (!lev1.blank())
|
||||
if (lev1.full())
|
||||
{
|
||||
const TMultilevel_code_info& fasi = ca_multilevel_code_info(LF_FASI);
|
||||
int k = 0;
|
||||
@ -292,9 +291,9 @@ const TMultilevel_code_info* ca_multilevel_code_info_by_index(int level)
|
||||
_logicnum[++k] = LF_FASI;
|
||||
|
||||
const TString& lev2 = cfg.get("Level", NULL, 2);
|
||||
if (!lev2.blank())
|
||||
if (lev2.full())
|
||||
{
|
||||
_logicnum[k] = _logicnum[0] == LF_COMMESSE ? LF_CDC : LF_COMMESSE;
|
||||
_logicnum[++k] = _logicnum[0] == LF_COMMESSE ? LF_CDC : LF_COMMESSE;
|
||||
if (fasi.parent() == _logicnum[k])
|
||||
_logicnum[++k] = LF_FASI;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user