Patch level : 10.0 patch 466
Files correlati : lv2 Ricompilazione Demo : [ ] Commento : Corretto l'uso dei TConfig git-svn-id: svn://10.65.10.50/trunk@19422 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7c05223904
commit
8080271230
@ -212,9 +212,9 @@ TQuantita_contate::TQuantita_contate(long pezzi, long rotti)
|
|||||||
set_rotti(rotti);
|
set_rotti(rotti);
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////
|
/////////////////////////////////
|
||||||
//// TARTICOLI_CONTATI ////
|
//// TARTICOLI_CONTATI ////
|
||||||
//////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
//classe TArticoli_contati
|
//classe TArticoli_contati
|
||||||
@ -263,15 +263,15 @@ bool TAcquisizione_msk::on_field_event(TOperable_field& f,TField_event e,long jo
|
|||||||
//metodo costruttore che precarica i campi di interesse sulla maschera
|
//metodo costruttore che precarica i campi di interesse sulla maschera
|
||||||
TAcquisizione_msk::TAcquisizione_msk():TAutomask("lv2600a")
|
TAcquisizione_msk::TAcquisizione_msk():TAutomask("lv2600a")
|
||||||
{
|
{
|
||||||
TConfig* configlv = new TConfig(CONFIG_DITTA, "lv");
|
TConfig configlv(CONFIG_DITTA, "lv");
|
||||||
|
|
||||||
const TString& path = configlv->get("PathContapezzi");
|
const TString& path = configlv.get("PathContapezzi");
|
||||||
set(F_PATH, path);
|
set(F_PATH, path);
|
||||||
|
|
||||||
TSheet_field& sheet = sfield(F_SHEET_NAME);
|
TSheet_field& sheet = sfield(F_SHEET_NAME);
|
||||||
for (int i = 0; ; i++)
|
for (int i = 0; ; i++)
|
||||||
{
|
{
|
||||||
TString nomefile = configlv->get("FileName", NULL, i);
|
TString nomefile = configlv.get("FileName", NULL, i);
|
||||||
if (nomefile.empty())
|
if (nomefile.empty())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user