]> git.stg.codes - stg.git/commitdiff
Ticket 37. The changePolicy parameter added in the struct
authorElena Mamontova <helenh463@gmail.com>
Tue, 24 May 2016 09:04:14 +0000 (12:04 +0300)
committerElena Mamontova <helenh463@gmail.com>
Tue, 24 May 2016 09:04:14 +0000 (12:04 +0300)
TARIFF_CONF_RES GetData() function.

include/stg/tariff_conf.h

index 8640d82383f437cd3e37c793d00aae595b0aa88d..32ca20dc98320d79d0d068d4a967ddf64451d674 100644 (file)
@@ -204,6 +204,7 @@ struct TARIFF_CONF_RES
         passiveCost.maybeSet(tc.passiveCost);
         traffType.maybeSet(tc.traffType);
         period.maybeSet(tc.period);
         passiveCost.maybeSet(tc.passiveCost);
         traffType.maybeSet(tc.traffType);
         period.maybeSet(tc.period);
+        changePolicy.maybeSet(tc.changePolicy);
         return tc;
         }
 
         return tc;
         }