|
@@ -1,2529 +1,2537 @@
|
|
|
-<?php
|
|
|
- ini_set('error_reporting', E_ALL | E_STRICT);
|
|
|
- $tag_header = 'set';
|
|
|
- include 'head.php';
|
|
|
- $obj = json_decode(trim($output[1]),true);//var_dump($obj);
|
|
|
- $system = json_decode(trim($output[0]),true);//var_dump($obj);
|
|
|
- $RatingCurrent = $system['RatingCurrent'];
|
|
|
- $AcRatingCurrent = $system['AcRatingCurrent'];
|
|
|
- $ModelName = $system['ModelName'];
|
|
|
- $RatingPower = substr($ModelName,4,2)*pow(10,-1+substr($ModelName,6,1));
|
|
|
- $Connector1=substr($ModelName,7,1);
|
|
|
- $Connector2=substr($ModelName,9,1);
|
|
|
- $Connector3=substr($ModelName,8,1);
|
|
|
- if(substr($ModelName,0,2)!="DO" && substr($ModelName,0,2)!="DK" && substr($ModelName,0,2)!="DB"){
|
|
|
- $connectorType1=ConnectorType($Connector1);
|
|
|
- $connectorType2=ConnectorType($Connector2);
|
|
|
- $connectorType3=ConnectorType($Connector3);
|
|
|
- }
|
|
|
- $idx=0;
|
|
|
- if($obj['ChargingInfo1']){
|
|
|
- switch ($obj['ChargingInfo1']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $SystemStatus1='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $SystemStatus1='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $SystemStatus1='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $SystemStatus1='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $SystemStatus1='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $SystemStatus1='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $SystemStatus1='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $SystemStatus1='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $SystemStatus1='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $SystemStatus1='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $SystemStatus1='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $SystemStatus1='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $SystemStatus1='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $SystemStatus1='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $SystemStatus1='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $SystemStatus1='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $SystemStatus1='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $SystemStatus1='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $SystemStatus1='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $SystemStatus1='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $SystemStatus1='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['ChargingInfo2']){
|
|
|
- switch ($obj['ChargingInfo2']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $SystemStatus2='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $SystemStatus2='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $SystemStatus2='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $SystemStatus2='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $SystemStatus2='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $SystemStatus2='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $SystemStatus2='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $SystemStatus2='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $SystemStatus2='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $SystemStatus2='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $SystemStatus2='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $SystemStatus2='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $SystemStatus2='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $SystemStatus2='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $SystemStatus2='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $SystemStatus2='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $SystemStatus2='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $SystemStatus2='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $SystemStatus2='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $SystemStatus2='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $SystemStatus2='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['ChargingInfo3']){
|
|
|
- switch ($obj['ChargingInfo3']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $SystemStatus3='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $SystemStatus3='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $SystemStatus3='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $SystemStatus3='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $SystemStatus3='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $SystemStatus3='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $SystemStatus3='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $SystemStatus3='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $SystemStatus3='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $SystemStatus3='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $SystemStatus3='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $SystemStatus3='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $SystemStatus3='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $SystemStatus3='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $SystemStatus3='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $SystemStatus3='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $SystemStatus3='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $SystemStatus3='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $SystemStatus3='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $SystemStatus3='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $SystemStatus3='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['DDChargingInfo1']){
|
|
|
- switch ($obj['DDChargingInfo1']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $DDSystemStatus1='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $DDSystemStatus1='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $DDSystemStatus1='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $DDSystemStatus1='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $DDSystemStatus1='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $DDSystemStatus1='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $DDSystemStatus1='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $DDSystemStatus1='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $DDSystemStatus1='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $DDSystemStatus1='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $DDSystemStatus1='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $DDSystemStatus1='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $DDSystemStatus1='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $DDSystemStatus1='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $DDSystemStatus1='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $DDSystemStatus1='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $DDSystemStatus1='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $DDSystemStatus1='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $DDSystemStatus1='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $DDSystemStatus1='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $DDSystemStatus1='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['DDChargingInfo2']){
|
|
|
- switch ($obj['DDChargingInfo2']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $DDSystemStatus2='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $DDSystemStatus2='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $DDSystemStatus2='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $DDSystemStatus2='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $DDSystemStatus2='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $DDSystemStatus2='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $DDSystemStatus2='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $DDSystemStatus2='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $DDSystemStatus2='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $DDSystemStatus2='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $DDSystemStatus2='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $DDSystemStatus2='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $DDSystemStatus2='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $DDSystemStatus2='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $DDSystemStatus2='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $DDSystemStatus2='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $DDSystemStatus2='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $DDSystemStatus2='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $DDSystemStatus2='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $DDSystemStatus2='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $DDSystemStatus2='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['DDChargingInfo3']){
|
|
|
- switch ($obj['DDChargingInfo3']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $DDSystemStatus3='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $DDSystemStatus3='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $DDSystemStatus3='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $DDSystemStatus3='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $DDSystemStatus3='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $DDSystemStatus3='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $DDSystemStatus3='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $DDSystemStatus3='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $DDSystemStatus3='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $DDSystemStatus3='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $DDSystemStatus3='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $DDSystemStatus3='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $DDSystemStatus3='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $DDSystemStatus3='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $DDSystemStatus3='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $DDSystemStatus3='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $DDSystemStatus3='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $DDSystemStatus3='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $DDSystemStatus3='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $DDSystemStatus3='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $DDSystemStatus3='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if($obj['DDChargingInfo4']){
|
|
|
- switch ($obj['DDChargingInfo4']['SystemStatus']){
|
|
|
- case 0:
|
|
|
- $DDSystemStatus4='booting';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- $DDSystemStatus4='idle';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- $DDSystemStatus4='authorizing';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- $DDSystemStatus4='reassign check';
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- $DDSystemStatus4='reassign';
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- $DDSystemStatus4='preparing';
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- $DDSystemStatus4='preparing for EV';
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- $DDSystemStatus4='preparing for evse';
|
|
|
- break;
|
|
|
- case 8:
|
|
|
- $DDSystemStatus4='charging';
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- $DDSystemStatus4='terminating';
|
|
|
- break;
|
|
|
- case 10:
|
|
|
- $DDSystemStatus4='complete';
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- $DDSystemStatus4='alarm';
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- $DDSystemStatus4='fault';
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- $DDSystemStatus4='reservation';
|
|
|
- break;
|
|
|
- case 14:
|
|
|
- $DDSystemStatus4='booking';
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- $DDSystemStatus4='maintain';
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- $DDSystemStatus4='debug';
|
|
|
- break;
|
|
|
- case 17:
|
|
|
- $DDSystemStatus4='precharge step 0';
|
|
|
- break;
|
|
|
- case 18:
|
|
|
- $DDSystemStatus4='precharge step 1';
|
|
|
- break;
|
|
|
- case 19:
|
|
|
- $DDSystemStatus4='update';
|
|
|
- break;
|
|
|
- default:
|
|
|
- $DDSystemStatus4='unknown';
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- function ConnectorType($connector){
|
|
|
- $result="";
|
|
|
- if($connector == "0"){
|
|
|
- $result= "";
|
|
|
- }
|
|
|
- else if($connector == "U" || $connector == "V" || $connector == "E" || $connector == "F" || $connector == "T" || $connector == "D" || $connector == "M" || $connector == "N" || $connector == "P" || $connector == "R" || $connector == "Y" || $connector == "Z" || $connector == "I" || $connector == "Q"){
|
|
|
- $result= "CCS";
|
|
|
- }
|
|
|
- else if($connector == "G" || $connector == "B" || $connector == "H" || $connector == "A"){
|
|
|
- $result= "GB";
|
|
|
- }
|
|
|
- else if($connector == "J" || $connector == "K" || $connector == "L" || $connector == "S" || $connector == "O"){
|
|
|
- $result= "CHAdeMO";
|
|
|
- }
|
|
|
- else if($connector == "1" || $connector == "2" || $connector == "3" || $connector == "4" || $connector == "5" || $connector == "6" || $connector == "7" || $connector == "8"){
|
|
|
- $result= "AC";
|
|
|
- }
|
|
|
- else{
|
|
|
- $result= "";
|
|
|
- }
|
|
|
- return $result;
|
|
|
- }
|
|
|
-
|
|
|
-?>
|
|
|
-<style>
|
|
|
-img {
|
|
|
- display: block;
|
|
|
- margin-left: auto;
|
|
|
- margin-right: auto;
|
|
|
-}
|
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
-/* Colors: Default (blue) */
|
|
|
-.toggle-switchy {color:#fff;}
|
|
|
-.toggle-switchy > input + .toggle:before {content:'Calibrated';}
|
|
|
-.toggle-switchy > input + .toggle:after {content:'Default';}
|
|
|
-.toggle-switchy > input + .toggle > .switch {background:#fff;}
|
|
|
-.toggle-switchy > input + .toggle + .label {color:#000;}
|
|
|
-.toggle-switchy > input:checked + .toggle {background:#3498db;}
|
|
|
-.toggle-switchy > input:not(:checked) + .toggle {background:#ccc;}
|
|
|
-.toggle-switchy > input:checked + .toggle > .switch {border:3px solid #3498db;}
|
|
|
-.toggle-switchy > input:not(:checked) + .toggle > .switch {border:3px solid #ccc;}
|
|
|
-.toggle-switchy > input:focus + .toggle,
|
|
|
-.toggle-switchy > input:active + .toggle {box-shadow:0 0 5px 3px rgba(0, 119, 200, 0.50);}
|
|
|
-
|
|
|
-/* Rounded switch corners */
|
|
|
-.toggle-switchy > input + .toggle {border-radius:4px;}
|
|
|
-.toggle-switchy > input + .toggle .switch {border-radius:6px;}
|
|
|
-
|
|
|
-/* //////////////////////////
|
|
|
-CORE STYLES BELOW - NO TOUCHY
|
|
|
-////////////////////////// */
|
|
|
-.toggle-switchy {display:inline-flex; align-items:center; user-select:none; position:relative;}
|
|
|
-.toggle-switchy:hover {cursor:pointer;}
|
|
|
-.toggle-switchy > input {position:absolute; opacity:0;}
|
|
|
-.toggle-switchy > input + .toggle {align-items:center; position:relative;}
|
|
|
-.toggle-switchy > input + .toggle {overflow:hidden; position:relative; flex-shrink:0;}
|
|
|
-.toggle-switchy > input[disabled] + .toggle {opacity:0.5;}
|
|
|
-.toggle-switchy > input[disabled] + .toggle:hover {cursor:not-allowed;}
|
|
|
-.toggle-switchy > input + .toggle {width:100%; height:100%; margin:0; cursor:pointer;}
|
|
|
-.toggle-switchy > input + .toggle > .switch {display:block; height:100%; position:absolute; right:0; z-index:3;}
|
|
|
-
|
|
|
-/* Labels */
|
|
|
-.toggle-switchy > input + .toggle:before,
|
|
|
-.toggle-switchy > input + .toggle:after {display:flex; align-items:center; position:absolute; z-index:2; height:100%;}
|
|
|
-.toggle-switchy > input + .toggle:before {right:55%;}
|
|
|
-.toggle-switchy > input + .toggle:after {left:50%;}
|
|
|
-.toggle-switchy > input + .toggle + .label {margin-left:10px;}
|
|
|
-.toggle-switchy[data-label='left'] > input + .toggle {order:2;}
|
|
|
-.toggle-switchy[data-label='left'] > input + .toggle + .label {order:1; margin-left:0; margin-right:10px;}
|
|
|
-
|
|
|
-/* Show / Hide */
|
|
|
-.toggle-switchy > input + .toggle:before {opacity:0;}
|
|
|
-.toggle-switchy > input:checked + .toggle:before {opacity:1;}
|
|
|
-.toggle-switchy > input:checked + .toggle:after {opacity:0;}
|
|
|
-
|
|
|
-/* Transitions */
|
|
|
-.toggle-switchy > input + .toggle {transition:background 200ms linear, box-shadow 200ms linear;}
|
|
|
-.toggle-switchy > input + .toggle:before,
|
|
|
-.toggle-switchy > input + .toggle:after {transition:all 200ms linear;}
|
|
|
-.toggle-switchy > input + .toggle > .switch {transition:right 200ms linear, border-color 200ms linear;}
|
|
|
-/* //////////////////////////
|
|
|
-CORE STYLES ABOVE - NO TOUCHY
|
|
|
-////////////////////////// */
|
|
|
-
|
|
|
-/* Size: Extra Large */
|
|
|
-.toggle-switchy[data-size='xl'] > input + .toggle {width:85px; height:40px;}
|
|
|
-.toggle-switchy[data-size='xl'] > input + .toggle > .switch {width:40px;}
|
|
|
-.toggle-switchy[data-size='xl'] > input + .toggle:before,
|
|
|
-.toggle-switchy[data-size='xl'] > input + .toggle:after {font-size:1.2rem;}
|
|
|
-.toggle-switchy[data-size='xl'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 40px);}
|
|
|
-
|
|
|
-/* Size: Large */
|
|
|
-.toggle-switchy[data-size='lg'] > input + .toggle {width:75px; height:35px;}
|
|
|
-.toggle-switchy[data-size='lg'] > input + .toggle > .switch {width:35px;}
|
|
|
-.toggle-switchy[data-size='lg'] > input + .toggle:before,
|
|
|
-.toggle-switchy[data-size='lg'] > input + .toggle:after {font-size:1rem;}
|
|
|
-.toggle-switchy[data-size='lg'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 35px);}
|
|
|
-
|
|
|
-/* Size: Default (Medium) */
|
|
|
-.toggle-switchy > input + .toggle {width:100px; height:30px;}
|
|
|
-.toggle-switchy > input + .toggle > .switch {width:30px;}
|
|
|
-.toggle-switchy > input + .toggle:before,
|
|
|
-.toggle-switchy > input + .toggle:after {font-size:0.8rem;}
|
|
|
-.toggle-switchy > input:not(:checked) + .toggle > .switch {right:calc(100% - 30px);}
|
|
|
-
|
|
|
-/* Size: Small */
|
|
|
-.toggle-switchy[data-size='sm'] > input + .toggle {width:55px; height:25px;}
|
|
|
-.toggle-switchy[data-size='sm'] > input + .toggle > .switch {width:25px;}
|
|
|
-.toggle-switchy[data-size='sm'] > input + .toggle:before,
|
|
|
-.toggle-switchy[data-size='sm'] > input + .toggle:after {font-size:0.7rem;}
|
|
|
-.toggle-switchy[data-size='sm'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 25px);}
|
|
|
-
|
|
|
-/* Size: Extra Small */
|
|
|
-.toggle-switchy[data-size='xs'] > input + .toggle {width:45px; height:20px;}
|
|
|
-.toggle-switchy[data-size='xs'] > input + .toggle > .switch {width:20px;}
|
|
|
-.toggle-switchy[data-size='xs'] > input + .toggle:before,
|
|
|
-.toggle-switchy[data-size='xs'] > input + .toggle:after {font-size:0.5rem;}
|
|
|
-.toggle-switchy[data-size='xs'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 20px);}
|
|
|
-
|
|
|
-/* Style: Rounded */
|
|
|
-.toggle-switchy[data-style='rounded'] > input + .toggle,
|
|
|
-.toggle-switchy[data-style='rounded'] > input + .toggle > .switch {border-radius:50px;}
|
|
|
-.toggle-switchy[data-style='rounded'] > input + .toggle:before {right:30%;}
|
|
|
-.toggle-switchy[data-style='rounded'] > input + .toggle:after {left:40%;}
|
|
|
-
|
|
|
-/* Style: Square */
|
|
|
-.toggle-switchy[data-style='square'] > input + .toggle {border-radius:0;}
|
|
|
-.toggle-switchy[data-style='square'] > input + .toggle .switch {border-radius:0;}
|
|
|
-
|
|
|
-/* Text: Off */
|
|
|
-.toggle-switchy[data-text='false'] > input + .toggle:before,
|
|
|
-.toggle-switchy[data-text='false'] > input + .toggle:after {content:'';}
|
|
|
-.toggle-switchy[data-text='false'][data-size='xl'] > input + .toggle {width:80px;}
|
|
|
-.toggle-switchy[data-text='false'][data-size='lg'] > input + .toggle {width:70px;}
|
|
|
-.toggle-switchy[data-text='false'] > input + .toggle {width:60px;}
|
|
|
-.toggle-switchy[data-text='false'][data-size='sm'] > input + .toggle {width:50px;}
|
|
|
-.toggle-switchy[data-text='false'][data-size='xs'] > input + .toggle {width:40px;}
|
|
|
-
|
|
|
-/* Color: Red */
|
|
|
-.toggle-switchy[data-color='red'] > input:checked + .toggle {background:#e74c3c;}
|
|
|
-.toggle-switchy[data-color='red'] > input:checked + .toggle > .switch {border-color:#e74c3c;}
|
|
|
-
|
|
|
-/* Color: Orange */
|
|
|
-.toggle-switchy[data-color='orange'] > input:checked + .toggle {background:#e67e22;}
|
|
|
-.toggle-switchy[data-color='orange'] > input:checked + .toggle > .switch {border-color:#e67e22;}
|
|
|
-
|
|
|
- /* Color: Yellow */
|
|
|
-.toggle-switchy[data-color='yellow'] > input:checked + .toggle {background:#f1c40f;}
|
|
|
-.toggle-switchy[data-color='yellow'] > input:checked + .toggle > .switch {border-color:#f1c40f;}
|
|
|
-
|
|
|
-/* Color: Green */
|
|
|
-.toggle-switchy[data-color='green'] > input:checked + .toggle {background:#2ecc71;}
|
|
|
-.toggle-switchy[data-color='green'] > input:checked + .toggle > .switch {border-color:#2ecc71;}
|
|
|
-
|
|
|
-/* Color: Blue */
|
|
|
-.toggle-switchy[data-color='blue'] > input:checked + .toggle {background:#3498db;}
|
|
|
-.toggle-switchy[data-color='blue'] > input:checked + .toggle > .switch {border-color:#3498db;}
|
|
|
-
|
|
|
-/* Color: Purple */
|
|
|
-.toggle-switchy[data-color='purple'] > input:checked + .toggle {background:#9b59b6;}
|
|
|
-.toggle-switchy[data-color='purple'] > input:checked + .toggle > .switch {border-color:#9b59b6;}
|
|
|
-
|
|
|
-/* Color: Gray */
|
|
|
-.toggle-switchy[data-color='gray'] > input:checked + .toggle {background:#555;}
|
|
|
-.toggle-switchy[data-color='gray'] > input:checked + .toggle > .switch {border-color:#555;}
|
|
|
-<?php } ?>
|
|
|
-</style>
|
|
|
- <div class="envor-content">
|
|
|
- <!--
|
|
|
- Page Title start
|
|
|
- //-->
|
|
|
- <section class="envor-page-title-1" data-stellar-background-ratio="0.5">
|
|
|
- <div class="container">
|
|
|
- <div class="row">
|
|
|
- <div class="col-lg-9 col-md-9 col-sm-9">
|
|
|
- <h1><?php echo $lang->showWord("charging"); ?></h1>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!--
|
|
|
- Page Title end
|
|
|
- //-->
|
|
|
- </section>
|
|
|
- <!--
|
|
|
- Main Content start
|
|
|
- //-->
|
|
|
- <a id="loadinghref"><div id="loading" style="display:none;"><input type="hidden" name="ModelName" id="ModelName" value="<?php echo $ModelName;?>"><img src="img/giphy.gif"/></div></a>
|
|
|
- <section class="envor-section">
|
|
|
- <div class="container">
|
|
|
- <div class="row">
|
|
|
- <div class="col-lg-12">
|
|
|
- <div class="envor-sorting" id="faq-sorting">
|
|
|
- <div class="envor-toggle">
|
|
|
- <!--Charging relevant parameters-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo $lang->showWord("charging_relevant_parameters"); ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label id="MaxChargingEnergyLbl">Max Charging Energy</label>
|
|
|
- <small class="form-text text-muted-red">kWh</small>
|
|
|
- <input type="text" name="MaxChargingEnergy" id="MaxChargingEnergy" class="form-control" value="<?php echo $obj['MaxChargingEnergy'];?>" placeholder="<?php echo ($obj['MaxChargingEnergy']==0||$obj['MaxChargingEnergy']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <small class="form-text text-muted-red"><label id="MaxChargingEnergyText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label id="MaxChargingPowerLbl">Max Charging Power</label>
|
|
|
- <small class="form-text text-muted-red">kW</small>
|
|
|
- <input type="text" name="MaxChargingPower" id="MaxChargingPower" class="form-control" value="<?php echo $obj['MaxChargingPower'];?>" placeholder="<?php echo ($obj['MaxChargingPower']==0||$obj['MaxChargingPower']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <input type="hidden" name="RatingPower" id="RatingPower" value="<?php echo $RatingPower;?>">
|
|
|
- <small class="form-text text-muted-red"><label id="MaxChargingPowerText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label id="MaxChargingCurrentLbl">Max Charging Current</label>
|
|
|
- <small class="form-text text-muted-red">amp</small>
|
|
|
- <input type="text" name="MaxChargingCurrent" id="MaxChargingCurrent" class="form-control" value="<?php echo $obj['MaxChargingCurrent'];?>" placeholder="<?php echo ($obj['MaxChargingCurrent']==0||$obj['MaxChargingCurrent']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <input type="hidden" name="RatingCurrent" id="RatingCurrent" value="<?php echo $RatingCurrent;?>">
|
|
|
- <small class="form-text text-muted-red"><label id="MaxChargingCurrentText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label id="MaxChargingDurationLbl">Max Charging Duration</label>
|
|
|
- <small class="form-text text-muted-red">minutes</small>
|
|
|
- <input type="text" name="MaxChargingDuration" id="MaxChargingDuration" class="form-control" value="<?php echo $obj['MaxChargingDuration'];?>" placeholder="<?php echo ($obj['MaxChargingDuration']==0||$obj['MaxChargingDuration']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <small class="form-text text-muted-red"><label id="MaxChargingDurationText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label id="MaxChargingSocLbl">Max Charging Soc</label>
|
|
|
- <small class="form-text text-muted-red">percent</small>
|
|
|
- <input type="text" name="MaxChargingSoc" id="MaxChargingSoc" class="form-control" value="<?php echo $obj['MaxChargingSoc'];?>" placeholder="<?php echo ($obj['MaxChargingSoc']==0||$obj['MaxChargingSoc']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <small class="form-text text-muted-red"><label id="MaxChargingSocText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Stop Charging By Button</label>
|
|
|
- <select class="form-control" id="StopChargingByButton" name="StopChargingByButton">
|
|
|
- <option value="0" <?php echo $obj['StopChargingByButton']=="0"?"selected":""?>>Disable</option>
|
|
|
- <option value="1" <?php echo $obj['StopChargingByButton']=="1"?"selected":""?>>Enable</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="form-group" id="AcMaxChargingCurrentDiv">
|
|
|
- <label>AC Max Charging Current</label>
|
|
|
- <small class="form-text text-muted-red">amp</small>
|
|
|
- <input type="text" name="AcMaxChargingCurrent" id="AcMaxChargingCurrent" class="form-control" value="<?php echo $obj['AcMaxChargingCurrent'];?>" placeholder="<?php echo ($obj['AcMaxChargingCurrent']==0||$obj['AcMaxChargingCurrent']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
- <input type="hidden" name="AcRatingCurrent" id="AcRatingCurrent" value="<?php echo $AcRatingCurrent;?>">
|
|
|
- <small class="form-text text-muted-red"><label id="AcMaxChargingCurrentText" style="display:none;">'0' means unlimit</label></small>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>0</label>
|
|
|
- <input type="text" name="LocalWhiteCard0" id="LocalWhiteCard0" class="form-control" value="<?php echo $obj['LocalWhiteCard'][0];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>1</label>
|
|
|
- <input type="text" name="LocalWhiteCard1" id="LocalWhiteCard1" class="form-control" value="<?php echo $obj['LocalWhiteCard'][1];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>2</label>
|
|
|
- <input type="text" name="LocalWhiteCard2" id="LocalWhiteCard2" class="form-control" value="<?php echo $obj['LocalWhiteCard'][2];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>3</label>
|
|
|
- <input type="text" name="LocalWhiteCard3" id="LocalWhiteCard3" class="form-control" value="<?php echo $obj['LocalWhiteCard'][3];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>4</label>
|
|
|
- <input type="text" name="LocalWhiteCard4" id="LocalWhiteCard4" class="form-control" value="<?php echo $obj['LocalWhiteCard'][4];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>5</label>
|
|
|
- <input type="text" name="LocalWhiteCard5" id="LocalWhiteCard5" class="form-control" value="<?php echo $obj['LocalWhiteCard'][5];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>6</label>
|
|
|
- <input type="text" name="LocalWhiteCard6" id="LocalWhiteCard6" class="form-control" value="<?php echo $obj['LocalWhiteCard'][6];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>7</label>
|
|
|
- <input type="text" name="LocalWhiteCard7" id="LocalWhiteCard7" class="form-control" value="<?php echo $obj['LocalWhiteCard'][7];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>8</label>
|
|
|
- <input type="text" name="LocalWhiteCard8" id="LocalWhiteCard8" class="form-control" value="<?php echo $obj['LocalWhiteCard'][8];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("local_white_card"); ?>9</label>
|
|
|
- <input type="text" name="LocalWhiteCard9" id="LocalWhiteCard9" class="form-control" value="<?php echo $obj['LocalWhiteCard'][9];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" id="isBillingDiv">
|
|
|
- <label>
|
|
|
- <input type="checkbox" id="isBilling" name="isBilling" <?php echo $obj['isBilling']==1?"checked":"";?> onclick="isBilling_clicked()">
|
|
|
- <?php echo $lang->showWord("billing"); ?></label>
|
|
|
- </div>
|
|
|
- <div class="form-group" id="CurrencyDiv">
|
|
|
- <label><?php echo $lang->showWord("currency"); ?></label>
|
|
|
- <select class="form-control" id="Currency" name="Currency">
|
|
|
- <option value="0" <?php echo $obj['Currency']=="0"?"selected":""?>>AED - Emirati Dirham</option>
|
|
|
- <option value="1" <?php echo $obj['Currency']=="1"?"selected":""?>>ARS - Argentine Peso</option>
|
|
|
- <option value="2" <?php echo $obj['Currency']=="2"?"selected":""?>>AUD - Australian Dollar</option>
|
|
|
- <option value="3" <?php echo $obj['Currency']=="3"?"selected":""?>>BGN - Bulgarian Lev</option>
|
|
|
- <option value="4" <?php echo $obj['Currency']=="4"?"selected":""?>>BHD - Bahraini Dinar</option>
|
|
|
- <option value="5" <?php echo $obj['Currency']=="5"?"selected":""?>>BND - Bruneian Dollar</option>
|
|
|
- <option value="6" <?php echo $obj['Currency']=="6"?"selected":""?>>BRL - Brazilian Real</option>
|
|
|
- <option value="7" <?php echo $obj['Currency']=="7"?"selected":""?>>BWP - Botswana Pula</option>
|
|
|
- <option value="8" <?php echo $obj['Currency']=="8"?"selected":""?>>CAD - Canadian Dollar</option>
|
|
|
- <option value="9" <?php echo $obj['Currency']=="9"?"selected":""?>>CHF - Swiss Franc</option>
|
|
|
- <option value="10" <?php echo $obj['Currency']=="10"?"selected":""?>>CLP - Chilean Peso</option>
|
|
|
- <option value="11" <?php echo $obj['Currency']=="11"?"selected":""?>>CNY - Chinese Yuan Renminbi</option>
|
|
|
- <option value="12" <?php echo $obj['Currency']=="12"?"selected":""?>>COP - Colombian Peso</option>
|
|
|
- <option value="13" <?php echo $obj['Currency']=="13"?"selected":""?>>CZK - Czech Koruna</option>
|
|
|
- <option value="14" <?php echo $obj['Currency']=="14"?"selected":""?>>DKK - Danish Krone</option>
|
|
|
- <option value="15" <?php echo $obj['Currency']=="15"?"selected":""?>>EUR - Euro</option>
|
|
|
- <option value="16" <?php echo $obj['Currency']=="16"?"selected":""?>>GBP - British Pound</option>
|
|
|
- <option value="17" <?php echo $obj['Currency']=="17"?"selected":""?>>HKD - Hong Kong Dollar</option>
|
|
|
- <option value="18" <?php echo $obj['Currency']=="18"?"selected":""?>>HRK - Croatian Kuna</option>
|
|
|
- <option value="19" <?php echo $obj['Currency']=="19"?"selected":""?>>HUF - Hungarian Forint</option>
|
|
|
- <option value="20" <?php echo $obj['Currency']=="20"?"selected":""?>>IDR - Indonesian Rupiah</option>
|
|
|
- <option value="21" <?php echo $obj['Currency']=="21"?"selected":""?>>ILS - Israeli Shekel</option>
|
|
|
- <option value="22" <?php echo $obj['Currency']=="22"?"selected":""?>>INR - Indian Rupee</option>
|
|
|
- <option value="23" <?php echo $obj['Currency']=="23"?"selected":""?>>IRR - Iranian Rial</option>
|
|
|
- <option value="24" <?php echo $obj['Currency']=="24"?"selected":""?>>ISK - Icelandic Krona</option>
|
|
|
- <option value="25" <?php echo $obj['Currency']=="25"?"selected":""?>>JPY - Japanese Yen</option>
|
|
|
- <option value="26" <?php echo $obj['Currency']=="26"?"selected":""?>>KRW - South Korean Won</option>
|
|
|
- <option value="27" <?php echo $obj['Currency']=="27"?"selected":""?>>KWD - Kuwaiti Dinar</option>
|
|
|
- <option value="28" <?php echo $obj['Currency']=="28"?"selected":""?>>KZT - Kazakhstani Tenge</option>
|
|
|
- <option value="29" <?php echo $obj['Currency']=="29"?"selected":""?>>LKR - Sri Lankan Rupee</option>
|
|
|
- <option value="30" <?php echo $obj['Currency']=="30"?"selected":""?>>LYD - Libyan Dinar</option>
|
|
|
- <option value="31" <?php echo $obj['Currency']=="31"?"selected":""?>>MUR - Mauritian Rupee</option>
|
|
|
- <option value="32" <?php echo $obj['Currency']=="32"?"selected":""?>>MXN - Mexican Peso</option>
|
|
|
- <option value="33" <?php echo $obj['Currency']=="33"?"selected":""?>>MYR - Malaysian Ringgit</option>
|
|
|
- <option value="34" <?php echo $obj['Currency']=="34"?"selected":""?>>NOK - Norwegian Krone</option>
|
|
|
- <option value="35" <?php echo $obj['Currency']=="35"?"selected":""?>>NPR - Nepalese Rupee</option>
|
|
|
- <option value="36" <?php echo $obj['Currency']=="36"?"selected":""?>>NZD - New Zealand Dollar</option>
|
|
|
- <option value="37" <?php echo $obj['Currency']=="37"?"selected":""?>>OMR - Omani Rial</option>
|
|
|
- <option value="38" <?php echo $obj['Currency']=="38"?"selected":""?>>PHP - Philippine Peso</option>
|
|
|
- <option value="39" <?php echo $obj['Currency']=="39"?"selected":""?>>PKR - Pakistani Rupee</option>
|
|
|
- <option value="40" <?php echo $obj['Currency']=="40"?"selected":""?>>PLN - Polish Zloty</option>
|
|
|
- <option value="41" <?php echo $obj['Currency']=="41"?"selected":""?>>QAR - Qatari Riyal</option>
|
|
|
- <option value="42" <?php echo $obj['Currency']=="42"?"selected":""?>>RON - Romanian New Leu</option>
|
|
|
- <option value="43" <?php echo $obj['Currency']=="43"?"selected":""?>>RUB - Russian Ruble</option>
|
|
|
- <option value="44" <?php echo $obj['Currency']=="44"?"selected":""?>>SAR - Saudi Arabian Riyal</option>
|
|
|
- <option value="45" <?php echo $obj['Currency']=="45"?"selected":""?>>SEK - Swedish Krona</option>
|
|
|
- <option value="46" <?php echo $obj['Currency']=="46"?"selected":""?>>SGD - Singapore Dollar</option>
|
|
|
- <option value="47" <?php echo $obj['Currency']=="47"?"selected":""?>>THB - Thai Baht</option>
|
|
|
- <option value="48" <?php echo $obj['Currency']=="48"?"selected":""?>>TRY - Turkish Lira</option>
|
|
|
- <option value="49" <?php echo $obj['Currency']=="49"?"selected":""?>>TTD - Trinidadian Dollar</option>
|
|
|
- <option value="50" <?php echo $obj['Currency']=="50"?"selected":""?>>TWD - Taiwan New Dollar</option>
|
|
|
- <option value="51" <?php echo $obj['Currency']=="51"?"selected":""?>>USD - US Dollar</option>
|
|
|
- <option value="52" <?php echo $obj['Currency']=="52"?"selected":""?>>VEF - Venezuelan Bolivar</option>
|
|
|
- <option value="53" <?php echo $obj['Currency']=="53"?"selected":""?>>ZAR - South African Rand</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="form-group" id="FeeDiv">
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 00:00~00:59</label>
|
|
|
- <input type="text" name="Fee0" id="Fee0" class="form-control" value="<?php echo round($obj['Fee'][0],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 01:00~01:59</label>
|
|
|
- <input type="text" name="Fee0" id="Fee1" class="form-control" value="<?php echo round($obj['Fee'][1],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 02:00~02:59</label>
|
|
|
- <input type="text" name="Fee2" id="Fee2" class="form-control" value="<?php echo round($obj['Fee'][2],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 03:00~03:59</label>
|
|
|
- <input type="text" name="Fee3" id="Fee3" class="form-control" value="<?php echo round($obj['Fee'][3],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 04:00~04:59</label>
|
|
|
- <input type="text" name="Fee4" id="Fee4" class="form-control" value="<?php echo round($obj['Fee'][4],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 05:00~05:59</label>
|
|
|
- <input type="text" name="Fee5" id="Fee5" class="form-control" value="<?php echo round($obj['Fee'][5],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 06:00~06:59</label>
|
|
|
- <input type="text" name="Fee6" id="Fee6" class="form-control" value="<?php echo round($obj['Fee'][6],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 07:00~07:59</label>
|
|
|
- <input type="text" name="Fee7" id="Fee7" class="form-control" value="<?php echo round($obj['Fee'][7],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 08:00~08:59</label>
|
|
|
- <input type="text" name="Fee8" id="Fee8" class="form-control" value="<?php echo round($obj['Fee'][8],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 09:00~09:59</label>
|
|
|
- <input type="text" name="Fee9" id="Fee9" class="form-control" value="<?php echo round($obj['Fee'][9],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 10:00~10:59</label>
|
|
|
- <input type="text" name="Fee10" id="Fee10" class="form-control" value="<?php echo round($obj['Fee'][10],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 11:00~11:59</label>
|
|
|
- <input type="text" name="Fee11" id="Fee11" class="form-control" value="<?php echo round($obj['Fee'][11],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 12:00~12:59</label>
|
|
|
- <input type="text" name="Fee12" id="Fee12" class="form-control" value="<?php echo round($obj['Fee'][12],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 13:00~13:59</label>
|
|
|
- <input type="text" name="Fee13" id="Fee13" class="form-control" value="<?php echo round($obj['Fee'][13],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 14:00~14:59</label>
|
|
|
- <input type="text" name="Fee14" id="Fee14" class="form-control" value="<?php echo round($obj['Fee'][14],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 15:00~15:59</label>
|
|
|
- <input type="text" name="Fee15" id="Fee15" class="form-control" value="<?php echo round($obj['Fee'][15],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 16:00~16:59</label>
|
|
|
- <input type="text" name="Fee16" id="Fee16" class="form-control" value="<?php echo round($obj['Fee'][16],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 17:00~17:59</label>
|
|
|
- <input type="text" name="Fee17" id="Fee17" class="form-control" value="<?php echo round($obj['Fee'][17],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 18:00~18:59</label>
|
|
|
- <input type="text" name="Fee18" id="Fee18" class="form-control" value="<?php echo round($obj['Fee'][18],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 19:00~19:59</label>
|
|
|
- <input type="text" name="Fee19" id="Fee19" class="form-control" value="<?php echo round($obj['Fee'][19],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 20:00~20:59</label>
|
|
|
- <input type="text" name="Fee20" id="Fee20" class="form-control" value="<?php echo round($obj['Fee'][20],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 21:00~21:59</label>
|
|
|
- <input type="text" name="Fee21" id="Fee21" class="form-control" value="<?php echo round($obj['Fee'][21],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 22:00~22:59</label>
|
|
|
- <input type="text" name="Fee22" id="Fee22" class="form-control" value="<?php echo round($obj['Fee'][22],2);?>">
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label><?php echo $lang->showWord("fee"); ?> 23:00~23:59</label>
|
|
|
- <input type="text" name="Fee23" id="Fee23" class="form-control" value="<?php echo round($obj['Fee'][23],2);?>">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>CcsAuthentication</label>
|
|
|
- <select class="form-control" id="CcsAuthentication" name="CcsAuthentication">
|
|
|
- <option value="0" <?php echo $obj['CcsAuthentication']==0?"selected":""?>>EIM</option>
|
|
|
- <option value="1" <?php echo $obj['CcsAuthentication']==1?"selected":""?>>EIM&PnC mixed</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>AcCcsChargingModel</label>
|
|
|
- <select class="form-control" id="AcCcsChargingModel" name="AcCcsChargingModel">
|
|
|
- <option value="0" <?php echo $obj['AcCcsChargingModel']==0?"selected":""?>>BC (PWM) only</option>
|
|
|
- <option value="1" <?php echo $obj['AcCcsChargingModel']==0?"selected":""?>>BC&PLC mixed</option>
|
|
|
- </select>
|
|
|
- </div>*/?>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php if(substr($ModelName,0,2)=="DO" || substr($ModelName,0,2)=="DK" || substr($ModelName,0,2)=="DB"){?>
|
|
|
-<?php if($obj['DDChargingInfo1']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo1']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus1;?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ConnectorTemp']!=255?$obj['DDChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group ChillerTemp">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ChillerTemp']!=255?$obj['DDChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingCurrent'],2);?> amp">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingPower'],2);?> kW">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['PresentChargedDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['RemainChargingDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php if($obj['DDChargingInfo2']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo2']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus2;?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ConnectorTemp']!=255?$obj['DDChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group ChillerTemp">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ChillerTemp']!=255?$obj['DDChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingCurrent'],2);?> amp">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingPower'],2);?> kW">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['PresentChargedDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['RemainChargingDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php if($obj['DDChargingInfo3']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo3']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus3;?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ConnectorTemp']!=255?$obj['DDChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group ChillerTemp">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ChillerTemp']!=255?$obj['DDChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingCurrent'],2);?> amp">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingPower'],2);?> kW">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['PresentChargedDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['RemainChargingDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php if($obj['DDChargingInfo4']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo4']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus4;?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ConnectorTemp']!=255?$obj['DDChargingInfo4']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group ChillerTemp">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ChillerTemp']!=255?$obj['DDChargingInfo4']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingCurrent'],2);?> amp">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingPower'],2);?> kW">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['PresentChargedDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['RemainChargingDuration'];?> seconds">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php } else { ?>
|
|
|
-<?php if($obj['ChargingInfo1']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType1.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
|
|
|
- <input type="hidden" name="UserId1" id="UserId1" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
|
|
|
- <input type="hidden" name="StartDateTime1" id="StartDateTime1" value="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
|
|
|
- <input type="hidden" name="StopDateTime1" id="StopDateTime1" value="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StartMethod'];?>">
|
|
|
- <input type="hidden" name="StartMethod1" id="StartMethod1" value="<?php echo $obj['ChargingInfo1']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus1;?>">
|
|
|
- <input type="hidden" name="SystemStatus1" id="SystemStatus1" value="<?php echo $obj['ChargingInfo1']['SystemStatus'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ConnectorTemp']!=255?$obj['ChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- <input type="hidden" name="ConnectorTemp1" id="ConnectorTemp1" value="<?php echo $obj['ChargingInfo1']['ConnectorTemp'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" id="ChillerTemp1">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ChillerTemp']!=255?$obj['ChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="PresentChargingVoltage1" id="PresentChargingVoltage1" value="<?php echo $obj['ChargingInfo1']['PresentChargingVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingCurrent'],2);?> amp">
|
|
|
- <input type="hidden" name="PresentChargingCurrent1" id="PresentChargingCurrent1" value="<?php echo $obj['ChargingInfo1']['PresentChargingCurrent'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingPower'],2);?> kW">
|
|
|
- <input type="hidden" name="PresentChargingPower1" id="PresentChargingPower1" value="<?php echo $obj['ChargingInfo1']['PresentChargingPower'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- <input type="hidden" name="PresentChargedEnergy1" id="PresentChargedEnergy1" value="<?php echo $obj['ChargingInfo1']['PresentChargedEnergy'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?> seconds">
|
|
|
- <input type="hidden" name="PresentChargedDuration1" id="PresentChargedDuration1" value="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['RemainChargingDuration'];?> seconds">
|
|
|
- <input type="hidden" name="RemainChargingDuration1" id="RemainChargingDuration1" value="<?php echo $obj['ChargingInfo1']['RemainChargingDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatteryMaxVoltage1" id="EvBatteryMaxVoltage1" value="<?php echo $obj['ChargingInfo1']['EvBatteryMaxVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatterytargetVoltage1" id="EvBatterytargetVoltage1" value="<?php echo $obj['ChargingInfo1']['EvBatterytargetVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['EvBatterySoc'];?>">
|
|
|
- <input type="hidden" name="EvBatterySoc1" id="EvBatterySoc1" value="<?php echo $obj['ChargingInfo1']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
- <div class="form-group" style="display:block">
|
|
|
- <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
- <span style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo1']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo1']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo1']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo1']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo1']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo1']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pa</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo1']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pb</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo1']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pc</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo1']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
-<?php } ?>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php if($obj['ChargingInfo2']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType2.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
|
|
|
- <input type="hidden" name="UserId2" id="UserId2" value="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
|
|
|
- <input type="hidden" name="StartDateTime2" id="StartDateTime2" value="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
|
|
|
- <input type="hidden" name="StopDateTime2" id="StopDateTime2" value="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartMethod'];?>">
|
|
|
- <input type="hidden" name="StartMethod2" id="StartMethod2" value="<?php echo $obj['ChargingInfo2']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus2;?>">
|
|
|
- <input type="hidden" name="SystemStatus2" id="SystemStatus2" value="<?php echo $obj['ChargingInfo2']['SystemStatus'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ConnectorTemp']!=255?$obj['ChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- <input type="hidden" name="ConnectorTemp2" id="ConnectorTemp2" value="<?php echo $obj['ChargingInfo2']['ConnectorTemp'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" id="ChillerTemp2">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ChillerTemp']!=255?$obj['ChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="PresentChargingVoltage2" id="PresentChargingVoltage2" value="<?php echo $obj['ChargingInfo2']['PresentChargingVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingCurrent'],2);?> amp">
|
|
|
- <input type="hidden" name="PresentChargingCurrent2" id="PresentChargingCurrent2" value="<?php echo $obj['ChargingInfo2']['PresentChargingCurrent'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingPower'],2);?> kW">
|
|
|
- <input type="hidden" name="PresentChargingPower2" id="PresentChargingPower2" value="<?php echo $obj['ChargingInfo2']['PresentChargingPower'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- <input type="hidden" name="PresentChargedEnergy2" id="PresentChargedEnergy2" value="<?php echo $obj['ChargingInfo2']['PresentChargedEnergy'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?> seconds">
|
|
|
- <input type="hidden" name="PresentChargedDuration2" id="PresentChargedDuration2" value="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['RemainChargingDuration'];?> seconds">
|
|
|
- <input type="hidden" name="RemainChargingDuration2" id="RemainChargingDuration2" value="<?php echo $obj['ChargingInfo2']['RemainChargingDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatteryMaxVoltage2" id="EvBatteryMaxVoltage2" value="<?php echo $obj['ChargingInfo2']['EvBatteryMaxVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatterytargetVoltage2" id="EvBatterytargetVoltage2" value="<?php echo $obj['ChargingInfo2']['EvBatterytargetVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['EvBatterySoc'];?>">
|
|
|
- <input type="hidden" name="EvBatterySoc2" id="EvBatterySoc2" value="<?php echo $obj['ChargingInfo2']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
- <div class="form-group" style="display:block">
|
|
|
- <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
- <span style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo2']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo2']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo2']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo2']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo2']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo2']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pa</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo2']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pb</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo2']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pc</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo2']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
-<?php } ?>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php if($obj['ChargingInfo3']){ $idx++;?>
|
|
|
- <!--Charging Information-->
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType3.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
- <section>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
|
|
|
- <input type="hidden" name="UserId3" id="UserId3" value="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
|
|
|
- <input type="hidden" name="StartDateTime3" id="StartDateTime3" value="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
|
|
|
- <input type="hidden" name="StopDateTime3" id="StopDateTime3" value="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
|
|
|
- </div>
|
|
|
-<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label>StartMethod</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartMethod'];?>">
|
|
|
- <input type="hidden" name="StartMethod3" id="StartMethod3" value="<?php echo $obj['ChargingInfo3']['StartMethod'];?>">
|
|
|
- </div>*/?>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus3;?>">
|
|
|
- <input type="hidden" name="SystemStatus3" id="SystemStatus3" value="<?php echo $obj['ChargingInfo3']['SystemStatus'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ConnectorTemp']!=255?$obj['ChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
- <input type="hidden" name="ConnectorTemp3" id="ConnectorTemp3" value="<?php echo $obj['ChargingInfo3']['ConnectorTemp'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" id="ChillerTemp3">
|
|
|
- <label>Chiller Temperature</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ChillerTemp']!=255?$obj['ChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="PresentChargingVoltage3" id="PresentChargingVoltage3" value="<?php echo $obj['ChargingInfo3']['PresentChargingVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingCurrent'],2);?> amp">
|
|
|
- <input type="hidden" name="PresentChargingCurrent3" id="PresentChargingCurrent3" value="<?php echo $obj['ChargingInfo3']['PresentChargingCurrent'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingPower'],2);?> kW">
|
|
|
- <input type="hidden" name="PresentChargingPower3" id="PresentChargingPower3" value="<?php echo $obj['ChargingInfo3']['PresentChargingPower'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
- <input type="hidden" name="PresentChargedEnergy3" id="PresentChargedEnergy3" value="<?php echo $obj['ChargingInfo3']['PresentChargedEnergy'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?> seconds">
|
|
|
- <input type="hidden" name="PresentChargedDuration3" id="PresentChargedDuration3" value="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>Remain Charging Time</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['RemainChargingDuration'];?> seconds">
|
|
|
- <input type="hidden" name="RemainChargingDuration3" id="RemainChargingDuration3" value="<?php echo $obj['ChargingInfo3']['RemainChargingDuration'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Max Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatteryMaxVoltage3" id="EvBatteryMaxVoltage3" value="<?php echo $obj['ChargingInfo3']['EvBatteryMaxVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Target Voltage</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
- <input type="hidden" name="EvBatterytargetVoltage3" id="EvBatterytargetVoltage3" value="<?php echo $obj['ChargingInfo3']['EvBatterytargetVoltage'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
- <label>EV Battery Soc</label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['EvBatterySoc'];?>">
|
|
|
- <input type="hidden" name="EvBatterySoc3" id="EvBatterySoc3" value="<?php echo $obj['ChargingInfo3']['EvBatterySoc'];?>">
|
|
|
- </div>
|
|
|
- <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
- <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
- <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
- </div>
|
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
- <div class="form-group" style="display:block">
|
|
|
- <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
- <span style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo3']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo3']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo3']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>VcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo3']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo3']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcGain</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo3']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CaOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CbOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>CcOffset</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- <span class="" style="display:block">
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pa</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo3']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pb</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo3']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label>Pc</label>
|
|
|
- </span>
|
|
|
- <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
- <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
- <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo3']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
- <span class="toggle">
|
|
|
- <span class="switch"></span>
|
|
|
- </span>
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
-<?php } ?>
|
|
|
- </section>
|
|
|
- </article>
|
|
|
-<?php }?>
|
|
|
-<?php } ?>
|
|
|
- <article class="envor-sorting-item css">
|
|
|
- <div align="center"><button id="save"><?php echo $lang->showWord("set")?></button></div>
|
|
|
- </article>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </section>
|
|
|
- </div>
|
|
|
-
|
|
|
-<?php
|
|
|
- include 'foot.php';
|
|
|
-?>
|
|
|
-
|
|
|
-<script type="text/JavaScript">
|
|
|
- $(document).ready(function(){
|
|
|
- if(document.getElementById("MaxChargingEnergy").value=="0" || document.getElementById("MaxChargingEnergy").value==""){
|
|
|
- document.getElementById("MaxChargingEnergyText").style.display="block";
|
|
|
- }
|
|
|
- if(document.getElementById("MaxChargingPower").value=="0" || document.getElementById("MaxChargingPower").value==""){
|
|
|
- document.getElementById("MaxChargingPowerText").style.display="block";
|
|
|
- }
|
|
|
- if(document.getElementById("MaxChargingCurrent").value=="0" || document.getElementById("MaxChargingCurrent").value==""){
|
|
|
- document.getElementById("MaxChargingCurrentText").style.display="block";
|
|
|
- }
|
|
|
- if(document.getElementById("MaxChargingDuration").value=="0" || document.getElementById("MaxChargingDuration").value==""){
|
|
|
- document.getElementById("MaxChargingDurationText").style.display="block";
|
|
|
- }
|
|
|
- if(document.getElementById("MaxChargingSoc").value=="0" || document.getElementById("MaxChargingSoc").value==""){
|
|
|
- document.getElementById("MaxChargingSocText").style.display="block";
|
|
|
- }
|
|
|
- if(document.getElementById("ModelName").value.substr(8,1) != "0"){
|
|
|
- document.getElementById("AcMaxChargingCurrentDiv").style.display="block";
|
|
|
- if(document.getElementById("AcMaxChargingCurrent").value=="0" || document.getElementById("AcMaxChargingCurrent").value==""){
|
|
|
- document.getElementById("AcMaxChargingCurrentText").style.display="block";
|
|
|
- }
|
|
|
- document.getElementById("MaxChargingEnergyLbl").innerHTML="DC MaxCharging Energy";
|
|
|
- document.getElementById("MaxChargingPowerLbl").innerHTML="DC MaxCharging Power";
|
|
|
- document.getElementById("MaxChargingCurrentLbl").innerHTML="DC MaxCharging Current";
|
|
|
- document.getElementById("MaxChargingDurationLbl").innerHTML="DC MaxCharging Duration";
|
|
|
- document.getElementById("MaxChargingSocLbl").innerHTML="DC MaxCharging Soc";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById("AcMaxChargingCurrentDiv").style.display="none";
|
|
|
- }
|
|
|
- isBilling_clicked();
|
|
|
- document.getElementById("MaxChargingEnergy").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- document.getElementById("MaxChargingPower").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- document.getElementById("MaxChargingCurrent").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- document.getElementById("MaxChargingDuration").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- document.getElementById("MaxChargingSoc").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- document.getElementById("AcMaxChargingCurrent").addEventListener("change", function() {
|
|
|
- if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
- document.getElementById(this.id+"Text").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById(this.id+"Text").style.display="none";
|
|
|
- }
|
|
|
- });
|
|
|
- if(document.getElementById("ModelName").value.substr(7,1)!=0){
|
|
|
- if(document.getElementById("ModelName").value.substr(7,1) == "V" || document.getElementById("ModelName").value.substr(7,1) == "F" || document.getElementById("ModelName").value.substr(7,1) == "P" || document.getElementById("ModelName").value.substr(7,1) == "R"){
|
|
|
- document.getElementById("ChillerTemp1").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById("ChillerTemp1").style.display="none";
|
|
|
- }
|
|
|
- }
|
|
|
- if(document.getElementById("ModelName").value.substr(9,1)!=0){
|
|
|
- if(document.getElementById("ModelName").value.substr(9,1) == "V" || document.getElementById("ModelName").value.substr(9,1) == "F" || document.getElementById("ModelName").value.substr(9,1) == "P" || document.getElementById("ModelName").value.substr(9,1) == "R"){
|
|
|
- document.getElementById("ChillerTemp2").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById("ChillerTemp2").style.display="none";
|
|
|
- }
|
|
|
- }
|
|
|
- if(document.getElementById("ModelName").value.substr(8,1)!=0){
|
|
|
- if(document.getElementById("ModelName").value.substr(8,1) == "V" || document.getElementById("ModelName").value.substr(8,1) == "F" || document.getElementById("ModelName").value.substr(8,1) == "P" || document.getElementById("ModelName").value.substr(8,1) == "R"){
|
|
|
- document.getElementById("ChillerTemp3").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById("ChillerTemp3").style.display="none";
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- document.getElementById("save").onclick = function() {
|
|
|
- if(formCheck())
|
|
|
- {
|
|
|
- window.location="#loadinghref";
|
|
|
- document.getElementById("loading").style.display="block";
|
|
|
- // 發送 Ajax 查詢請求並處理
|
|
|
- var request = new XMLHttpRequest();
|
|
|
- request.open("POST", "set_charging_action.php");
|
|
|
-
|
|
|
- // POST 參數須使用 send() 發送
|
|
|
- var data = "MaxChargingEnergy=" + document.getElementById("MaxChargingEnergy").value +
|
|
|
- "&MaxChargingPower=" + document.getElementById("MaxChargingPower").value +
|
|
|
- "&MaxChargingCurrent=" + document.getElementById("MaxChargingCurrent").value+
|
|
|
- "&AcMaxChargingCurrent=" + document.getElementById("AcMaxChargingCurrent").value+
|
|
|
- "&MaxChargingDuration=" + document.getElementById("MaxChargingDuration").value+
|
|
|
- "&MaxChargingSoc=" + document.getElementById("MaxChargingSoc").value+
|
|
|
- "&StopChargingByButton=" + document.getElementById("StopChargingByButton").value+
|
|
|
- "&LocalWhiteCard0=" + document.getElementById("LocalWhiteCard0").value+
|
|
|
- "&LocalWhiteCard1=" + document.getElementById("LocalWhiteCard1").value+
|
|
|
- "&LocalWhiteCard2=" + document.getElementById("LocalWhiteCard2").value+
|
|
|
- "&LocalWhiteCard3=" + document.getElementById("LocalWhiteCard3").value+
|
|
|
- "&LocalWhiteCard4=" + document.getElementById("LocalWhiteCard4").value+
|
|
|
- "&LocalWhiteCard5=" + document.getElementById("LocalWhiteCard5").value+
|
|
|
- "&LocalWhiteCard6=" + document.getElementById("LocalWhiteCard6").value+
|
|
|
- "&LocalWhiteCard7=" + document.getElementById("LocalWhiteCard7").value+
|
|
|
- "&LocalWhiteCard8=" + document.getElementById("LocalWhiteCard8").value+
|
|
|
- "&LocalWhiteCard9=" + document.getElementById("LocalWhiteCard9").value+
|
|
|
- "&isBilling=" + (document.getElementById("isBilling").checked?1:0)+
|
|
|
- "&Currency=" + document.getElementById("Currency").value+
|
|
|
- "&Fee0=" + document.getElementById("Fee0").value+
|
|
|
- "&Fee1=" + document.getElementById("Fee1").value+
|
|
|
- "&Fee2=" + document.getElementById("Fee2").value+
|
|
|
- "&Fee3=" + document.getElementById("Fee3").value+
|
|
|
- "&Fee4=" + document.getElementById("Fee4").value+
|
|
|
- "&Fee5=" + document.getElementById("Fee5").value+
|
|
|
- "&Fee6=" + document.getElementById("Fee6").value+
|
|
|
- "&Fee7=" + document.getElementById("Fee7").value+
|
|
|
- "&Fee8=" + document.getElementById("Fee8").value+
|
|
|
- "&Fee9=" + document.getElementById("Fee9").value+
|
|
|
- "&Fee10=" + document.getElementById("Fee10").value+
|
|
|
- "&Fee11=" + document.getElementById("Fee11").value+
|
|
|
- "&Fee12=" + document.getElementById("Fee12").value+
|
|
|
- "&Fee13=" + document.getElementById("Fee13").value+
|
|
|
- "&Fee14=" + document.getElementById("Fee14").value+
|
|
|
- "&Fee15=" + document.getElementById("Fee15").value+
|
|
|
- "&Fee16=" + document.getElementById("Fee16").value+
|
|
|
- "&Fee17=" + document.getElementById("Fee17").value+
|
|
|
- "&Fee18=" + document.getElementById("Fee18").value+
|
|
|
- "&Fee19=" + document.getElementById("Fee19").value+
|
|
|
- "&Fee20=" + document.getElementById("Fee20").value+
|
|
|
- "&Fee21=" + document.getElementById("Fee21").value+
|
|
|
- "&Fee22=" + document.getElementById("Fee22").value+
|
|
|
- "&Fee23=" + document.getElementById("Fee23").value;
|
|
|
-
|
|
|
- // POST 請求必須設置表頭在 open() 下面,send() 上面
|
|
|
- request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
|
|
- request.send(data);
|
|
|
-
|
|
|
- request.onreadystatechange = function() {
|
|
|
- // 伺服器請求完成
|
|
|
- if (request.readyState == 4) {
|
|
|
- document.getElementById("loading").style.display="none";
|
|
|
- // 伺服器回應成功
|
|
|
- if (request.status == 200 && JSON.parse(request.responseText).result=="Success") {
|
|
|
- alert("<?php echo $lang->showWord("done")?>");
|
|
|
- location.href="set_charging.php";
|
|
|
- } else {
|
|
|
- alert(JSON.parse(request.responseText).message);
|
|
|
- }
|
|
|
- request = null;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- function formCheck()
|
|
|
- {
|
|
|
- var LocalWhiteCard0 = document.getElementById("LocalWhiteCard0").value;
|
|
|
- var LocalWhiteCard1 = document.getElementById("LocalWhiteCard1").value;
|
|
|
- var LocalWhiteCard2 = document.getElementById("LocalWhiteCard2").value;
|
|
|
- var LocalWhiteCard3 = document.getElementById("LocalWhiteCard3").value;
|
|
|
- var LocalWhiteCard4 = document.getElementById("LocalWhiteCard4").value;
|
|
|
- var LocalWhiteCard5 = document.getElementById("LocalWhiteCard5").value;
|
|
|
- var LocalWhiteCard6 = document.getElementById("LocalWhiteCard6").value;
|
|
|
- var LocalWhiteCard7 = document.getElementById("LocalWhiteCard7").value;
|
|
|
- var LocalWhiteCard8 = document.getElementById("LocalWhiteCard8").value;
|
|
|
- var LocalWhiteCard9 = document.getElementById("LocalWhiteCard9").value;
|
|
|
- var RatingCurrent = document.getElementById("RatingCurrent").value;
|
|
|
- var RatingPower = document.getElementById("RatingPower").value;
|
|
|
- var MaxChargingEnergy = document.getElementById("MaxChargingEnergy").value;
|
|
|
- var MaxChargingPower = document.getElementById("MaxChargingPower").value;
|
|
|
- var MaxChargingCurrent = document.getElementById("MaxChargingCurrent").value;
|
|
|
- var AcMaxChargingCurrent = document.getElementById("AcMaxChargingCurrent").value;
|
|
|
- var MaxChargingDuration = document.getElementById("MaxChargingDuration").value;
|
|
|
- var MaxChargingSoc = document.getElementById("MaxChargingSoc").value;
|
|
|
-
|
|
|
- if(LocalWhiteCard0 != ""){
|
|
|
- if(LocalWhiteCard0.length>32){
|
|
|
- alert("Local White Card0 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard0").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard1 != ""){
|
|
|
- if(LocalWhiteCard1.length>32){
|
|
|
- alert("Local White Card1 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard1").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard2 != ""){
|
|
|
- if(LocalWhiteCard2.length>32){
|
|
|
- alert("Local White Card2 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard2").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard3 != ""){
|
|
|
- if(LocalWhiteCard3.length>32){
|
|
|
- alert("Local White Card3 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard3").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard4 != ""){
|
|
|
- if(LocalWhiteCard4.length>32){
|
|
|
- alert("Local White Card4 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard4").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard5 != ""){
|
|
|
- if(LocalWhiteCard5.length>32){
|
|
|
- alert("Local White Card5 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard5").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard6 != ""){
|
|
|
- if(LocalWhiteCard6.length>32){
|
|
|
- alert("Local White Card6 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard6").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard7 != ""){
|
|
|
- if(LocalWhiteCard7.length>32){
|
|
|
- alert("Local White Card7 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard7").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard8 != ""){
|
|
|
- if(LocalWhiteCard8.length>32){
|
|
|
- alert("Local White Card8 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard8").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(LocalWhiteCard9 != ""){
|
|
|
- if(LocalWhiteCard9.length>32){
|
|
|
- alert("Local White Card9 must be less than 32 bytes!");
|
|
|
- document.getElementById("LocalWhiteCard9").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(MaxChargingEnergy =="")
|
|
|
- {
|
|
|
- alert("Fill Max Charging Energy !");
|
|
|
- document.getElementById("MaxChargingEnergy").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingEnergy >65535)
|
|
|
- {
|
|
|
- alert("Max Charging Energy must <= 65535!");
|
|
|
- document.getElementById("MaxChargingEnergy").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingEnergy < 0)
|
|
|
- {
|
|
|
- alert("Max Charging Energy must >= 0!");
|
|
|
- document.getElementById("MaxChargingEnergy").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingPower =="")
|
|
|
- {
|
|
|
- alert("Fill Max Charging Power !");
|
|
|
- document.getElementById("MaxChargingPower").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(RatingPower!="" && RatingPower!=0){
|
|
|
- if(parseFloat(MaxChargingPower) > parseFloat(RatingPower))
|
|
|
- {
|
|
|
- alert("Max Charging Power must be less than RatingPower("+RatingPower+")!");
|
|
|
- document.getElementById("MaxChargingPower").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- else{
|
|
|
- if(MaxChargingPower >65535)
|
|
|
- {
|
|
|
- alert("Max Charging Power must <= 65535!");
|
|
|
- document.getElementById("MaxChargingPower").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(MaxChargingCurrent =="")
|
|
|
- {
|
|
|
- alert("Fill Max Charging Current !");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(RatingCurrent!="" && RatingCurrent!=0){
|
|
|
- if(parseFloat(MaxChargingCurrent) > parseFloat(RatingCurrent))
|
|
|
- {
|
|
|
- alert("Max Charging Current must be less than RatingCurrent("+RatingCurrent+")!");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- else{
|
|
|
- if(MaxChargingCurrent >65535)
|
|
|
- {
|
|
|
- alert("Max Charging Current must <= 65535!");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(document.getElementById("ModelName").value.substr(8,1)!= "0" && AcMaxChargingCurrent =="")
|
|
|
- {
|
|
|
- alert("Fill AC Max Charging Current !");
|
|
|
- document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(AcRatingCurrent!="" && AcRatingCurrent!=0){
|
|
|
- if(parseFloat(AcMaxChargingCurrent) > parseFloat(AcRatingCurrent))
|
|
|
- {
|
|
|
- alert("Ac Max Charging Current must be less than Ac Rating Current("+AcRatingCurrent+")!");
|
|
|
- document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- else{
|
|
|
- if(AcMaxChargingCurrent >65535)
|
|
|
- {
|
|
|
- alert("Ac Max Charging Current must <= 65535!");
|
|
|
- document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(AcMaxChargingCurrent < 0)
|
|
|
- {
|
|
|
- alert("Ac Max Charging Current must >= 0!");
|
|
|
- document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
- if(MaxChargingCurrent =="")
|
|
|
- {
|
|
|
- alert("Fill Max Charging Current !");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingCurrent < 0)
|
|
|
- {
|
|
|
- alert("MaxChargingCurrent must >= 0!");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingDuration >65535)
|
|
|
- {
|
|
|
- alert("MaxChargingDuration must <= 65535!");
|
|
|
- document.getElementById("MaxChargingDuration").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingDuration =="")
|
|
|
- {
|
|
|
- alert("Fill Max Charging Duration !");
|
|
|
- document.getElementById("MaxChargingDuration").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if(MaxChargingDuration < 0)
|
|
|
- {
|
|
|
- alert("MaxChargingDuration must >= 0!");
|
|
|
- document.getElementById("MaxChargingDuration").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc > 100))
|
|
|
- {
|
|
|
- alert("MaxChargingSoc must <= 100!");
|
|
|
- document.getElementById("MaxChargingSoc").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc == ""))
|
|
|
- {
|
|
|
- alert("Fill Max Charging Soc !");
|
|
|
- document.getElementById("MaxChargingSoc").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc < 0))
|
|
|
- {
|
|
|
- alert("MaxChargingSoc must >= 0!");
|
|
|
- document.getElementById("MaxChargingSoc").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- if(document.getElementById("ModelName").value.substr(0,1)=="A" && MaxChargingCurrent < 6 && MaxChargingCurrent !=0)
|
|
|
- {
|
|
|
- alert("MaxChargingCurrent must > 6!");
|
|
|
- document.getElementById("MaxChargingCurrent").focus();
|
|
|
- return false;
|
|
|
- }
|
|
|
- return true;
|
|
|
- }
|
|
|
- function isBilling_clicked(){
|
|
|
- if(document.getElementById("isBilling").checked){
|
|
|
- document.getElementById("CurrencyDiv").style.display="block";
|
|
|
- document.getElementById("FeeDiv").style.display="block";
|
|
|
- }
|
|
|
- else{
|
|
|
- document.getElementById("CurrencyDiv").style.display="none";
|
|
|
- document.getElementById("FeeDiv").style.display="none";
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- function isNumberKey(evt)
|
|
|
- {
|
|
|
- var charCode = (evt.which) ? evt.which : event.keyCode
|
|
|
-
|
|
|
- if (charCode > 31 && (charCode < 48 || charCode > 57) && (charCode != 46))
|
|
|
- return false;
|
|
|
-
|
|
|
- return true;
|
|
|
- }
|
|
|
-
|
|
|
-</script>
|
|
|
-
|
|
|
-
|
|
|
-</html>
|
|
|
+<?php
|
|
|
+ ini_set('error_reporting', E_ALL | E_STRICT);
|
|
|
+ $tag_header = 'set';
|
|
|
+ include 'head.php';
|
|
|
+ $obj = json_decode(trim($output[1]),true);//var_dump($obj);
|
|
|
+ $system = json_decode(trim($output[0]),true);//var_dump($obj);
|
|
|
+ $RatingCurrent = $system['RatingCurrent'];
|
|
|
+ $AcRatingCurrent = $system['AcRatingCurrent'];
|
|
|
+ $ModelName = $system['ModelName'];
|
|
|
+ $RatingPower = substr($ModelName,4,2)*pow(10,-1+substr($ModelName,6,1));
|
|
|
+ $Connector1=substr($ModelName,7,1);
|
|
|
+ $Connector2=substr($ModelName,9,1);
|
|
|
+ $Connector3=substr($ModelName,8,1);
|
|
|
+ if(substr($ModelName,0,2)!="DO" && substr($ModelName,0,2)!="DK" && substr($ModelName,0,2)!="DB"){
|
|
|
+ $connectorType1=ConnectorType($Connector1);
|
|
|
+ $connectorType2=ConnectorType($Connector2);
|
|
|
+ $connectorType3=ConnectorType($Connector3);
|
|
|
+ }
|
|
|
+ $idx=0;
|
|
|
+ if($obj['ChargingInfo1']){
|
|
|
+ switch ($obj['ChargingInfo1']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $SystemStatus1='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $SystemStatus1='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $SystemStatus1='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $SystemStatus1='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $SystemStatus1='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $SystemStatus1='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $SystemStatus1='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $SystemStatus1='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $SystemStatus1='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $SystemStatus1='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $SystemStatus1='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $SystemStatus1='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $SystemStatus1='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $SystemStatus1='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $SystemStatus1='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $SystemStatus1='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $SystemStatus1='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $SystemStatus1='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $SystemStatus1='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $SystemStatus1='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $SystemStatus1='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['ChargingInfo2']){
|
|
|
+ switch ($obj['ChargingInfo2']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $SystemStatus2='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $SystemStatus2='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $SystemStatus2='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $SystemStatus2='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $SystemStatus2='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $SystemStatus2='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $SystemStatus2='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $SystemStatus2='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $SystemStatus2='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $SystemStatus2='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $SystemStatus2='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $SystemStatus2='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $SystemStatus2='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $SystemStatus2='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $SystemStatus2='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $SystemStatus2='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $SystemStatus2='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $SystemStatus2='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $SystemStatus2='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $SystemStatus2='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $SystemStatus2='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['ChargingInfo3']){
|
|
|
+ switch ($obj['ChargingInfo3']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $SystemStatus3='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $SystemStatus3='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $SystemStatus3='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $SystemStatus3='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $SystemStatus3='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $SystemStatus3='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $SystemStatus3='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $SystemStatus3='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $SystemStatus3='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $SystemStatus3='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $SystemStatus3='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $SystemStatus3='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $SystemStatus3='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $SystemStatus3='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $SystemStatus3='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $SystemStatus3='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $SystemStatus3='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $SystemStatus3='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $SystemStatus3='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $SystemStatus3='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $SystemStatus3='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['DDChargingInfo1']){
|
|
|
+ switch ($obj['DDChargingInfo1']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $DDSystemStatus1='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $DDSystemStatus1='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $DDSystemStatus1='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $DDSystemStatus1='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $DDSystemStatus1='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $DDSystemStatus1='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $DDSystemStatus1='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $DDSystemStatus1='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $DDSystemStatus1='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $DDSystemStatus1='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $DDSystemStatus1='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $DDSystemStatus1='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $DDSystemStatus1='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $DDSystemStatus1='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $DDSystemStatus1='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $DDSystemStatus1='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $DDSystemStatus1='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $DDSystemStatus1='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $DDSystemStatus1='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $DDSystemStatus1='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $DDSystemStatus1='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['DDChargingInfo2']){
|
|
|
+ switch ($obj['DDChargingInfo2']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $DDSystemStatus2='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $DDSystemStatus2='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $DDSystemStatus2='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $DDSystemStatus2='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $DDSystemStatus2='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $DDSystemStatus2='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $DDSystemStatus2='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $DDSystemStatus2='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $DDSystemStatus2='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $DDSystemStatus2='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $DDSystemStatus2='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $DDSystemStatus2='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $DDSystemStatus2='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $DDSystemStatus2='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $DDSystemStatus2='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $DDSystemStatus2='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $DDSystemStatus2='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $DDSystemStatus2='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $DDSystemStatus2='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $DDSystemStatus2='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $DDSystemStatus2='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['DDChargingInfo3']){
|
|
|
+ switch ($obj['DDChargingInfo3']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $DDSystemStatus3='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $DDSystemStatus3='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $DDSystemStatus3='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $DDSystemStatus3='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $DDSystemStatus3='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $DDSystemStatus3='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $DDSystemStatus3='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $DDSystemStatus3='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $DDSystemStatus3='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $DDSystemStatus3='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $DDSystemStatus3='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $DDSystemStatus3='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $DDSystemStatus3='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $DDSystemStatus3='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $DDSystemStatus3='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $DDSystemStatus3='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $DDSystemStatus3='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $DDSystemStatus3='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $DDSystemStatus3='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $DDSystemStatus3='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $DDSystemStatus3='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if($obj['DDChargingInfo4']){
|
|
|
+ switch ($obj['DDChargingInfo4']['SystemStatus']){
|
|
|
+ case 0:
|
|
|
+ $DDSystemStatus4='booting';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ $DDSystemStatus4='idle';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $DDSystemStatus4='authorizing';
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ $DDSystemStatus4='reassign check';
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ $DDSystemStatus4='reassign';
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ $DDSystemStatus4='preparing';
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ $DDSystemStatus4='preparing for EV';
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ $DDSystemStatus4='preparing for evse';
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ $DDSystemStatus4='charging';
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ $DDSystemStatus4='terminating';
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ $DDSystemStatus4='complete';
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ $DDSystemStatus4='alarm';
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ $DDSystemStatus4='fault';
|
|
|
+ break;
|
|
|
+ case 13:
|
|
|
+ $DDSystemStatus4='reservation';
|
|
|
+ break;
|
|
|
+ case 14:
|
|
|
+ $DDSystemStatus4='booking';
|
|
|
+ break;
|
|
|
+ case 15:
|
|
|
+ $DDSystemStatus4='maintain';
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ $DDSystemStatus4='debug';
|
|
|
+ break;
|
|
|
+ case 17:
|
|
|
+ $DDSystemStatus4='precharge step 0';
|
|
|
+ break;
|
|
|
+ case 18:
|
|
|
+ $DDSystemStatus4='precharge step 1';
|
|
|
+ break;
|
|
|
+ case 19:
|
|
|
+ $DDSystemStatus4='update';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ $DDSystemStatus4='unknown';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function ConnectorType($connector){
|
|
|
+ $result="";
|
|
|
+ if($connector == "0"){
|
|
|
+ $result= "";
|
|
|
+ }
|
|
|
+ else if($connector == "U" || $connector == "V" || $connector == "E" || $connector == "F" || $connector == "T" || $connector == "D" || $connector == "M" || $connector == "N" || $connector == "P" || $connector == "R" || $connector == "Y" || $connector == "Z" || $connector == "I" || $connector == "Q"){
|
|
|
+ $result= "CCS";
|
|
|
+ }
|
|
|
+ else if($connector == "G" || $connector == "B" || $connector == "H" || $connector == "A"){
|
|
|
+ $result= "GB";
|
|
|
+ }
|
|
|
+ else if($connector == "J" || $connector == "K" || $connector == "L" || $connector == "S" || $connector == "O"){
|
|
|
+ $result= "CHAdeMO";
|
|
|
+ }
|
|
|
+ else if($connector == "1" || $connector == "2" || $connector == "3" || $connector == "4" || $connector == "5" || $connector == "6" || $connector == "7" || $connector == "8"){
|
|
|
+ $result= "AC";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ $result= "";
|
|
|
+ }
|
|
|
+ return $result;
|
|
|
+ }
|
|
|
+
|
|
|
+?>
|
|
|
+<style>
|
|
|
+img {
|
|
|
+ display: block;
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: auto;
|
|
|
+}
|
|
|
+<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
+/* Colors: Default (blue) */
|
|
|
+.toggle-switchy {color:#fff;}
|
|
|
+.toggle-switchy > input + .toggle:before {content:'Calibrated';}
|
|
|
+.toggle-switchy > input + .toggle:after {content:'Default';}
|
|
|
+.toggle-switchy > input + .toggle > .switch {background:#fff;}
|
|
|
+.toggle-switchy > input + .toggle + .label {color:#000;}
|
|
|
+.toggle-switchy > input:checked + .toggle {background:#3498db;}
|
|
|
+.toggle-switchy > input:not(:checked) + .toggle {background:#ccc;}
|
|
|
+.toggle-switchy > input:checked + .toggle > .switch {border:3px solid #3498db;}
|
|
|
+.toggle-switchy > input:not(:checked) + .toggle > .switch {border:3px solid #ccc;}
|
|
|
+.toggle-switchy > input:focus + .toggle,
|
|
|
+.toggle-switchy > input:active + .toggle {box-shadow:0 0 5px 3px rgba(0, 119, 200, 0.50);}
|
|
|
+
|
|
|
+/* Rounded switch corners */
|
|
|
+.toggle-switchy > input + .toggle {border-radius:4px;}
|
|
|
+.toggle-switchy > input + .toggle .switch {border-radius:6px;}
|
|
|
+
|
|
|
+/* //////////////////////////
|
|
|
+CORE STYLES BELOW - NO TOUCHY
|
|
|
+////////////////////////// */
|
|
|
+.toggle-switchy {display:inline-flex; align-items:center; user-select:none; position:relative;}
|
|
|
+.toggle-switchy:hover {cursor:pointer;}
|
|
|
+.toggle-switchy > input {position:absolute; opacity:0;}
|
|
|
+.toggle-switchy > input + .toggle {align-items:center; position:relative;}
|
|
|
+.toggle-switchy > input + .toggle {overflow:hidden; position:relative; flex-shrink:0;}
|
|
|
+.toggle-switchy > input[disabled] + .toggle {opacity:0.5;}
|
|
|
+.toggle-switchy > input[disabled] + .toggle:hover {cursor:not-allowed;}
|
|
|
+.toggle-switchy > input + .toggle {width:100%; height:100%; margin:0; cursor:pointer;}
|
|
|
+.toggle-switchy > input + .toggle > .switch {display:block; height:100%; position:absolute; right:0; z-index:3;}
|
|
|
+
|
|
|
+/* Labels */
|
|
|
+.toggle-switchy > input + .toggle:before,
|
|
|
+.toggle-switchy > input + .toggle:after {display:flex; align-items:center; position:absolute; z-index:2; height:100%;}
|
|
|
+.toggle-switchy > input + .toggle:before {right:55%;}
|
|
|
+.toggle-switchy > input + .toggle:after {left:50%;}
|
|
|
+.toggle-switchy > input + .toggle + .label {margin-left:10px;}
|
|
|
+.toggle-switchy[data-label='left'] > input + .toggle {order:2;}
|
|
|
+.toggle-switchy[data-label='left'] > input + .toggle + .label {order:1; margin-left:0; margin-right:10px;}
|
|
|
+
|
|
|
+/* Show / Hide */
|
|
|
+.toggle-switchy > input + .toggle:before {opacity:0;}
|
|
|
+.toggle-switchy > input:checked + .toggle:before {opacity:1;}
|
|
|
+.toggle-switchy > input:checked + .toggle:after {opacity:0;}
|
|
|
+
|
|
|
+/* Transitions */
|
|
|
+.toggle-switchy > input + .toggle {transition:background 200ms linear, box-shadow 200ms linear;}
|
|
|
+.toggle-switchy > input + .toggle:before,
|
|
|
+.toggle-switchy > input + .toggle:after {transition:all 200ms linear;}
|
|
|
+.toggle-switchy > input + .toggle > .switch {transition:right 200ms linear, border-color 200ms linear;}
|
|
|
+/* //////////////////////////
|
|
|
+CORE STYLES ABOVE - NO TOUCHY
|
|
|
+////////////////////////// */
|
|
|
+
|
|
|
+/* Size: Extra Large */
|
|
|
+.toggle-switchy[data-size='xl'] > input + .toggle {width:85px; height:40px;}
|
|
|
+.toggle-switchy[data-size='xl'] > input + .toggle > .switch {width:40px;}
|
|
|
+.toggle-switchy[data-size='xl'] > input + .toggle:before,
|
|
|
+.toggle-switchy[data-size='xl'] > input + .toggle:after {font-size:1.2rem;}
|
|
|
+.toggle-switchy[data-size='xl'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 40px);}
|
|
|
+
|
|
|
+/* Size: Large */
|
|
|
+.toggle-switchy[data-size='lg'] > input + .toggle {width:75px; height:35px;}
|
|
|
+.toggle-switchy[data-size='lg'] > input + .toggle > .switch {width:35px;}
|
|
|
+.toggle-switchy[data-size='lg'] > input + .toggle:before,
|
|
|
+.toggle-switchy[data-size='lg'] > input + .toggle:after {font-size:1rem;}
|
|
|
+.toggle-switchy[data-size='lg'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 35px);}
|
|
|
+
|
|
|
+/* Size: Default (Medium) */
|
|
|
+.toggle-switchy > input + .toggle {width:100px; height:30px;}
|
|
|
+.toggle-switchy > input + .toggle > .switch {width:30px;}
|
|
|
+.toggle-switchy > input + .toggle:before,
|
|
|
+.toggle-switchy > input + .toggle:after {font-size:0.8rem;}
|
|
|
+.toggle-switchy > input:not(:checked) + .toggle > .switch {right:calc(100% - 30px);}
|
|
|
+
|
|
|
+/* Size: Small */
|
|
|
+.toggle-switchy[data-size='sm'] > input + .toggle {width:55px; height:25px;}
|
|
|
+.toggle-switchy[data-size='sm'] > input + .toggle > .switch {width:25px;}
|
|
|
+.toggle-switchy[data-size='sm'] > input + .toggle:before,
|
|
|
+.toggle-switchy[data-size='sm'] > input + .toggle:after {font-size:0.7rem;}
|
|
|
+.toggle-switchy[data-size='sm'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 25px);}
|
|
|
+
|
|
|
+/* Size: Extra Small */
|
|
|
+.toggle-switchy[data-size='xs'] > input + .toggle {width:45px; height:20px;}
|
|
|
+.toggle-switchy[data-size='xs'] > input + .toggle > .switch {width:20px;}
|
|
|
+.toggle-switchy[data-size='xs'] > input + .toggle:before,
|
|
|
+.toggle-switchy[data-size='xs'] > input + .toggle:after {font-size:0.5rem;}
|
|
|
+.toggle-switchy[data-size='xs'] > input:not(:checked) + .toggle > .switch {right:calc(100% - 20px);}
|
|
|
+
|
|
|
+/* Style: Rounded */
|
|
|
+.toggle-switchy[data-style='rounded'] > input + .toggle,
|
|
|
+.toggle-switchy[data-style='rounded'] > input + .toggle > .switch {border-radius:50px;}
|
|
|
+.toggle-switchy[data-style='rounded'] > input + .toggle:before {right:30%;}
|
|
|
+.toggle-switchy[data-style='rounded'] > input + .toggle:after {left:40%;}
|
|
|
+
|
|
|
+/* Style: Square */
|
|
|
+.toggle-switchy[data-style='square'] > input + .toggle {border-radius:0;}
|
|
|
+.toggle-switchy[data-style='square'] > input + .toggle .switch {border-radius:0;}
|
|
|
+
|
|
|
+/* Text: Off */
|
|
|
+.toggle-switchy[data-text='false'] > input + .toggle:before,
|
|
|
+.toggle-switchy[data-text='false'] > input + .toggle:after {content:'';}
|
|
|
+.toggle-switchy[data-text='false'][data-size='xl'] > input + .toggle {width:80px;}
|
|
|
+.toggle-switchy[data-text='false'][data-size='lg'] > input + .toggle {width:70px;}
|
|
|
+.toggle-switchy[data-text='false'] > input + .toggle {width:60px;}
|
|
|
+.toggle-switchy[data-text='false'][data-size='sm'] > input + .toggle {width:50px;}
|
|
|
+.toggle-switchy[data-text='false'][data-size='xs'] > input + .toggle {width:40px;}
|
|
|
+
|
|
|
+/* Color: Red */
|
|
|
+.toggle-switchy[data-color='red'] > input:checked + .toggle {background:#e74c3c;}
|
|
|
+.toggle-switchy[data-color='red'] > input:checked + .toggle > .switch {border-color:#e74c3c;}
|
|
|
+
|
|
|
+/* Color: Orange */
|
|
|
+.toggle-switchy[data-color='orange'] > input:checked + .toggle {background:#e67e22;}
|
|
|
+.toggle-switchy[data-color='orange'] > input:checked + .toggle > .switch {border-color:#e67e22;}
|
|
|
+
|
|
|
+ /* Color: Yellow */
|
|
|
+.toggle-switchy[data-color='yellow'] > input:checked + .toggle {background:#f1c40f;}
|
|
|
+.toggle-switchy[data-color='yellow'] > input:checked + .toggle > .switch {border-color:#f1c40f;}
|
|
|
+
|
|
|
+/* Color: Green */
|
|
|
+.toggle-switchy[data-color='green'] > input:checked + .toggle {background:#2ecc71;}
|
|
|
+.toggle-switchy[data-color='green'] > input:checked + .toggle > .switch {border-color:#2ecc71;}
|
|
|
+
|
|
|
+/* Color: Blue */
|
|
|
+.toggle-switchy[data-color='blue'] > input:checked + .toggle {background:#3498db;}
|
|
|
+.toggle-switchy[data-color='blue'] > input:checked + .toggle > .switch {border-color:#3498db;}
|
|
|
+
|
|
|
+/* Color: Purple */
|
|
|
+.toggle-switchy[data-color='purple'] > input:checked + .toggle {background:#9b59b6;}
|
|
|
+.toggle-switchy[data-color='purple'] > input:checked + .toggle > .switch {border-color:#9b59b6;}
|
|
|
+
|
|
|
+/* Color: Gray */
|
|
|
+.toggle-switchy[data-color='gray'] > input:checked + .toggle {background:#555;}
|
|
|
+.toggle-switchy[data-color='gray'] > input:checked + .toggle > .switch {border-color:#555;}
|
|
|
+<?php } ?>
|
|
|
+</style>
|
|
|
+ <div class="envor-content">
|
|
|
+ <!--
|
|
|
+ Page Title start
|
|
|
+ //-->
|
|
|
+ <section class="envor-page-title-1" data-stellar-background-ratio="0.5">
|
|
|
+ <div class="container">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-lg-9 col-md-9 col-sm-9">
|
|
|
+ <h1><?php echo $lang->showWord("charging"); ?></h1>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--
|
|
|
+ Page Title end
|
|
|
+ //-->
|
|
|
+ </section>
|
|
|
+ <!--
|
|
|
+ Main Content start
|
|
|
+ //-->
|
|
|
+ <a id="loadinghref"><div id="loading" style="display:none;"><input type="hidden" name="ModelName" id="ModelName" value="<?php echo $ModelName;?>"><img src="img/giphy.gif"/></div></a>
|
|
|
+ <section class="envor-section">
|
|
|
+ <div class="container">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-lg-12">
|
|
|
+ <div class="envor-sorting" id="faq-sorting">
|
|
|
+ <div class="envor-toggle">
|
|
|
+ <!--Charging relevant parameters-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo $lang->showWord("charging_relevant_parameters"); ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label id="MaxChargingEnergyLbl">Max Charging Energy</label>
|
|
|
+ <small class="form-text text-muted-red">kWh</small>
|
|
|
+ <input type="text" name="MaxChargingEnergy" id="MaxChargingEnergy" class="form-control" value="<?php echo $obj['MaxChargingEnergy'];?>" placeholder="<?php echo ($obj['MaxChargingEnergy']==0||$obj['MaxChargingEnergy']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <small class="form-text text-muted-red"><label id="MaxChargingEnergyText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label id="MaxChargingPowerLbl">Max Charging Power</label>
|
|
|
+ <small class="form-text text-muted-red">kW</small>
|
|
|
+ <input type="text" name="MaxChargingPower" id="MaxChargingPower" class="form-control" value="<?php echo $obj['MaxChargingPower'];?>" placeholder="<?php echo ($obj['MaxChargingPower']==0||$obj['MaxChargingPower']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <input type="hidden" name="RatingPower" id="RatingPower" value="<?php echo $RatingPower;?>">
|
|
|
+ <small class="form-text text-muted-red"><label id="MaxChargingPowerText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label id="MaxChargingCurrentLbl">Max Charging Current</label>
|
|
|
+ <small class="form-text text-muted-red">amp</small>
|
|
|
+ <input type="text" name="MaxChargingCurrent" id="MaxChargingCurrent" class="form-control" value="<?php echo $obj['MaxChargingCurrent'];?>" placeholder="<?php echo ($obj['MaxChargingCurrent']==0||$obj['MaxChargingCurrent']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <input type="hidden" name="RatingCurrent" id="RatingCurrent" value="<?php echo $RatingCurrent;?>">
|
|
|
+ <small class="form-text text-muted-red"><label id="MaxChargingCurrentText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label id="MaxChargingDurationLbl">Max Charging Duration</label>
|
|
|
+ <small class="form-text text-muted-red">minutes</small>
|
|
|
+ <input type="text" name="MaxChargingDuration" id="MaxChargingDuration" class="form-control" value="<?php echo $obj['MaxChargingDuration'];?>" placeholder="<?php echo ($obj['MaxChargingDuration']==0||$obj['MaxChargingDuration']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <small class="form-text text-muted-red"><label id="MaxChargingDurationText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label id="MaxChargingSocLbl">Max Charging Soc</label>
|
|
|
+ <small class="form-text text-muted-red">percent</small>
|
|
|
+ <input type="text" name="MaxChargingSoc" id="MaxChargingSoc" class="form-control" value="<?php echo $obj['MaxChargingSoc'];?>" placeholder="<?php echo ($obj['MaxChargingSoc']==0||$obj['MaxChargingSoc']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <small class="form-text text-muted-red"><label id="MaxChargingSocText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Stop Charging By Button</label>
|
|
|
+ <select class="form-control" id="StopChargingByButton" name="StopChargingByButton">
|
|
|
+ <option value="0" <?php echo $obj['StopChargingByButton']=="0"?"selected":""?>>Disable</option>
|
|
|
+ <option value="1" <?php echo $obj['StopChargingByButton']=="1"?"selected":""?>>Enable</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Fan Control Policy</label>
|
|
|
+ <select class="form-control" id="FanControlPolicy" name="FanControlPolicy">
|
|
|
+ <option value="0" <?php echo $obj['FanControlPolicy']=="0"?"selected":""?>>Auto</option>
|
|
|
+ <option value="1" <?php echo $obj['FanControlPolicy']=="1"?"selected":""?>>Quiet mode</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="AcMaxChargingCurrentDiv">
|
|
|
+ <label>AC Max Charging Current</label>
|
|
|
+ <small class="form-text text-muted-red">amp</small>
|
|
|
+ <input type="text" name="AcMaxChargingCurrent" id="AcMaxChargingCurrent" class="form-control" value="<?php echo $obj['AcMaxChargingCurrent'];?>" placeholder="<?php echo ($obj['AcMaxChargingCurrent']==0||$obj['AcMaxChargingCurrent']=="")?"'0' means unlimit":"";?>" title="'0' means unlimit">
|
|
|
+ <input type="hidden" name="AcRatingCurrent" id="AcRatingCurrent" value="<?php echo $AcRatingCurrent;?>">
|
|
|
+ <small class="form-text text-muted-red"><label id="AcMaxChargingCurrentText" style="display:none;">'0' means unlimit</label></small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>0</label>
|
|
|
+ <input type="text" name="LocalWhiteCard0" id="LocalWhiteCard0" class="form-control" value="<?php echo $obj['LocalWhiteCard'][0];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>1</label>
|
|
|
+ <input type="text" name="LocalWhiteCard1" id="LocalWhiteCard1" class="form-control" value="<?php echo $obj['LocalWhiteCard'][1];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>2</label>
|
|
|
+ <input type="text" name="LocalWhiteCard2" id="LocalWhiteCard2" class="form-control" value="<?php echo $obj['LocalWhiteCard'][2];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>3</label>
|
|
|
+ <input type="text" name="LocalWhiteCard3" id="LocalWhiteCard3" class="form-control" value="<?php echo $obj['LocalWhiteCard'][3];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>4</label>
|
|
|
+ <input type="text" name="LocalWhiteCard4" id="LocalWhiteCard4" class="form-control" value="<?php echo $obj['LocalWhiteCard'][4];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>5</label>
|
|
|
+ <input type="text" name="LocalWhiteCard5" id="LocalWhiteCard5" class="form-control" value="<?php echo $obj['LocalWhiteCard'][5];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>6</label>
|
|
|
+ <input type="text" name="LocalWhiteCard6" id="LocalWhiteCard6" class="form-control" value="<?php echo $obj['LocalWhiteCard'][6];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>7</label>
|
|
|
+ <input type="text" name="LocalWhiteCard7" id="LocalWhiteCard7" class="form-control" value="<?php echo $obj['LocalWhiteCard'][7];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>8</label>
|
|
|
+ <input type="text" name="LocalWhiteCard8" id="LocalWhiteCard8" class="form-control" value="<?php echo $obj['LocalWhiteCard'][8];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("local_white_card"); ?>9</label>
|
|
|
+ <input type="text" name="LocalWhiteCard9" id="LocalWhiteCard9" class="form-control" value="<?php echo $obj['LocalWhiteCard'][9];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="isBillingDiv">
|
|
|
+ <label>
|
|
|
+ <input type="checkbox" id="isBilling" name="isBilling" <?php echo $obj['isBilling']==1?"checked":"";?> onclick="isBilling_clicked()">
|
|
|
+ <?php echo $lang->showWord("billing"); ?></label>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="CurrencyDiv">
|
|
|
+ <label><?php echo $lang->showWord("currency"); ?></label>
|
|
|
+ <select class="form-control" id="Currency" name="Currency">
|
|
|
+ <option value="0" <?php echo $obj['Currency']=="0"?"selected":""?>>AED - Emirati Dirham</option>
|
|
|
+ <option value="1" <?php echo $obj['Currency']=="1"?"selected":""?>>ARS - Argentine Peso</option>
|
|
|
+ <option value="2" <?php echo $obj['Currency']=="2"?"selected":""?>>AUD - Australian Dollar</option>
|
|
|
+ <option value="3" <?php echo $obj['Currency']=="3"?"selected":""?>>BGN - Bulgarian Lev</option>
|
|
|
+ <option value="4" <?php echo $obj['Currency']=="4"?"selected":""?>>BHD - Bahraini Dinar</option>
|
|
|
+ <option value="5" <?php echo $obj['Currency']=="5"?"selected":""?>>BND - Bruneian Dollar</option>
|
|
|
+ <option value="6" <?php echo $obj['Currency']=="6"?"selected":""?>>BRL - Brazilian Real</option>
|
|
|
+ <option value="7" <?php echo $obj['Currency']=="7"?"selected":""?>>BWP - Botswana Pula</option>
|
|
|
+ <option value="8" <?php echo $obj['Currency']=="8"?"selected":""?>>CAD - Canadian Dollar</option>
|
|
|
+ <option value="9" <?php echo $obj['Currency']=="9"?"selected":""?>>CHF - Swiss Franc</option>
|
|
|
+ <option value="10" <?php echo $obj['Currency']=="10"?"selected":""?>>CLP - Chilean Peso</option>
|
|
|
+ <option value="11" <?php echo $obj['Currency']=="11"?"selected":""?>>CNY - Chinese Yuan Renminbi</option>
|
|
|
+ <option value="12" <?php echo $obj['Currency']=="12"?"selected":""?>>COP - Colombian Peso</option>
|
|
|
+ <option value="13" <?php echo $obj['Currency']=="13"?"selected":""?>>CZK - Czech Koruna</option>
|
|
|
+ <option value="14" <?php echo $obj['Currency']=="14"?"selected":""?>>DKK - Danish Krone</option>
|
|
|
+ <option value="15" <?php echo $obj['Currency']=="15"?"selected":""?>>EUR - Euro</option>
|
|
|
+ <option value="16" <?php echo $obj['Currency']=="16"?"selected":""?>>GBP - British Pound</option>
|
|
|
+ <option value="17" <?php echo $obj['Currency']=="17"?"selected":""?>>HKD - Hong Kong Dollar</option>
|
|
|
+ <option value="18" <?php echo $obj['Currency']=="18"?"selected":""?>>HRK - Croatian Kuna</option>
|
|
|
+ <option value="19" <?php echo $obj['Currency']=="19"?"selected":""?>>HUF - Hungarian Forint</option>
|
|
|
+ <option value="20" <?php echo $obj['Currency']=="20"?"selected":""?>>IDR - Indonesian Rupiah</option>
|
|
|
+ <option value="21" <?php echo $obj['Currency']=="21"?"selected":""?>>ILS - Israeli Shekel</option>
|
|
|
+ <option value="22" <?php echo $obj['Currency']=="22"?"selected":""?>>INR - Indian Rupee</option>
|
|
|
+ <option value="23" <?php echo $obj['Currency']=="23"?"selected":""?>>IRR - Iranian Rial</option>
|
|
|
+ <option value="24" <?php echo $obj['Currency']=="24"?"selected":""?>>ISK - Icelandic Krona</option>
|
|
|
+ <option value="25" <?php echo $obj['Currency']=="25"?"selected":""?>>JPY - Japanese Yen</option>
|
|
|
+ <option value="26" <?php echo $obj['Currency']=="26"?"selected":""?>>KRW - South Korean Won</option>
|
|
|
+ <option value="27" <?php echo $obj['Currency']=="27"?"selected":""?>>KWD - Kuwaiti Dinar</option>
|
|
|
+ <option value="28" <?php echo $obj['Currency']=="28"?"selected":""?>>KZT - Kazakhstani Tenge</option>
|
|
|
+ <option value="29" <?php echo $obj['Currency']=="29"?"selected":""?>>LKR - Sri Lankan Rupee</option>
|
|
|
+ <option value="30" <?php echo $obj['Currency']=="30"?"selected":""?>>LYD - Libyan Dinar</option>
|
|
|
+ <option value="31" <?php echo $obj['Currency']=="31"?"selected":""?>>MUR - Mauritian Rupee</option>
|
|
|
+ <option value="32" <?php echo $obj['Currency']=="32"?"selected":""?>>MXN - Mexican Peso</option>
|
|
|
+ <option value="33" <?php echo $obj['Currency']=="33"?"selected":""?>>MYR - Malaysian Ringgit</option>
|
|
|
+ <option value="34" <?php echo $obj['Currency']=="34"?"selected":""?>>NOK - Norwegian Krone</option>
|
|
|
+ <option value="35" <?php echo $obj['Currency']=="35"?"selected":""?>>NPR - Nepalese Rupee</option>
|
|
|
+ <option value="36" <?php echo $obj['Currency']=="36"?"selected":""?>>NZD - New Zealand Dollar</option>
|
|
|
+ <option value="37" <?php echo $obj['Currency']=="37"?"selected":""?>>OMR - Omani Rial</option>
|
|
|
+ <option value="38" <?php echo $obj['Currency']=="38"?"selected":""?>>PHP - Philippine Peso</option>
|
|
|
+ <option value="39" <?php echo $obj['Currency']=="39"?"selected":""?>>PKR - Pakistani Rupee</option>
|
|
|
+ <option value="40" <?php echo $obj['Currency']=="40"?"selected":""?>>PLN - Polish Zloty</option>
|
|
|
+ <option value="41" <?php echo $obj['Currency']=="41"?"selected":""?>>QAR - Qatari Riyal</option>
|
|
|
+ <option value="42" <?php echo $obj['Currency']=="42"?"selected":""?>>RON - Romanian New Leu</option>
|
|
|
+ <option value="43" <?php echo $obj['Currency']=="43"?"selected":""?>>RUB - Russian Ruble</option>
|
|
|
+ <option value="44" <?php echo $obj['Currency']=="44"?"selected":""?>>SAR - Saudi Arabian Riyal</option>
|
|
|
+ <option value="45" <?php echo $obj['Currency']=="45"?"selected":""?>>SEK - Swedish Krona</option>
|
|
|
+ <option value="46" <?php echo $obj['Currency']=="46"?"selected":""?>>SGD - Singapore Dollar</option>
|
|
|
+ <option value="47" <?php echo $obj['Currency']=="47"?"selected":""?>>THB - Thai Baht</option>
|
|
|
+ <option value="48" <?php echo $obj['Currency']=="48"?"selected":""?>>TRY - Turkish Lira</option>
|
|
|
+ <option value="49" <?php echo $obj['Currency']=="49"?"selected":""?>>TTD - Trinidadian Dollar</option>
|
|
|
+ <option value="50" <?php echo $obj['Currency']=="50"?"selected":""?>>TWD - Taiwan New Dollar</option>
|
|
|
+ <option value="51" <?php echo $obj['Currency']=="51"?"selected":""?>>USD - US Dollar</option>
|
|
|
+ <option value="52" <?php echo $obj['Currency']=="52"?"selected":""?>>VEF - Venezuelan Bolivar</option>
|
|
|
+ <option value="53" <?php echo $obj['Currency']=="53"?"selected":""?>>ZAR - South African Rand</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="FeeDiv">
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 00:00~00:59</label>
|
|
|
+ <input type="text" name="Fee0" id="Fee0" class="form-control" value="<?php echo round($obj['Fee'][0],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 01:00~01:59</label>
|
|
|
+ <input type="text" name="Fee0" id="Fee1" class="form-control" value="<?php echo round($obj['Fee'][1],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 02:00~02:59</label>
|
|
|
+ <input type="text" name="Fee2" id="Fee2" class="form-control" value="<?php echo round($obj['Fee'][2],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 03:00~03:59</label>
|
|
|
+ <input type="text" name="Fee3" id="Fee3" class="form-control" value="<?php echo round($obj['Fee'][3],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 04:00~04:59</label>
|
|
|
+ <input type="text" name="Fee4" id="Fee4" class="form-control" value="<?php echo round($obj['Fee'][4],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 05:00~05:59</label>
|
|
|
+ <input type="text" name="Fee5" id="Fee5" class="form-control" value="<?php echo round($obj['Fee'][5],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 06:00~06:59</label>
|
|
|
+ <input type="text" name="Fee6" id="Fee6" class="form-control" value="<?php echo round($obj['Fee'][6],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 07:00~07:59</label>
|
|
|
+ <input type="text" name="Fee7" id="Fee7" class="form-control" value="<?php echo round($obj['Fee'][7],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 08:00~08:59</label>
|
|
|
+ <input type="text" name="Fee8" id="Fee8" class="form-control" value="<?php echo round($obj['Fee'][8],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 09:00~09:59</label>
|
|
|
+ <input type="text" name="Fee9" id="Fee9" class="form-control" value="<?php echo round($obj['Fee'][9],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 10:00~10:59</label>
|
|
|
+ <input type="text" name="Fee10" id="Fee10" class="form-control" value="<?php echo round($obj['Fee'][10],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 11:00~11:59</label>
|
|
|
+ <input type="text" name="Fee11" id="Fee11" class="form-control" value="<?php echo round($obj['Fee'][11],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 12:00~12:59</label>
|
|
|
+ <input type="text" name="Fee12" id="Fee12" class="form-control" value="<?php echo round($obj['Fee'][12],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 13:00~13:59</label>
|
|
|
+ <input type="text" name="Fee13" id="Fee13" class="form-control" value="<?php echo round($obj['Fee'][13],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 14:00~14:59</label>
|
|
|
+ <input type="text" name="Fee14" id="Fee14" class="form-control" value="<?php echo round($obj['Fee'][14],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 15:00~15:59</label>
|
|
|
+ <input type="text" name="Fee15" id="Fee15" class="form-control" value="<?php echo round($obj['Fee'][15],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 16:00~16:59</label>
|
|
|
+ <input type="text" name="Fee16" id="Fee16" class="form-control" value="<?php echo round($obj['Fee'][16],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 17:00~17:59</label>
|
|
|
+ <input type="text" name="Fee17" id="Fee17" class="form-control" value="<?php echo round($obj['Fee'][17],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 18:00~18:59</label>
|
|
|
+ <input type="text" name="Fee18" id="Fee18" class="form-control" value="<?php echo round($obj['Fee'][18],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 19:00~19:59</label>
|
|
|
+ <input type="text" name="Fee19" id="Fee19" class="form-control" value="<?php echo round($obj['Fee'][19],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 20:00~20:59</label>
|
|
|
+ <input type="text" name="Fee20" id="Fee20" class="form-control" value="<?php echo round($obj['Fee'][20],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 21:00~21:59</label>
|
|
|
+ <input type="text" name="Fee21" id="Fee21" class="form-control" value="<?php echo round($obj['Fee'][21],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 22:00~22:59</label>
|
|
|
+ <input type="text" name="Fee22" id="Fee22" class="form-control" value="<?php echo round($obj['Fee'][22],2);?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label><?php echo $lang->showWord("fee"); ?> 23:00~23:59</label>
|
|
|
+ <input type="text" name="Fee23" id="Fee23" class="form-control" value="<?php echo round($obj['Fee'][23],2);?>">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>CcsAuthentication</label>
|
|
|
+ <select class="form-control" id="CcsAuthentication" name="CcsAuthentication">
|
|
|
+ <option value="0" <?php echo $obj['CcsAuthentication']==0?"selected":""?>>EIM</option>
|
|
|
+ <option value="1" <?php echo $obj['CcsAuthentication']==1?"selected":""?>>EIM&PnC mixed</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>AcCcsChargingModel</label>
|
|
|
+ <select class="form-control" id="AcCcsChargingModel" name="AcCcsChargingModel">
|
|
|
+ <option value="0" <?php echo $obj['AcCcsChargingModel']==0?"selected":""?>>BC (PWM) only</option>
|
|
|
+ <option value="1" <?php echo $obj['AcCcsChargingModel']==0?"selected":""?>>BC&PLC mixed</option>
|
|
|
+ </select>
|
|
|
+ </div>*/?>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php if(substr($ModelName,0,2)=="DO" || substr($ModelName,0,2)=="DK" || substr($ModelName,0,2)=="DB"){?>
|
|
|
+<?php if($obj['DDChargingInfo1']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo1']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus1;?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ConnectorTemp']!=255?$obj['DDChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group ChillerTemp">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ChillerTemp']!=255?$obj['DDChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingPower'],2);?> kW">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['PresentChargedDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['RemainChargingDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php if($obj['DDChargingInfo2']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo2']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus2;?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ConnectorTemp']!=255?$obj['DDChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group ChillerTemp">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ChillerTemp']!=255?$obj['DDChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingPower'],2);?> kW">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['PresentChargedDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['RemainChargingDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php if($obj['DDChargingInfo3']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo3']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus3;?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ConnectorTemp']!=255?$obj['DDChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group ChillerTemp">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ChillerTemp']!=255?$obj['DDChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingPower'],2);?> kW">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['PresentChargedDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['RemainChargingDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php if($obj['DDChargingInfo4']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo4']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus4;?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ConnectorTemp']!=255?$obj['DDChargingInfo4']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group ChillerTemp">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ChillerTemp']!=255?$obj['DDChargingInfo4']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingPower'],2);?> kW">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['PresentChargedDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['RemainChargingDuration'];?> seconds">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php } else { ?>
|
|
|
+<?php if($obj['ChargingInfo1']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType1.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
|
|
|
+ <input type="hidden" name="UserId1" id="UserId1" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
|
|
|
+ <input type="hidden" name="StartDateTime1" id="StartDateTime1" value="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
|
|
|
+ <input type="hidden" name="StopDateTime1" id="StopDateTime1" value="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StartMethod'];?>">
|
|
|
+ <input type="hidden" name="StartMethod1" id="StartMethod1" value="<?php echo $obj['ChargingInfo1']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus1;?>">
|
|
|
+ <input type="hidden" name="SystemStatus1" id="SystemStatus1" value="<?php echo $obj['ChargingInfo1']['SystemStatus'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ConnectorTemp']!=255?$obj['ChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ <input type="hidden" name="ConnectorTemp1" id="ConnectorTemp1" value="<?php echo $obj['ChargingInfo1']['ConnectorTemp'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="ChillerTemp1">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ChillerTemp']!=255?$obj['ChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="PresentChargingVoltage1" id="PresentChargingVoltage1" value="<?php echo $obj['ChargingInfo1']['PresentChargingVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ <input type="hidden" name="PresentChargingCurrent1" id="PresentChargingCurrent1" value="<?php echo $obj['ChargingInfo1']['PresentChargingCurrent'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingPower'],2);?> kW">
|
|
|
+ <input type="hidden" name="PresentChargingPower1" id="PresentChargingPower1" value="<?php echo $obj['ChargingInfo1']['PresentChargingPower'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ <input type="hidden" name="PresentChargedEnergy1" id="PresentChargedEnergy1" value="<?php echo $obj['ChargingInfo1']['PresentChargedEnergy'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="PresentChargedDuration1" id="PresentChargedDuration1" value="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['RemainChargingDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="RemainChargingDuration1" id="RemainChargingDuration1" value="<?php echo $obj['ChargingInfo1']['RemainChargingDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatteryMaxVoltage1" id="EvBatteryMaxVoltage1" value="<?php echo $obj['ChargingInfo1']['EvBatteryMaxVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatterytargetVoltage1" id="EvBatterytargetVoltage1" value="<?php echo $obj['ChargingInfo1']['EvBatterytargetVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['EvBatterySoc'];?>">
|
|
|
+ <input type="hidden" name="EvBatterySoc1" id="EvBatterySoc1" value="<?php echo $obj['ChargingInfo1']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
+ <div class="form-group" style="display:block">
|
|
|
+ <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
+ <span style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo1']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo1']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo1']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo1']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo1']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo1']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo1']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo1']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pa</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo1']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pb</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo1']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pc</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo1']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+<?php } ?>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php if($obj['ChargingInfo2']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType2.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
|
|
|
+ <input type="hidden" name="UserId2" id="UserId2" value="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
|
|
|
+ <input type="hidden" name="StartDateTime2" id="StartDateTime2" value="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
|
|
|
+ <input type="hidden" name="StopDateTime2" id="StopDateTime2" value="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartMethod'];?>">
|
|
|
+ <input type="hidden" name="StartMethod2" id="StartMethod2" value="<?php echo $obj['ChargingInfo2']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus2;?>">
|
|
|
+ <input type="hidden" name="SystemStatus2" id="SystemStatus2" value="<?php echo $obj['ChargingInfo2']['SystemStatus'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ConnectorTemp']!=255?$obj['ChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ <input type="hidden" name="ConnectorTemp2" id="ConnectorTemp2" value="<?php echo $obj['ChargingInfo2']['ConnectorTemp'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="ChillerTemp2">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ChillerTemp']!=255?$obj['ChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="PresentChargingVoltage2" id="PresentChargingVoltage2" value="<?php echo $obj['ChargingInfo2']['PresentChargingVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ <input type="hidden" name="PresentChargingCurrent2" id="PresentChargingCurrent2" value="<?php echo $obj['ChargingInfo2']['PresentChargingCurrent'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingPower'],2);?> kW">
|
|
|
+ <input type="hidden" name="PresentChargingPower2" id="PresentChargingPower2" value="<?php echo $obj['ChargingInfo2']['PresentChargingPower'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ <input type="hidden" name="PresentChargedEnergy2" id="PresentChargedEnergy2" value="<?php echo $obj['ChargingInfo2']['PresentChargedEnergy'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="PresentChargedDuration2" id="PresentChargedDuration2" value="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['RemainChargingDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="RemainChargingDuration2" id="RemainChargingDuration2" value="<?php echo $obj['ChargingInfo2']['RemainChargingDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatteryMaxVoltage2" id="EvBatteryMaxVoltage2" value="<?php echo $obj['ChargingInfo2']['EvBatteryMaxVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatterytargetVoltage2" id="EvBatterytargetVoltage2" value="<?php echo $obj['ChargingInfo2']['EvBatterytargetVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['EvBatterySoc'];?>">
|
|
|
+ <input type="hidden" name="EvBatterySoc2" id="EvBatterySoc2" value="<?php echo $obj['ChargingInfo2']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
+ <div class="form-group" style="display:block">
|
|
|
+ <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
+ <span style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo2']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo2']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo2']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo2']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo2']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo2']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo2']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo2']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pa</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo2']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pb</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo2']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pc</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo2']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+<?php } ?>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php if($obj['ChargingInfo3']){ $idx++;?>
|
|
|
+ <!--Charging Information-->
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType3.")"; ?><i class="fa fa-plus"></i></header>
|
|
|
+ <section>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("user_id"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
|
|
|
+ <input type="hidden" name="UserId3" id="UserId3" value="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("start_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
|
|
|
+ <input type="hidden" name="StartDateTime3" id="StartDateTime3" value="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("stop_date_time"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
|
|
|
+ <input type="hidden" name="StopDateTime3" id="StopDateTime3" value="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
|
|
|
+ </div>
|
|
|
+<?php /* <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label>StartMethod</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartMethod'];?>">
|
|
|
+ <input type="hidden" name="StartMethod3" id="StartMethod3" value="<?php echo $obj['ChargingInfo3']['StartMethod'];?>">
|
|
|
+ </div>*/?>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("system_status"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus3;?>">
|
|
|
+ <input type="hidden" name="SystemStatus3" id="SystemStatus3" value="<?php echo $obj['ChargingInfo3']['SystemStatus'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("connector_temperature"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ConnectorTemp']!=255?$obj['ChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
|
|
|
+ <input type="hidden" name="ConnectorTemp3" id="ConnectorTemp3" value="<?php echo $obj['ChargingInfo3']['ConnectorTemp'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" id="ChillerTemp3">
|
|
|
+ <label>Chiller Temperature</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ChillerTemp']!=255?$obj['ChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="PresentChargingVoltage3" id="PresentChargingVoltage3" value="<?php echo $obj['ChargingInfo3']['PresentChargingVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_current"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingCurrent'],2);?> amp">
|
|
|
+ <input type="hidden" name="PresentChargingCurrent3" id="PresentChargingCurrent3" value="<?php echo $obj['ChargingInfo3']['PresentChargingCurrent'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_power"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingPower'],2);?> kW">
|
|
|
+ <input type="hidden" name="PresentChargingPower3" id="PresentChargingPower3" value="<?php echo $obj['ChargingInfo3']['PresentChargingPower'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_energy"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
|
|
|
+ <input type="hidden" name="PresentChargedEnergy3" id="PresentChargedEnergy3" value="<?php echo $obj['ChargingInfo3']['PresentChargedEnergy'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("present_charging_duration"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="PresentChargedDuration3" id="PresentChargedDuration3" value="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>Remain Charging Time</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['RemainChargingDuration'];?> seconds">
|
|
|
+ <input type="hidden" name="RemainChargingDuration3" id="RemainChargingDuration3" value="<?php echo $obj['ChargingInfo3']['RemainChargingDuration'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Max Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['EvBatteryMaxVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatteryMaxVoltage3" id="EvBatteryMaxVoltage3" value="<?php echo $obj['ChargingInfo3']['EvBatteryMaxVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Target Voltage</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['EvBatterytargetVoltage'],2);?> volt">
|
|
|
+ <input type="hidden" name="EvBatterytargetVoltage3" id="EvBatterytargetVoltage3" value="<?php echo $obj['ChargingInfo3']['EvBatterytargetVoltage'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am001;?>">
|
|
|
+ <label>EV Battery Soc</label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['EvBatterySoc'];?>">
|
|
|
+ <input type="hidden" name="EvBatterySoc3" id="EvBatterySoc3" value="<?php echo $obj['ChargingInfo3']['EvBatterySoc'];?>">
|
|
|
+ </div>
|
|
|
+ <div class="form-group" style="display:<?php echo $am111;?>">
|
|
|
+ <label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
|
|
|
+ <input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
|
|
|
+ </div>
|
|
|
+<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
+ <div class="form-group" style="display:block">
|
|
|
+ <label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
|
|
|
+ <span style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaGain" <?php echo $obj['ChargingInfo3']['isCalibratedVaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbGain" <?php echo $obj['ChargingInfo3']['isCalibratedVbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcGain" <?php echo $obj['ChargingInfo3']['isCalibratedVcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VaOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VbOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>VcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="VcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="VcOffset" <?php echo $obj['ChargingInfo3']['isCalibratedVcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaGain" <?php echo $obj['ChargingInfo3']['isCalibratedCaGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbGain" <?php echo $obj['ChargingInfo3']['isCalibratedCbGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcGain</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcGain" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcGain" <?php echo $obj['ChargingInfo3']['isCalibratedCcGain']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CaOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CaOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CaOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCaOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CbOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CbOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CbOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCbOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>CcOffset</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="CcOffset" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="CcOffset" <?php echo $obj['ChargingInfo3']['isCalibratedCcOffset']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span class="" style="display:block">
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pa</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pa" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pa" <?php echo $obj['ChargingInfo3']['isCalibratedPa']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pb</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pb" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pb" <?php echo $obj['ChargingInfo3']['isCalibratedPb']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label>Pc</label>
|
|
|
+ </span>
|
|
|
+ <span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
|
|
|
+ <label class="toggle-switchy" for="Pc" data-size="" data-style="rounded">
|
|
|
+ <input disabled type="checkbox" id="Pc" <?php echo $obj['ChargingInfo3']['isCalibratedPc']==1?"checked":"";?>>
|
|
|
+ <span class="toggle">
|
|
|
+ <span class="switch"></span>
|
|
|
+ </span>
|
|
|
+ </label>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+<?php } ?>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+<?php }?>
|
|
|
+<?php } ?>
|
|
|
+ <article class="envor-sorting-item css">
|
|
|
+ <div align="center"><button id="save"><?php echo $lang->showWord("set")?></button></div>
|
|
|
+ </article>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </div>
|
|
|
+
|
|
|
+<?php
|
|
|
+ include 'foot.php';
|
|
|
+?>
|
|
|
+
|
|
|
+<script type="text/JavaScript">
|
|
|
+ $(document).ready(function(){
|
|
|
+ if(document.getElementById("MaxChargingEnergy").value=="0" || document.getElementById("MaxChargingEnergy").value==""){
|
|
|
+ document.getElementById("MaxChargingEnergyText").style.display="block";
|
|
|
+ }
|
|
|
+ if(document.getElementById("MaxChargingPower").value=="0" || document.getElementById("MaxChargingPower").value==""){
|
|
|
+ document.getElementById("MaxChargingPowerText").style.display="block";
|
|
|
+ }
|
|
|
+ if(document.getElementById("MaxChargingCurrent").value=="0" || document.getElementById("MaxChargingCurrent").value==""){
|
|
|
+ document.getElementById("MaxChargingCurrentText").style.display="block";
|
|
|
+ }
|
|
|
+ if(document.getElementById("MaxChargingDuration").value=="0" || document.getElementById("MaxChargingDuration").value==""){
|
|
|
+ document.getElementById("MaxChargingDurationText").style.display="block";
|
|
|
+ }
|
|
|
+ if(document.getElementById("MaxChargingSoc").value=="0" || document.getElementById("MaxChargingSoc").value==""){
|
|
|
+ document.getElementById("MaxChargingSocText").style.display="block";
|
|
|
+ }
|
|
|
+ if(document.getElementById("ModelName").value.substr(8,1) != "0"){
|
|
|
+ document.getElementById("AcMaxChargingCurrentDiv").style.display="block";
|
|
|
+ if(document.getElementById("AcMaxChargingCurrent").value=="0" || document.getElementById("AcMaxChargingCurrent").value==""){
|
|
|
+ document.getElementById("AcMaxChargingCurrentText").style.display="block";
|
|
|
+ }
|
|
|
+ document.getElementById("MaxChargingEnergyLbl").innerHTML="DC MaxCharging Energy";
|
|
|
+ document.getElementById("MaxChargingPowerLbl").innerHTML="DC MaxCharging Power";
|
|
|
+ document.getElementById("MaxChargingCurrentLbl").innerHTML="DC MaxCharging Current";
|
|
|
+ document.getElementById("MaxChargingDurationLbl").innerHTML="DC MaxCharging Duration";
|
|
|
+ document.getElementById("MaxChargingSocLbl").innerHTML="DC MaxCharging Soc";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById("AcMaxChargingCurrentDiv").style.display="none";
|
|
|
+ }
|
|
|
+ isBilling_clicked();
|
|
|
+ document.getElementById("MaxChargingEnergy").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ document.getElementById("MaxChargingPower").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ document.getElementById("MaxChargingCurrent").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ document.getElementById("MaxChargingDuration").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ document.getElementById("MaxChargingSoc").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ document.getElementById("AcMaxChargingCurrent").addEventListener("change", function() {
|
|
|
+ if(document.getElementById(this.id).value == "0" || document.getElementById(this.id).value == ""){
|
|
|
+ document.getElementById(this.id+"Text").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById(this.id+"Text").style.display="none";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if(document.getElementById("ModelName").value.substr(7,1)!=0){
|
|
|
+ if(document.getElementById("ModelName").value.substr(7,1) == "V" || document.getElementById("ModelName").value.substr(7,1) == "F" || document.getElementById("ModelName").value.substr(7,1) == "P" || document.getElementById("ModelName").value.substr(7,1) == "R"){
|
|
|
+ document.getElementById("ChillerTemp1").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById("ChillerTemp1").style.display="none";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(document.getElementById("ModelName").value.substr(9,1)!=0){
|
|
|
+ if(document.getElementById("ModelName").value.substr(9,1) == "V" || document.getElementById("ModelName").value.substr(9,1) == "F" || document.getElementById("ModelName").value.substr(9,1) == "P" || document.getElementById("ModelName").value.substr(9,1) == "R"){
|
|
|
+ document.getElementById("ChillerTemp2").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById("ChillerTemp2").style.display="none";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(document.getElementById("ModelName").value.substr(8,1)!=0){
|
|
|
+ if(document.getElementById("ModelName").value.substr(8,1) == "V" || document.getElementById("ModelName").value.substr(8,1) == "F" || document.getElementById("ModelName").value.substr(8,1) == "P" || document.getElementById("ModelName").value.substr(8,1) == "R"){
|
|
|
+ document.getElementById("ChillerTemp3").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById("ChillerTemp3").style.display="none";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ document.getElementById("save").onclick = function() {
|
|
|
+ if(formCheck())
|
|
|
+ {
|
|
|
+ window.location="#loadinghref";
|
|
|
+ document.getElementById("loading").style.display="block";
|
|
|
+ // 發送 Ajax 查詢請求並處理
|
|
|
+ var request = new XMLHttpRequest();
|
|
|
+ request.open("POST", "set_charging_action.php");
|
|
|
+
|
|
|
+ // POST 參數須使用 send() 發送
|
|
|
+ var data = "MaxChargingEnergy=" + document.getElementById("MaxChargingEnergy").value +
|
|
|
+ "&MaxChargingPower=" + document.getElementById("MaxChargingPower").value +
|
|
|
+ "&MaxChargingCurrent=" + document.getElementById("MaxChargingCurrent").value+
|
|
|
+ "&AcMaxChargingCurrent=" + document.getElementById("AcMaxChargingCurrent").value+
|
|
|
+ "&MaxChargingDuration=" + document.getElementById("MaxChargingDuration").value+
|
|
|
+ "&MaxChargingSoc=" + document.getElementById("MaxChargingSoc").value+
|
|
|
+ "&StopChargingByButton=" + document.getElementById("StopChargingByButton").value+
|
|
|
+ "&FanControlPolicy=" + document.getElementById("FanControlPolicy").value+
|
|
|
+ "&LocalWhiteCard0=" + document.getElementById("LocalWhiteCard0").value+
|
|
|
+ "&LocalWhiteCard1=" + document.getElementById("LocalWhiteCard1").value+
|
|
|
+ "&LocalWhiteCard2=" + document.getElementById("LocalWhiteCard2").value+
|
|
|
+ "&LocalWhiteCard3=" + document.getElementById("LocalWhiteCard3").value+
|
|
|
+ "&LocalWhiteCard4=" + document.getElementById("LocalWhiteCard4").value+
|
|
|
+ "&LocalWhiteCard5=" + document.getElementById("LocalWhiteCard5").value+
|
|
|
+ "&LocalWhiteCard6=" + document.getElementById("LocalWhiteCard6").value+
|
|
|
+ "&LocalWhiteCard7=" + document.getElementById("LocalWhiteCard7").value+
|
|
|
+ "&LocalWhiteCard8=" + document.getElementById("LocalWhiteCard8").value+
|
|
|
+ "&LocalWhiteCard9=" + document.getElementById("LocalWhiteCard9").value+
|
|
|
+ "&isBilling=" + (document.getElementById("isBilling").checked?1:0)+
|
|
|
+ "&Currency=" + document.getElementById("Currency").value+
|
|
|
+ "&Fee0=" + document.getElementById("Fee0").value+
|
|
|
+ "&Fee1=" + document.getElementById("Fee1").value+
|
|
|
+ "&Fee2=" + document.getElementById("Fee2").value+
|
|
|
+ "&Fee3=" + document.getElementById("Fee3").value+
|
|
|
+ "&Fee4=" + document.getElementById("Fee4").value+
|
|
|
+ "&Fee5=" + document.getElementById("Fee5").value+
|
|
|
+ "&Fee6=" + document.getElementById("Fee6").value+
|
|
|
+ "&Fee7=" + document.getElementById("Fee7").value+
|
|
|
+ "&Fee8=" + document.getElementById("Fee8").value+
|
|
|
+ "&Fee9=" + document.getElementById("Fee9").value+
|
|
|
+ "&Fee10=" + document.getElementById("Fee10").value+
|
|
|
+ "&Fee11=" + document.getElementById("Fee11").value+
|
|
|
+ "&Fee12=" + document.getElementById("Fee12").value+
|
|
|
+ "&Fee13=" + document.getElementById("Fee13").value+
|
|
|
+ "&Fee14=" + document.getElementById("Fee14").value+
|
|
|
+ "&Fee15=" + document.getElementById("Fee15").value+
|
|
|
+ "&Fee16=" + document.getElementById("Fee16").value+
|
|
|
+ "&Fee17=" + document.getElementById("Fee17").value+
|
|
|
+ "&Fee18=" + document.getElementById("Fee18").value+
|
|
|
+ "&Fee19=" + document.getElementById("Fee19").value+
|
|
|
+ "&Fee20=" + document.getElementById("Fee20").value+
|
|
|
+ "&Fee21=" + document.getElementById("Fee21").value+
|
|
|
+ "&Fee22=" + document.getElementById("Fee22").value+
|
|
|
+ "&Fee23=" + document.getElementById("Fee23").value;
|
|
|
+
|
|
|
+ // POST 請求必須設置表頭在 open() 下面,send() 上面
|
|
|
+ request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
|
|
+ request.send(data);
|
|
|
+
|
|
|
+ request.onreadystatechange = function() {
|
|
|
+ // 伺服器請求完成
|
|
|
+ if (request.readyState == 4) {
|
|
|
+ document.getElementById("loading").style.display="none";
|
|
|
+ // 伺服器回應成功
|
|
|
+ if (request.status == 200 && JSON.parse(request.responseText).result=="Success") {
|
|
|
+ alert("<?php echo $lang->showWord("done")?>");
|
|
|
+ location.href="set_charging.php";
|
|
|
+ } else {
|
|
|
+ alert(JSON.parse(request.responseText).message);
|
|
|
+ }
|
|
|
+ request = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function formCheck()
|
|
|
+ {
|
|
|
+ var LocalWhiteCard0 = document.getElementById("LocalWhiteCard0").value;
|
|
|
+ var LocalWhiteCard1 = document.getElementById("LocalWhiteCard1").value;
|
|
|
+ var LocalWhiteCard2 = document.getElementById("LocalWhiteCard2").value;
|
|
|
+ var LocalWhiteCard3 = document.getElementById("LocalWhiteCard3").value;
|
|
|
+ var LocalWhiteCard4 = document.getElementById("LocalWhiteCard4").value;
|
|
|
+ var LocalWhiteCard5 = document.getElementById("LocalWhiteCard5").value;
|
|
|
+ var LocalWhiteCard6 = document.getElementById("LocalWhiteCard6").value;
|
|
|
+ var LocalWhiteCard7 = document.getElementById("LocalWhiteCard7").value;
|
|
|
+ var LocalWhiteCard8 = document.getElementById("LocalWhiteCard8").value;
|
|
|
+ var LocalWhiteCard9 = document.getElementById("LocalWhiteCard9").value;
|
|
|
+ var RatingCurrent = document.getElementById("RatingCurrent").value;
|
|
|
+ var RatingPower = document.getElementById("RatingPower").value;
|
|
|
+ var MaxChargingEnergy = document.getElementById("MaxChargingEnergy").value;
|
|
|
+ var MaxChargingPower = document.getElementById("MaxChargingPower").value;
|
|
|
+ var MaxChargingCurrent = document.getElementById("MaxChargingCurrent").value;
|
|
|
+ var AcMaxChargingCurrent = document.getElementById("AcMaxChargingCurrent").value;
|
|
|
+ var MaxChargingDuration = document.getElementById("MaxChargingDuration").value;
|
|
|
+ var MaxChargingSoc = document.getElementById("MaxChargingSoc").value;
|
|
|
+
|
|
|
+ if(LocalWhiteCard0 != ""){
|
|
|
+ if(LocalWhiteCard0.length>32){
|
|
|
+ alert("Local White Card0 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard0").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard1 != ""){
|
|
|
+ if(LocalWhiteCard1.length>32){
|
|
|
+ alert("Local White Card1 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard1").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard2 != ""){
|
|
|
+ if(LocalWhiteCard2.length>32){
|
|
|
+ alert("Local White Card2 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard2").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard3 != ""){
|
|
|
+ if(LocalWhiteCard3.length>32){
|
|
|
+ alert("Local White Card3 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard3").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard4 != ""){
|
|
|
+ if(LocalWhiteCard4.length>32){
|
|
|
+ alert("Local White Card4 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard4").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard5 != ""){
|
|
|
+ if(LocalWhiteCard5.length>32){
|
|
|
+ alert("Local White Card5 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard5").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard6 != ""){
|
|
|
+ if(LocalWhiteCard6.length>32){
|
|
|
+ alert("Local White Card6 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard6").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard7 != ""){
|
|
|
+ if(LocalWhiteCard7.length>32){
|
|
|
+ alert("Local White Card7 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard7").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard8 != ""){
|
|
|
+ if(LocalWhiteCard8.length>32){
|
|
|
+ alert("Local White Card8 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard8").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(LocalWhiteCard9 != ""){
|
|
|
+ if(LocalWhiteCard9.length>32){
|
|
|
+ alert("Local White Card9 must be less than 32 bytes!");
|
|
|
+ document.getElementById("LocalWhiteCard9").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(MaxChargingEnergy =="")
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Energy !");
|
|
|
+ document.getElementById("MaxChargingEnergy").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingEnergy >65535)
|
|
|
+ {
|
|
|
+ alert("Max Charging Energy must <= 65535!");
|
|
|
+ document.getElementById("MaxChargingEnergy").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingEnergy < 0)
|
|
|
+ {
|
|
|
+ alert("Max Charging Energy must >= 0!");
|
|
|
+ document.getElementById("MaxChargingEnergy").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingPower =="")
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Power !");
|
|
|
+ document.getElementById("MaxChargingPower").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(RatingPower!="" && RatingPower!=0){
|
|
|
+ if(parseFloat(MaxChargingPower) > parseFloat(RatingPower))
|
|
|
+ {
|
|
|
+ alert("Max Charging Power must be less than RatingPower("+RatingPower+")!");
|
|
|
+ document.getElementById("MaxChargingPower").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ if(MaxChargingPower >65535)
|
|
|
+ {
|
|
|
+ alert("Max Charging Power must <= 65535!");
|
|
|
+ document.getElementById("MaxChargingPower").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(MaxChargingCurrent =="")
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Current !");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(RatingCurrent!="" && RatingCurrent!=0){
|
|
|
+ if(parseFloat(MaxChargingCurrent) > parseFloat(RatingCurrent))
|
|
|
+ {
|
|
|
+ alert("Max Charging Current must be less than RatingCurrent("+RatingCurrent+")!");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ if(MaxChargingCurrent >65535)
|
|
|
+ {
|
|
|
+ alert("Max Charging Current must <= 65535!");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(document.getElementById("ModelName").value.substr(8,1)!= "0" && AcMaxChargingCurrent =="")
|
|
|
+ {
|
|
|
+ alert("Fill AC Max Charging Current !");
|
|
|
+ document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(AcRatingCurrent!="" && AcRatingCurrent!=0){
|
|
|
+ if(parseFloat(AcMaxChargingCurrent) > parseFloat(AcRatingCurrent))
|
|
|
+ {
|
|
|
+ alert("Ac Max Charging Current must be less than Ac Rating Current("+AcRatingCurrent+")!");
|
|
|
+ document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ if(AcMaxChargingCurrent >65535)
|
|
|
+ {
|
|
|
+ alert("Ac Max Charging Current must <= 65535!");
|
|
|
+ document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(AcMaxChargingCurrent < 0)
|
|
|
+ {
|
|
|
+ alert("Ac Max Charging Current must >= 0!");
|
|
|
+ document.getElementById("AcMaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(MaxChargingCurrent =="")
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Current !");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingCurrent < 0)
|
|
|
+ {
|
|
|
+ alert("MaxChargingCurrent must >= 0!");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingDuration >65535)
|
|
|
+ {
|
|
|
+ alert("MaxChargingDuration must <= 65535!");
|
|
|
+ document.getElementById("MaxChargingDuration").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingDuration =="")
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Duration !");
|
|
|
+ document.getElementById("MaxChargingDuration").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(MaxChargingDuration < 0)
|
|
|
+ {
|
|
|
+ alert("MaxChargingDuration must >= 0!");
|
|
|
+ document.getElementById("MaxChargingDuration").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc > 100))
|
|
|
+ {
|
|
|
+ alert("MaxChargingSoc must <= 100!");
|
|
|
+ document.getElementById("MaxChargingSoc").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc == ""))
|
|
|
+ {
|
|
|
+ alert("Fill Max Charging Soc !");
|
|
|
+ document.getElementById("MaxChargingSoc").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if((document.getElementById("ModelName").value.substr(0,1)=="D") && (MaxChargingSoc < 0))
|
|
|
+ {
|
|
|
+ alert("MaxChargingSoc must >= 0!");
|
|
|
+ document.getElementById("MaxChargingSoc").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ if(document.getElementById("ModelName").value.substr(0,1)=="A" && MaxChargingCurrent < 6 && MaxChargingCurrent !=0)
|
|
|
+ {
|
|
|
+ alert("MaxChargingCurrent must > 6!");
|
|
|
+ document.getElementById("MaxChargingCurrent").focus();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ function isBilling_clicked(){
|
|
|
+ if(document.getElementById("isBilling").checked){
|
|
|
+ document.getElementById("CurrencyDiv").style.display="block";
|
|
|
+ document.getElementById("FeeDiv").style.display="block";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ document.getElementById("CurrencyDiv").style.display="none";
|
|
|
+ document.getElementById("FeeDiv").style.display="none";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function isNumberKey(evt)
|
|
|
+ {
|
|
|
+ var charCode = (evt.which) ? evt.which : event.keyCode
|
|
|
+
|
|
|
+ if (charCode > 31 && (charCode < 48 || charCode > 57) && (charCode != 46))
|
|
|
+ return false;
|
|
|
+
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+</html>
|