From: Elena Mamontova Date: Tue, 20 Sep 2016 15:16:29 +0000 (+0300) Subject: Ticket 37. The WriteTime() function call for the 'changePolicyTimeout' X-Git-Tag: 2.409~84 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/0c5f08010e784f0c860c8459141af7da75b2da3c Ticket 37. The WriteTime() function call for the 'changePolicyTimeout' added in the SaveTariff() function. --- 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;