Service/Calc/Value/Tv.php
private function getCalcData()
    {
        /**
         * Get period & calc data.
         */
        $req = new AGetPeriodRequest();
        $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_COMPRESS_PHASE1);
        $req->setDepCalcTypeCode(Cfg::CODE_TYPE_CALC_VALUE_TV);
        /** @var AGetPeriodResponse $resp */
        $resp = $this->servPeriodGet->exec($req);
        /** @var ECalc $compressCalc */
        $compressCalc = $resp->getBaseCalcData();
        /** @var ECalc $tvCalc */
        $tvCalc = $resp->getDepCalcData();
        /**
         * Compose result.
         */
        $result = [$compressCalc, $tvCalc];
        return $result;
    }
private function getCalcData()
    {
        /**
         * Get period & calc data.
         */
        $req = new AGetPeriodRequest();
        $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_COMPRESS_PHASE1);
        $req->setDepCalcTypeCode(Cfg::CODE_TYPE_CALC_VALUE_TV);
        /** @var AGetPeriodResponse $resp */
        $resp = $this->servPeriodGet->exec($req);
        /** @var ECalc $compressCalc */
        $compressCalc = $resp->getBaseCalcData();
        /** @var ECalc $tvCalc */
        $tvCalc = $resp->getDepCalcData();
        /**
         * Compose result.
         */
        $result = [$compressCalc, $tvCalc];
        return $result;
    }
Get data for periods/calculations.

@return array [$compressCalc, $tvCalc]
@throws \Exception