(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["default~app-pages-especificos-cargill-consultas-acomp-da-operacao-acomp-da-operacao-module~app-pages~abd5c8c8"],{

/***/ "./src/app/pages/cadastro/embalagem/embalagem.service.ts":
/*!***************************************************************!*\
  !*** ./src/app/pages/cadastro/embalagem/embalagem.service.ts ***!
  \***************************************************************/
/*! exports provided: EmbalagemService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmbalagemService", function() { return EmbalagemService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};



var EmbalagemService = /** @class */ (function (_super) {
    __extends(EmbalagemService, _super);
    function EmbalagemService(http) {
        var _this = _super.call(this, http, "cadastros/embalagem") || this;
        _this.http = http;
        return _this;
    }
    EmbalagemService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    EmbalagemService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: 'root'
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], EmbalagemService);
    return EmbalagemService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"]));



/***/ }),

/***/ "./src/app/pages/operacao/pesagem-balanca-de-fluxo/pesagem-balanca-de-fluxo.model.ts":
/*!*******************************************************************************************!*\
  !*** ./src/app/pages/operacao/pesagem-balanca-de-fluxo/pesagem-balanca-de-fluxo.model.ts ***!
  \*******************************************************************************************/
/*! exports provided: PesagemBalancaDeFluxoFilter, PesagemBalancaDeFluxoIndex, StoLaudo, StoLaudoItem, PesagemFluxoTanqueDto, PesagemFluxoDeposito, PesagemFluxoItemFiltroVo, PesagemFluxoItemDto, PesagemFluxoTorreDto, PesagemFluxoAtualizacaoDto, PesagemFluxoUltimaBateladaDto, PesagemFluxoRateioDto */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemBalancaDeFluxoFilter", function() { return PesagemBalancaDeFluxoFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemBalancaDeFluxoIndex", function() { return PesagemBalancaDeFluxoIndex; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoLaudo", function() { return StoLaudo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoLaudoItem", function() { return StoLaudoItem; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoTanqueDto", function() { return PesagemFluxoTanqueDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoDeposito", function() { return PesagemFluxoDeposito; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoItemFiltroVo", function() { return PesagemFluxoItemFiltroVo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoItemDto", function() { return PesagemFluxoItemDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoTorreDto", function() { return PesagemFluxoTorreDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoAtualizacaoDto", function() { return PesagemFluxoAtualizacaoDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoUltimaBateladaDto", function() { return PesagemFluxoUltimaBateladaDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemFluxoRateioDto", function() { return PesagemFluxoRateioDto; });
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};


var PesagemBalancaDeFluxoFilter = /** @class */ (function () {
    function PesagemBalancaDeFluxoFilter() {
        var currentDate = new Date();
        currentDate.setDate(1);
        this.dataI = currentDate;
        this.dataF = new Date();
    }
    return PesagemBalancaDeFluxoFilter;
}());

var PesagemBalancaDeFluxoIndex = /** @class */ (function (_super) {
    __extends(PesagemBalancaDeFluxoIndex, _super);
    function PesagemBalancaDeFluxoIndex() {
        var _this = _super.call(this) || this;
        _this.stoLaudoId = '';
        _this.itemLaudoId = '';
        return _this;
    }
    return PesagemBalancaDeFluxoIndex;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));

var StoLaudo = /** @class */ (function (_super) {
    __extends(StoLaudo, _super);
    function StoLaudo() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return StoLaudo;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));

var StoLaudoItem = /** @class */ (function () {
    function StoLaudoItem() {
    }
    return StoLaudoItem;
}());

var PesagemFluxoTanqueDto = /** @class */ (function () {
    function PesagemFluxoTanqueDto() {
        this.tanque = "";
    }
    return PesagemFluxoTanqueDto;
}());

var PesagemFluxoDeposito = /** @class */ (function () {
    function PesagemFluxoDeposito() {
    }
    return PesagemFluxoDeposito;
}());

var PesagemFluxoItemFiltroVo = /** @class */ (function () {
    function PesagemFluxoItemFiltroVo() {
        this.pesagemSelecTodasBateladas = "S";
        this.selecionaPeriodo = false;
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].addDays(new Date(), -15);
        this.dataF = new Date();
    }
    return PesagemFluxoItemFiltroVo;
}());

var PesagemFluxoItemDto = /** @class */ (function () {
    function PesagemFluxoItemDto() {
        this.tipoPes = "T";
    }
    return PesagemFluxoItemDto;
}());

var PesagemFluxoTorreDto = /** @class */ (function () {
    function PesagemFluxoTorreDto() {
    }
    return PesagemFluxoTorreDto;
}());

var PesagemFluxoAtualizacaoDto = /** @class */ (function () {
    function PesagemFluxoAtualizacaoDto() {
        this.pesoTotal = 0;
        this.dadosUltimaBatelada = new PesagemFluxoUltimaBateladaDto();
        this.pesagemFluxoItens = [];
    }
    return PesagemFluxoAtualizacaoDto;
}());

var PesagemFluxoUltimaBateladaDto = /** @class */ (function () {
    function PesagemFluxoUltimaBateladaDto() {
        this.sequencialBatelada = 0;
        this.pesoBatelada = 0;
        this.pesoTotalTorre = 0;
        this.pesoTotalPorao = 0;
        this.descrPorao = "";
        this.descrTorre = "";
    }
    return PesagemFluxoUltimaBateladaDto;
}());

var PesagemFluxoRateioDto = /** @class */ (function () {
    function PesagemFluxoRateioDto() {
    }
    return PesagemFluxoRateioDto;
}());



/***/ }),

