function doExecute(\Classes\Controller\Controller\Request $request)
 {
     \Classes\Utils\Timer\Timer::start('DIVIDE_ALL_MEMBERS');
     \Classes\Utils\Member\DivideMember::divideAllMembersByExistingNodes();
     \Classes\Utils\Timer\Timer::stop('DIVIDE_ALL_MEMBERS');
     $request->addFeedback(\Classes\Utils\Timer\Timer::show('DIVIDE_ALL_MEMBERS'));
     include \Classes\Controller\Util\Utils::createViewName('divideAllMemberByExistingNodes');
 }
 function doExecute(\Classes\Controller\Controller\Request $request)
 {
     \Classes\Utils\Timer\Timer::start('COMBINE_DOUBLE_NODES');
     \Classes\Utils\Node\DoubleNodes::combineAll(array(\Classes\Factory\Model\Model::getHashTable()));
     \Classes\Utils\Timer\Timer::stop('COMBINE_DOUBLE_NODES');
     $request->addFeedback(\Classes\Utils\Timer\Timer::show('COMBINE_DOUBLE_NODES'));
     include \Classes\Controller\Util\Utils::createViewName('combineDoubleNodes');
 }
 function doExecute(\Classes\Controller\Controller\Request $request)
 {
     \Classes\Utils\Timer\Timer::start('LOADS_UPLOAD');
     // Получаем переменные
     $filename = $request->getProperty('filename');
     $uploadFactory = new \Classes\Factory\Import\Instance\InstanceUploaderFromExcel();
     $objectArray = $uploadFactory->upload($filename, new \Classes\Instance\Load\Member\CommonMemberLoad());
     $notFoundObjects = \Classes\Factory\Model\Addition\MemberLoadAddition::add($objectArray);
     $request->addFeedback($notFoundObjects);
     \Classes\Utils\Timer\Timer::stop('LOADS_UPLOAD');
     $request->addFeedback(\Classes\Utils\Timer\Timer::show('LOADS_UPLOAD'));
     include \Classes\Controller\Util\Utils::createViewName('importCommonMemberLoadsFromExcel');
 }
 function doExecute(\Classes\Controller\Controller\Request $request)
 {
     \Classes\Utils\Timer\Timer::start('PARAMETER_MEMBER_UPLOAD');
     // Получаем переменные
     $filename = $request->getProperty('filename');
     $uploadFactory = new \Classes\Factory\Import\Instance\InstanceUploaderFromExcel();
     $objectArray = $uploadFactory->upload($filename, new \Classes\Instance\Member\ParameterMember());
     foreach ($objectArray as &$object) {
         \Classes\Factory\Model\Addition\ParameterMemberAddition::add($object);
     }
     \Classes\Utils\Timer\Timer::stop('PARAMETER_MEMBER_UPLOAD');
     $request->addFeedback(\Classes\Utils\Timer\Timer::show('PARAMETER_MEMBER_UPLOAD'));
     include \Classes\Controller\Util\Utils::createViewName('importParameterMembersFromExcel');
 }
 function doExecute(\Classes\Controller\Controller\Request $request)
 {
     \Classes\Utils\Timer\Timer::start('MODEL_EXPORT');
     // Получаем переменные
     $filename = $request->getProperty('filename');
     $path = \Classes\Controller\Util\Utils::tempPath() . DIRECTORY_SEPARATOR . $filename;
     // NUMERATION
     \Classes\Utils\Member\Numeration::numerateFromOne();
     \Classes\Utils\Node\Numeration::numerateFromOne();
     // EXPORT
     \Classes\Factory\Export\Scad21ExportFactory::export($path);
     \Classes\Utils\Timer\Timer::stop('MODEL_EXPORT');
     $request->addFeedback(\Classes\Utils\Timer\Timer::show('MODEL_EXPORT'));
     include \Classes\Controller\Util\Utils::createViewName('exportModelToScad21');
 }