Aggiunta scrittura in chiusura
This commit is contained in:
@@ -318,6 +318,9 @@ namespace MTC_Adapter
|
||||
private void stop_Click(object sender, EventArgs e)
|
||||
{
|
||||
agObj.stopAdapter();
|
||||
// salvo!
|
||||
savePersistLayer(defPersLayerFile);
|
||||
savePersistLayer(histPersLayerFile);
|
||||
|
||||
stop.Enabled = false;
|
||||
dump.Enabled = false;
|
||||
@@ -401,11 +404,6 @@ namespace MTC_Adapter
|
||||
/// </summary>
|
||||
public void persistData()
|
||||
{
|
||||
//// salvo il file "corrente"
|
||||
//saveXmlFile(defConfFilePath);
|
||||
//// salvo anche file in cartella storicizzazione in formato XML
|
||||
//saveXmlFile(histFilePath);
|
||||
|
||||
// salvo ogni "autoSaveSec" secondi dall'ultimo salvataggio...
|
||||
TimeSpan tempoMod = new TimeSpan(0);
|
||||
if (File.Exists(defPersLayerFile))
|
||||
|
||||
Reference in New Issue
Block a user