/***/ "./src/app/pages/operacao/pesagem-balanca-de-fluxo/pesagem-balanca-de-fluxo.service.ts":
/*!*********************************************************************************************!*\
  !*** ./src/app/pages/operacao/pesagem-balanca-de-fluxo/pesagem-balanca-de-fluxo.service.ts ***!
  \*********************************************************************************************/
/*! exports provided: PesagemBalancaDeFluxoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PesagemBalancaDeFluxoService", function() { return PesagemBalancaDeFluxoService; });
/* harmony import */ var _shared_services_funcoes_object_utils_object_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../shared/services/funcoes/object-utils/object-utils.static.service */ "./src/app/shared/services/funcoes/object-utils/object-utils.static.service.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var app_pages_cadastro_embalagem_embalagem_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/cadastro/embalagem/embalagem.service */ "./src/app/pages/cadastro/embalagem/embalagem.service.ts");
/* harmony import */ var app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/pages/cadastro/material/material.service */ "./src/app/pages/cadastro/material/material.service.ts");
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _sto_laudo_sto_laudo_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../sto-laudo/sto-laudo.service */ "./src/app/pages/operacao/sto-laudo/sto-laudo.service.ts");
/* harmony import */ var _pesagem_balanca_de_fluxo_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./pesagem-balanca-de-fluxo.model */ "./src/app/pages/operacao/pesagem-balanca-de-fluxo/pesagem-balanca-de-fluxo.model.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};













