X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e98faf4414f7b9f5bcb318ca12e26e1aea183b70..d16ae7b9a503ecb0bb10fa2710d3c8e3e9ee190f:/include/stg/tariff_conf.h diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index 52e1fc1c..d8684bd9 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -191,6 +191,7 @@ struct TARIFF_CONF_RES passiveCost = tc.passiveCost; name = tc.name; period = tc.period; + changePolicy = tc.changePolicy; return *this; } @@ -203,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; } @@ -212,6 +214,7 @@ struct TARIFF_CONF_RES RESETABLE passiveCost; RESETABLE name; RESETABLE period; + RESETABLE changePolicy; }; //----------------------------------------------------------------------------- struct TARIFF_DATA