diff --git a/cd/test/tp0966.txt b/cd/test/tp0966.txt new file mode 100644 index 000000000..8eec6aad4 --- /dev/null +++ b/cd/test/tp0966.txt @@ -0,0 +1,7 @@ +tp0900ac.rep +tp0900al.rep +tp0900ca.rep +tp0900le.rep +tp0900ve.rep + +Corrette immagini di sfondo nelle dichiarazioni CONAI diff --git a/cd/test/tp0966a.ini b/cd/test/tp0966a.ini new file mode 100644 index 000000000..e9cdd8ed9 --- /dev/null +++ b/cd/test/tp0966a.ini @@ -0,0 +1,25 @@ +[Main] +Demo=0 + +[tp1] +File(6) = tp0900ac.rep|X +File(8) = tp0900al.rep|X +File(10) = tp0900ca.rep|X +File(16) = tp0900le.rep|X +File(24) = tp0900ve.rep|X +Patch = 0966 +Versione = 21511200 + +[tp] +Data = 04-06-2020 +Descrizione = Trasferimento PACK +Dischi = 1 +Moduli = ve +OEM = +Patch = 966 +PostProcess = +PreProcess = +Prezzo(1) = +Prezzo(2) = +Versione = 21511200 + diff --git a/cd/test/tp0966a1.zip b/cd/test/tp0966a1.zip new file mode 100644 index 000000000..e74d8ab31 Binary files /dev/null and b/cd/test/tp0966a1.zip differ diff --git a/src/ci/ci1400.cpp b/src/ci/ci1400.cpp index c3f157419..4b7b3a6f1 100755 --- a/src/ci/ci1400.cpp +++ b/src/ci/ci1400.cpp @@ -246,7 +246,7 @@ void TRil_ore_cms_mask::elabora() const format_report_month(get_int(F_ANNO), m, rep); //query sul file interessato (commessa o centro di costo) - TString16 cms_cdc; + TString30 cms_cdc; TString query_cms_cdc; TString msg, code_name; const char tipo_cms_cdc = get(F_CMSOCDC)[0]; diff --git a/src/include/strings.h b/src/include/strings.h index 2c2fe60cf..8c242d598 100755 --- a/src/include/strings.h +++ b/src/include/strings.h @@ -446,6 +446,23 @@ public: }; +class TString30 : public TFixed_string +{ + char _str30[36]; + +protected: + virtual TObject* dup() const { return new TString30(_str30); } + +public: + TString30(const char* s = "") : TFixed_string(_str30, 31) { set(s); } + TString30(const TString& s) : TFixed_string(_str30, 31) { set(s); } + TString30(const TString30& s) : TFixed_string(_str30, 31) { set(s); } + const TString& operator =(const char* s) { return set(s); } + const TString& operator =(const TString& s) { return set((const char*)s); } + const TString& operator =(const TString30& s) { return set((const char*)s); } +}; + + class TString40 : public TFixed_string { char _str40[48]; diff --git a/src/tp/tp0900ac.rep b/src/tp/tp0900ac.rep index 8db47d85a..e88d1dd8a 100755 --- a/src/tp/tp0900ac.rep +++ b/src/tp/tp0900ac.rep @@ -1,10 +1,10 @@ - + Dichiarazione CONAI acciaio 6.1 -
+ -
-
+