stock module latest today vadivel J 08-1-2025
This commit is contained in:
parent
67892f3495
commit
50f425d464
@ -1162,15 +1162,40 @@
|
|||||||
|
|
||||||
burnerFiringHours = result[1];
|
burnerFiringHours = result[1];
|
||||||
|
|
||||||
|
trpPlusDrierGasConsumption = parseInt( parseFloat(physicalGasConsumption) -
|
||||||
|
( parseFloat(drierGasConsumption) + parseFloat(coatingGasConsumption) ) );
|
||||||
|
|
||||||
|
trpPhysicalGasPerTon = parseFloat(trpPlusDrierGasConsumption) / (parseFloat(trpProduction)/1000) ;
|
||||||
|
|
||||||
|
panelGasPerTon = parseFloat(panelGasConsumption) / (parseFloat(trpProduction)/1000) ;
|
||||||
|
|
||||||
|
trpProductionPerHour = parseFloat(trpProduction) / parseFloat(sandFeedingHours) ;
|
||||||
|
|
||||||
|
ebReadingPerUnitTon = parseFloat(ebReading) / (parseFloat(trpProduction)/1000) ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Final updation of value into td
|
||||||
|
|
||||||
|
tr.find('td:eq(7)').text(sandFeedingHours);
|
||||||
|
|
||||||
|
tr.find('td:eq(6)').text(burnerFiringHours);
|
||||||
|
|
||||||
|
tr.find('td:eq(13)').text(trpPlusDrierGasConsumption);
|
||||||
|
|
||||||
|
tr.find('td:eq(14)').text(trpPhysicalGasPerTon);
|
||||||
|
|
||||||
|
tr.find('td:eq(15)').text(panelGasPerTon);
|
||||||
|
|
||||||
|
tr.find('td:eq(28)').text(trpProductionPerHour);
|
||||||
|
|
||||||
|
tr.find('td:eq(38)').text(ebReadingPerUnitTon);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} catch(error){
|
} catch(error){
|
||||||
|
|
||||||
@ -1267,12 +1292,22 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
function sandFeedingHours(totalHours,coldStart,breakdownHours,burnerFiringHours){
|
function sandFeedingHours(totalHours,coldStart,breakdownHours){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
let [totalHoursF, coldStartF, breakdownHoursF] = [totalHours, coldStart, breakdownHours].map((time) => {
|
||||||
|
if (time === "" || time == null) return "0.00";
|
||||||
|
if (typeof time === "number") return time.toFixed(2);
|
||||||
|
if (!time.includes(".")) return `${time}.00`;
|
||||||
|
return time;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
let sandFeedingHours = 0;
|
let sandFeedingHours = 0;
|
||||||
|
|
||||||
let totalHoursInt = milliSecondsFormat(totalHours);
|
let totalHoursInt = milliSecondsFormat((totalHours));
|
||||||
let coldStartInt = milliSecondsFormat(coldStart);
|
let coldStartInt = milliSecondsFormat(coldStart);
|
||||||
let breakdownHoursInt = milliSecondsFormat(breakdownHours);
|
let breakdownHoursInt = milliSecondsFormat(breakdownHours);
|
||||||
|
|
||||||
let burnerFiringHoursInt = totalHoursInt - breakdownHoursInt ;
|
let burnerFiringHoursInt = totalHoursInt - breakdownHoursInt ;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user