var PesagemBalancaDeFluxoService = /** @class */ (function (_super) {
    __extends(PesagemBalancaDeFluxoService, _super);
    function PesagemBalancaDeFluxoService(http, stoLaudoService, materialService, embalagemService, message, loginService) {
        var _this = _super.call(this, http, "operacao/pesagemBalancaDeFluxo") || this;
        _this.stoLaudoService = stoLaudoService;
        _this.materialService = materialService;
        _this.embalagemService = embalagemService;
        _this.message = message;
        _this.loginService = loginService;
        _this.data = new _pesagem_balanca_de_fluxo_model__WEBPACK_IMPORTED_MODULE_11__["PesagemBalancaDeFluxoIndex"]();
        _this.dataBateladas = new _pesagem_balanca_de_fluxo_model__WEBPACK_IMPORTED_MODULE_11__["PesagemFluxoItemDto"]();
        _this.filtro = new _pesagem_balanca_de_fluxo_model__WEBPACK_IMPORTED_MODULE_11__["PesagemBalancaDeFluxoFilter"]();
        _this.filtroBateladas = new _pesagem_balanca_de_fluxo_model__WEBPACK_IMPORTED_MODULE_11__["PesagemFluxoItemFiltroVo"]();
        _this.configs = {
            pesTeste: false,
            pesLimp: false,
            desmDepPes: false,
            tipoPesagem: false,
            liberaPesoZero: false,
            tempoTmr: null,
            obrLocalOperacao: false
        };
        _this.filialId = loginService.getLogin().filialId;
        return _this;
    }
    PesagemBalancaDeFluxoService.prototype.getByFilter = function () {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/filter", this.filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemPesaParcial = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemPesaParcial", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemConclui = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemConclui", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getLaudo = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getLaudo", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getItemLaudo = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getItemLaudo", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getPesagemFluxoDeposito = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/pesagemFluxoDeposito", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.validaExclusao = function (dados) {
        var result = (dados.sitReg === 'C');
        if (result)
            this.message.warning("titles.pesagemBalancaDeFluxo", "messages.pesagemConcluidaExclusaoNaoPermitida");
        return result;
    };
    PesagemBalancaDeFluxoService.prototype.validaSePermiteCriarOuAlterar = function (dados) {
        var result = (dados.sitReg === 'C');
        if (result)
            this.message.warning("titles.pesagemBalancaDeFluxo", "messages.pesagemConcluidaOperacaoNaoPermitida");
        return result;
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesManutencaoPesagemDepositoDesmembra = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesManutencaoPesagemDepositoDesmembra", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesManutencaoPesagemDepositoExclui = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesManutencaoPesagemDepositoExclui", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.checaSeDepositoJaExiste = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/checaDepositoExiste", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.checaSeUltimoDeposito = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/checaSeUltimoDeposito", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemReabrir = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemReabrir", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getTanques = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getTanques", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemTanqueGrava = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemTanqueGrava", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getPesagemFluxoTanque = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/pesagemFluxoTanque", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemTanqueExclui = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemTanqueExclui", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getBateladas = function () {
        var filtro = _shared_services_funcoes_object_utils_object_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["ObjectUtilsStaticService"].clone(this.filtroBateladas);
        if (!filtro.selecionaPeriodo) {
            filtro.dataI = null;
            filtro.dataF = null;
        }
        if (!filtro.codPesagem || filtro.pesagemSelecTodasBateladas === 'S') {
            filtro.codPesagem = null;
        }
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getBateladas", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesManutencaoPesagemTransf = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesManutencaoPesagemTransf", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getPesagemFluxoTorre = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getPesagemFluxoTorre", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemTorreGrava = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemTorreGrava", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemTorreExclui = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemTorreExclui", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesManutencaoPesagemDuplica = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesManutencaoPesagemDuplica", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesManutencaoPesagemGrava = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesManutencaoPesagemGrava", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getLaudosEmAberto = function () {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getLaudosEmAberto", this.filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.iniciarPesagem = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/iniciarPesagem", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.alteraDataInicio = function (codPesagem, dtInicioPesagem) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/alteraDataInicio", { codPesagem: codPesagem, dtInicioPesagem: dtInicioPesagem })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.cancelarPesagem = function (codPesagem, codRotina) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/cancelarPesagem", { codPesagem: codPesagem, codRotina: codRotina })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.pausarPesagem = function (codPesagem) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/pausarPesagem", { codPesagem: codPesagem })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.reiniciarPesagem = function (codPesagem) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/reiniciarPesagem", { codPesagem: codPesagem })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.refazerPesagem = function (codPesagem) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/refazerPesagem", { codPesagem: codPesagem })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getAtualizacaoPesagem = function (codPesagem) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getAtualizacaoPesagem/" + codPesagem)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.verificarBalancaEmUsoOutraPesagem = function (codPesagem, codBalanca) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/verificarBalancaEmUsoOutraPesagem", { codPesagem: codPesagem, codBalanca: codBalanca })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.posicionamentoRateioGrava = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/posicionamentoRateioGrava", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.getPesagemFluxoRateio = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/getPesagemFluxoRateio", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.excluirRateio = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/excluirRateio", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.efetuaRateioLaudo = function (stoLaudoId, stoLaudoItemId, semDrenagem) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/efetuaRateioLaudo", { stoLaudoId: stoLaudoId, stoLaudoItemId: stoLaudoItemId, semDrenagem: semDrenagem })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.prototype.corpWebPesPesagemPesaManual = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_8__["environment"].service_url + "/api/v1/operacao/pesagemBalancaDeFluxo/corpWebPesPesagemPesaManualGrava", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    PesagemBalancaDeFluxoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] },
        { type: _sto_laudo_sto_laudo_service__WEBPACK_IMPORTED_MODULE_10__["StoLaudoService"] },
        { type: app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_5__["MaterialService"] },
        { type: app_pages_cadastro_embalagem_embalagem_service__WEBPACK_IMPORTED_MODULE_4__["EmbalagemService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"] }
    ]; };
    PesagemBalancaDeFluxoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"],
            _sto_laudo_sto_laudo_service__WEBPACK_IMPORTED_MODULE_10__["StoLaudoService"],
            app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_5__["MaterialService"],
            app_pages_cadastro_embalagem_embalagem_service__WEBPACK_IMPORTED_MODULE_4__["EmbalagemService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"]])
    ], PesagemBalancaDeFluxoService);
    return PesagemBalancaDeFluxoService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_6__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=default~app-pages-especificos-cargill-consultas-acomp-da-operacao-acomp-da-operacao-module~app-pages~abd5c8c8.js.map