From 0c5f08010e784f0c860c8459141af7da75b2da3c Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 20 Sep 2016 18:16:29 +0300 Subject: [PATCH 1/1] Ticket 37. The WriteTime() function call for the 'changePolicyTimeout' added in the SaveTariff() function. --- projects/stargazer/plugins/store/files/file_store.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp index 0c48722c..51c37079 100644 --- a/projects/stargazer/plugins/store/files/file_store.cpp +++ b/projects/stargazer/plugins/store/files/file_store.cpp @@ -1540,6 +1540,7 @@ std::string fileName = storeSettings.GetTariffsDir() + "/" + tariffName + ".tf"; cf.WriteString("TraffType", TARIFF::TraffTypeToString(td.tariffConf.traffType)); cf.WriteString("Period", TARIFF::PeriodToString(td.tariffConf.period)); cf.WriteString("ChangePolicy", TARIFF::ChangePolicyToString(td.tariffConf.changePolicy)); + cf.WriteTime("ChangePolicyTimeout", td.tariffConf.changePolicyTimeout); } return 0; -- 2.44.2