Skip to content

Commit

Permalink
평균 연비 로컬스토리지 값 다시 사용. 추후 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
icaros7 committed Dec 9, 2018
1 parent 1e1e15c commit 8c569a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions server/Html/skins/default-mph/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) {
data.job.income = "0";
data.job.remainingTime = 'own'
};
/*
// Fix sometimes show 0 value in fuelAverageConsumption
// This method cause timeScale value error
if (data.truck.fuelAverageConsumption != 0) {
Expand All @@ -96,7 +95,6 @@ Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) {
else {
data.truck.fuelAverageConsumption = localStorage.getItem("FAC");
}
*/
// return changed data to the core for rendering
return data;
};
4 changes: 2 additions & 2 deletions server/Html/skins/default/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -401,18 +401,18 @@
.dashboard.game-connected.yes .truck-odometer,
.dashboard.game-connected.yes .truck-fuelAverageConsumption,
.dashboard.game-connected.yes .truck-speedRounded,
.dashboard.game-connected.yes ._estimatedCom,
.dashboard.game-connected.yes .navigation-estimatedDistance,
.dashboard.game-connected.yes .truck-cruiseControlSpeedRounded:not([data-value="0"]) {
visibility: visible;
}
.hasJob.yes .trailer-mass,
.hasJob.yes .trailer-name,
.hasJob.yes .job-remainingTime,
.hasJob.yes .navigation-estimatedDistance,
.hasJob.yes ._jobIncome,
.hasJob.yes .navigation-estimatedTime,
.hasJob.yes ._jobSource,
.hasJob.yes ._estimatedTime,
.hasJob.yes ._estimatedCom,
.hasJob.yes ._jobDestionation {
visibility: visible;
}
Expand Down
4 changes: 2 additions & 2 deletions server/Html/skins/default/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
</tr>
<tr>
<th>예상 시간 :</th>
<td><span class="hasJob navigation-estimatedTime"></span><span class="_estimatedCom">, </span><span class="hasJob navigation-estimatedDistance"></span></td>
<td><span class="hasJob navigation-estimatedTime"></span><span class="_estimatedCom">, </span><span class="navigation-estimatedDistance"></span></td>
</tr>
<th>다음 휴식 시간 : </th>
<td><span class="game-nextRestStopTime"></span></td>
</tr>
<tr>
<th>계약 남은 시간 :</th>
<td><span class="hasJob job-remainingTime"></span> <span class="_jobIncome">(€<span class="job-income"></span>)</span></td>
<td><span class="hasJob job-remainingTime"></span> <span class="_jobIncome">(€<span class="job-income"></span>)</span></div></td>
</tr>
</table>
<div class="_truckWearInfo">트럭 <br/>손상도 : <span class="truck-wearSum"></span></div>
Expand Down
2 changes: 0 additions & 2 deletions server/Html/skins/default/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) {
data.job.remainingTime = 'own';
data.navigation.estimatedDistance = '';
};
/*
// Fix sometimes show 0 value in fuelAverageConsumption
// This method cause timeScale value error
if (data.truck.fuelAverageConsumption != 0) {
Expand All @@ -94,7 +93,6 @@ Funbit.Ets.Telemetry.Dashboard.prototype.filter = function (data, utils) {
else {
data.truck.fuelAverageConsumption = localStorage.getItem("FAC");
}
*/
// return changed data to the core for rendering
return data;
};

0 comments on commit 8c569a8

Please sign in to comment.