X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cd109e618baab42a4490851aef6f779612512eea..5e7cbf1bbd282c0b18a09c5e77e237a4e20f6e32:/include/stg/tariff_conf.h diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index a33247d6..79ade2eb 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -183,7 +183,8 @@ struct TARIFF_CONF_RES passiveCost(), name(), period(), - changePolicy() + changePolicy(), + changePolicyTimeout() {} TARIFF_CONF_RES & operator=(const TARIFF_CONF & tc) @@ -195,6 +196,7 @@ struct TARIFF_CONF_RES name = tc.name; period = tc.period; changePolicy = tc.changePolicy; + changePolicyTimeout = tc.changePolicyTimeout; return *this; } @@ -208,6 +210,7 @@ struct TARIFF_CONF_RES traffType.maybeSet(tc.traffType); period.maybeSet(tc.period); changePolicy.maybeSet(tc.changePolicy); + changePolicyTimeout.maybeSet(tc.changePolicyTimeout); return tc; } @@ -218,6 +221,7 @@ struct TARIFF_CONF_RES RESETABLE name; RESETABLE period; RESETABLE changePolicy; + RESETABLE changePolicyTimeout; }; //----------------------------------------------------------------------------- struct TARIFF_DATA