X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cb2b888547ddd246173d07ebdf354dc9a8bfad7d..fb3a3aae0c569547b43b5df6fa9b3df5ea3e033f:/include/stg/tariff_conf.h?ds=sidebyside diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index 7790d47b..d8684bd9 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -179,7 +179,8 @@ struct TARIFF_CONF_RES traffType(), passiveCost(), name(), - period() + period(), + changePolicy() {} TARIFF_CONF_RES & operator=(const TARIFF_CONF & tc) @@ -190,6 +191,7 @@ struct TARIFF_CONF_RES passiveCost = tc.passiveCost; name = tc.name; period = tc.period; + changePolicy = tc.changePolicy; return *this; } @@ -202,6 +204,7 @@ struct TARIFF_CONF_RES passiveCost.maybeSet(tc.passiveCost); traffType.maybeSet(tc.traffType); period.maybeSet(tc.period); + changePolicy.maybeSet(tc.changePolicy); return tc; } @@ -211,6 +214,7 @@ struct TARIFF_CONF_RES RESETABLE passiveCost; RESETABLE name; RESETABLE period; + RESETABLE changePolicy; }; //----------------------------------------------------------------------------- struct TARIFF_DATA