X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/fcd0d9d5cd2d5e911366df52cc31efd82dae4503..ba96013ed9ad6732284db1487c8a615343cc8c64:/include/stg/tariff_conf.h diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index 32ca20dc..9de30830 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -214,6 +214,7 @@ struct TARIFF_CONF_RES RESETABLE passiveCost; RESETABLE name; RESETABLE period; + RESETABLE changePolicy; }; //----------------------------------------------------------------------------- struct TARIFF_DATA @@ -254,6 +255,12 @@ struct TARIFF_DATA_RES dirPrice(DIR_NUM) {} + TARIFF_DATA_RES & operator=(const TARIFF_DATA & td) + { + tariffConf = td.tariffConf; + return *this; + } + TARIFF_DATA GetData() const { TARIFF_DATA td;