monmon 5 gadi atpakaļ
vecāks
revīzija
3bda588a67

+ 7 - 1
api/v1/ShiftPumpReport/shiftPumpData.php

@@ -5,8 +5,14 @@ if (isset($_POST['find'])) {
 $date = $_POST['selectDateToFind'];
 $date = str_replace('-', '_', $date);
 $shiftnum = $_POST['shiftNumber'];
+
+if ($_POST['fuelGrade']=='ALL') {
+$customers = $db->query("SELECT * FROM shift_pump_vw WHERE date='$date' AND number='$shiftnum' ");
+}else {
 $fuelgrade = $_POST['fuelGrade'];
-$customers = $db->query("SELECT * FROM shift_pump_vw WHERE date='$date' AND number='$shiftnum' AND grade_name='$fuelgrade' ");
+$customers = $db->query("SELECT * FROM shift_pump_vw WHERE date='$date' AND number='$shiftnum' AND product_text='$fuelgrade' ");
+}
+
 
 $json_data=[];
 

+ 388 - 0
api/v1/ShiftPumpReport/shiftPumpData.txt

@@ -1,6 +1,394 @@
 {
     "data": [
         {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 1,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 181902534,
+            "Close_Volume": 182293666,
+            "Price": 1015,
+            "Sale_Total": 391132,
+            "Money_Total": 396998980
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 2,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 100001805,
+            "Close_Volume": 100224363,
+            "Price": 1015,
+            "Sale_Total": 222558,
+            "Money_Total": 225896370
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 3,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 88012863,
+            "Close_Volume": 88299564,
+            "Price": 1015,
+            "Sale_Total": 286701,
+            "Money_Total": 291001515
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 4,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 89330613,
+            "Close_Volume": 89551793,
+            "Price": 1015,
+            "Sale_Total": 221180,
+            "Money_Total": 224497700
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 5,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 23136112,
+            "Close_Volume": 23213443,
+            "Price": 1015,
+            "Sale_Total": 77331,
+            "Money_Total": 78490965
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 5,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 80934937,
+            "Close_Volume": 81275984,
+            "Price": 965,
+            "Sale_Total": 341047,
+            "Money_Total": 329110355
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 6,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 17548584,
+            "Close_Volume": 17662866,
+            "Price": 1015,
+            "Sale_Total": 114282,
+            "Money_Total": 115996230
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 6,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 33299813,
+            "Close_Volume": 33473810,
+            "Price": 965,
+            "Sale_Total": 173997,
+            "Money_Total": 167907105
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 7,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 2771300,
+            "Close_Volume": 2771300,
+            "Price": 1015,
+            "Sale_Total": 0,
+            "Money_Total": 0
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 8,
+            "Grade_Name": "Diesel      ",
+            "Open_Volume": 18572480,
+            "Close_Volume": 18576421,
+            "Price": 1015,
+            "Sale_Total": 3941,
+            "Money_Total": 4000115
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 9,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 158012711,
+            "Close_Volume": 158625427,
+            "Price": 1030,
+            "Sale_Total": 612716,
+            "Money_Total": 631097480
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 10,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 172867884,
+            "Close_Volume": 173603227,
+            "Price": 1030,
+            "Sale_Total": 735343,
+            "Money_Total": 757403290
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 11,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 110306130,
+            "Close_Volume": 110770697,
+            "Price": 1030,
+            "Sale_Total": 464567,
+            "Money_Total": 478504010
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 12,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 83326754,
+            "Close_Volume": 83545197,
+            "Price": 1030,
+            "Sale_Total": 218443,
+            "Money_Total": 224996290
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 13,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 43800379,
+            "Close_Volume": 44406682,
+            "Price": 1030,
+            "Sale_Total": 606303,
+            "Money_Total": 624492090
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 13,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 24010177,
+            "Close_Volume": 24124454,
+            "Price": 1015,
+            "Sale_Total": 114277,
+            "Money_Total": 115991155
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 14,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 16281195,
+            "Close_Volume": 16457891,
+            "Price": 1030,
+            "Sale_Total": 176696,
+            "Money_Total": 181996880
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 14,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 12632012,
+            "Close_Volume": 12686192,
+            "Price": 1015,
+            "Sale_Total": 54180,
+            "Money_Total": 54992700
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 15,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 20937362,
+            "Close_Volume": 21003871,
+            "Price": 1030,
+            "Sale_Total": 66509,
+            "Money_Total": 68504270
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 16,
+            "Grade_Name": "P\/Diesel    ",
+            "Open_Volume": 26933812,
+            "Close_Volume": 27714389,
+            "Price": 1030,
+            "Sale_Total": 780577,
+            "Money_Total": 803994310
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 17,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 262320548,
+            "Close_Volume": 263195496,
+            "Price": 965,
+            "Sale_Total": 874948,
+            "Money_Total": 844324820
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 18,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 34781331,
+            "Close_Volume": 34878631,
+            "Price": 965,
+            "Sale_Total": 97300,
+            "Money_Total": 93894500
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 19,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 255717734,
+            "Close_Volume": 256321336,
+            "Price": 965,
+            "Sale_Total": 603602,
+            "Money_Total": 582475930
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 20,
+            "Grade_Name": "92 RON      ",
+            "Open_Volume": 22522636,
+            "Close_Volume": 22571381,
+            "Price": 965,
+            "Sale_Total": 48745,
+            "Money_Total": 47038925
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 21,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 63823245,
+            "Close_Volume": 63989680,
+            "Price": 1015,
+            "Sale_Total": 166435,
+            "Money_Total": 168931525
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 22,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 4307090,
+            "Close_Volume": 4307090,
+            "Price": 1015,
+            "Sale_Total": 0,
+            "Money_Total": 0
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 23,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 54193908,
+            "Close_Volume": 54322455,
+            "Price": 1015,
+            "Sale_Total": 128547,
+            "Money_Total": 130475205
+        },
+        {
+            "Shift_Id": 602,
+            "Date": "2019_05_15",
+            "Number": 1,
+            "Open_Date": "2019-May-15 12:36:56 AM",
+            "Close_Date": "2019-May-15 12:34:16 PM",
+            "Fp_Id": 24,
+            "Grade_Name": "95 RON      ",
+            "Open_Volume": 3524528,
+            "Close_Volume": 3524528,
+            "Price": 1015,
             "Shift_Id": 589,
             "Date": "2019_05_08",
             "Number": 2,

+ 30 - 11
api/v1/ShiftPumpReport/shiftPumpView.php

@@ -1,18 +1,18 @@
-<table id="example" class="table display table-striped table-bordered table-hover table-sm" cellspacing="0" width="100%">
+<table id="example" class="table display table-striped table-bordered table-hover table-sm compact" cellspacing="0" width="100%">
         <thead>
          <tr>
              <th>Pump Number</th>
              <th>Fuel Grade</th>
              <th>Shift Opening Date</th>
+             <th>Shift Closing Date</th>
              <th>Pump Opening Volume</th>
-             <th>Shift Closing</th>
              <th>Pump Closing Volume</th>
              <th>Sale Volume (Closing Volume - Opening Volume)</th>
              <th>Unit Price</th>
              <th>Money (Sale Volume x Unit Price)</th>
          </tr>
         </thead>
-        <tfoot>
+<!--         <tfoot>
             <tr>
                 <th>Pump Number</th>
                 <th>Fuel Grade</th>
@@ -24,19 +24,38 @@
                 <th>Unit Price</th>
                 <th>Money (Sale Volume x Unit Price)</th>
             </tr>
-        </tfoot>
+        </tfoot> -->
     </table>
 <script type="text/javascript">
 $(document).ready(function() {
     var table = $('#example').DataTable( {
+        "processing": true, // for show progress bar
+        "serverSide": false, // for process server side
+        //"bFilter": false,
+        //"bInfo": false,
+        "responsive": true,
+        "pagingType": "full", // "simple" option for 'Previous' and 'Next' buttons only
         "ajax": "api/v1/ShiftPumpReport/shiftPumpData.txt",
-         "dom": 'Bfrtip',
+        "dom": 'Bfrtip',
+        // "dom": '<"top"i>rt<"bottom"lp><"clear">',
+        // "scrollY": "500px",
         "buttons": [
-            'copy',
-            'csv',
-            'excel',
-            'pdf',
-            'print',
+            // 'copy',
+            // 'csv',
+            // 'excel',
+            // 'pdf',
+            // 'print',
+            // { "extend": 'copy', "text":'PDF',"className": 'btn btn-primary' },
+            // { "extend": 'csv', "text":'PDF',"className": 'btn btn-primary' },
+            // { "extend": 'excel', "text":'PDF',"className": 'btn btn-primary' },
+            // { "extend": 'pdf', "text":'PDF',"className": 'btn btn-primary' },
+            { "extend": 'print', "text":'Print',"className": 'btn btn-primary' }
+            // {
+            //     text: 'My button',
+            //     action: function ( e, dt, node, config ) {
+            //         alert( 'Button activated' );
+            //     }
+            // },
             // {
             //     extend: 'print',
             //     text: 'Print all (not just selected)',
@@ -52,8 +71,8 @@ $(document).ready(function() {
             { "data": "Fp_Id" },
             { "data": "Grade_Name" },
             { "data": "Open_Date"},
-            { "data": "Open_Volume" },
             { "data": "Close_Date" },
+            { "data": "Open_Volume" },
             { "data": "Close_Volume" },
             { "data": "Sale_Total" },
             { "data": "Price" },

+ 6 - 1
api/v1/ShiftSaleReport/shiftSaleData.php

@@ -5,8 +5,13 @@ if (isset($_POST['find'])) {
 $date = $_POST['selectDateToFind'];
 $date = str_replace('-', '_', $date);
 $shiftnum = $_POST['shiftNumber'];
+
+if ($_POST['fuelGrade']=='ALL') {
+$customers = $db->query("SELECT * FROM shift_sale_vw WHERE date='$date' AND number='$shiftnum' ");
+}else {
 $fuelgrade = $_POST['fuelGrade'];
-$customers = $db->query("SELECT * FROM shift_sale_vw WHERE date='$date' AND number='$shiftnum' AND grade_name='$fuelgrade' ");
+$customers = $db->query("SELECT * FROM shift_sale_vw WHERE date='$date' AND number='$shiftnum' AND product_text='$fuelgrade' ");
+}
 
 $json_data=[];
 

+ 2 - 2
css/style.css

@@ -125,7 +125,7 @@ hr {
     display: none;
   }
 }
-/*@media (min-width: 1200px) {
+@media (min-width: 1200px) {
   .wrapper {
     position: relative;
     width: 1170px;
@@ -151,7 +151,7 @@ hr {
     overflow-y: hidden;
     overflow-x: hidden;
   }
-}*/
+}
 @media (max-width: 1199px) {
   .container-fluid {
     padding: 0;

BIN
db/f.db


+ 2 - 0
dist/css/style.css

@@ -164,8 +164,10 @@ a.collapse-item {
 li.treeview a{
   text-decoration: none;
 }
+
 li.active.treeview.menu-open>a {
     color: white;
+
 }
 .treeview{
   font-weight:bold;

+ 27 - 2
header.php

@@ -47,6 +47,7 @@ return $str;
 <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
 <link rel="stylesheet" href="dist/css/style.css">
 
+
 <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> -->
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
@@ -90,7 +91,7 @@ return $str;
 
 </script>
 
-      <link rel="stylesheet" href="css/style.css">
+      <!-- <link rel="stylesheet" href="css/style.css"> -->
 
       <style type="text/css">
 	td.details-control {
@@ -102,6 +103,9 @@ tr.shown td.details-control {
 }
 </style>
 <style type="text/css">
+  #example {
+    padding: 10px;
+  }
 	#example tbody tr:hover {
        background-color: cadetblue;
        cursor: pointer;
@@ -112,8 +116,16 @@ tr.shown td.details-control {
        cursor: pointer;
    }
    #example th {
-   	background-color: #009688;
+   	background-color: #3C8DBC;
+    color: white;
+    font-size: 12px;
+   }
+   #example td {
+    font-size: 12px;
    }
+   #vehicle {
+    padding: 10px;
+  }
    #vehicle tbody tr:hover {
        background-color: cadetblue;
        cursor: pointer;
@@ -126,6 +138,12 @@ tr.shown td.details-control {
    #vehicle th {
    	background-color: #009688;
    }
+   #vehicle td {
+    font-size: 12px;
+   }
+   #suplier {
+    padding: 10px;
+  }
    #supplier tbody tr:hover {
        background-color: cadetblue;
        cursor: pointer;
@@ -138,6 +156,13 @@ tr.shown td.details-control {
    #supplier th {
    	background-color: #009688;
    }
+   #supplier td {
+    font-size: 12px;
+   }
+   div.dt-buttons {
+    float: right;
+    margin:0 10px 0 10px;
+   }
 </style>
 <style>
 iframe {

+ 26 - 1
index.php

@@ -1,4 +1,3 @@
-<?php 
 session_start();
 ?>
 <!DOCTYPE html>
@@ -197,3 +196,29 @@ session_start();
     </script>
   </body>
 </html>
+<?php include "header.php" ?>
+
+<body class="hold-transition skin-blue sidebar-mini">
+  <div>
+  	<?php include("nav.php"); ?>
+	<div class="content-wrapper navbar navbar-static-top">
+		<br>
+	  <iframe  src="home.php" id="loadFrame"></iframe>
+
+</div>
+
+</div>
+<script type="text/javascript">
+	function changePages(fileLocation) {
+
+		document.getElementById('loadFrame').src = fileLocation;
+	} 	
+	
+var selector='.sidebar-menu li';
+	$(selector).on('click', function(){
+		// alert(selector);
+    $(selector).removeClass('active');
+    $(this).addClass('active');
+});
+</script>
+</body>

+ 308 - 0
ini/logs/log.txt

@@ -2701,3 +2701,311 @@ Forward Station System (FSS) Server started endpoints at : 9999
 products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
 tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
 Fps after connect: [{1 1  4  [] false } {2 1  0  [] false } {3 1  0  [] false } {4 1  0  [] false } {5 1  0  [] false } {6 1  0  [] false } {7 1  4  [] false } {8 1  0  [] false }]
+2019/06/18 14:08:13 : [ERROR] :FpErrorMsg_req : Result : 
+2019/06/18 14:08:13 : [ERROR] :192.168.1.133:37536<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpErrorMsg_req : read tcp 192.168.1.133:37536->192.168.1.100:5001: i/o timeout
+2019/06/18 14:08:14 : [ERROR] :FpErrorMsg_req : Result : 
+2019/06/18 14:08:14 : [ERROR] :192.168.1.133:37536<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpErrorMsg_req : read tcp 192.168.1.133:37536->192.168.1.100:5001: i/o timeout
+2019/06/18 14:08:15 : [ERROR] :FpErrorMsg_req : Result : 
+2019/06/18 14:08:15 : [ERROR] :192.168.1.133:37536<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpErrorMsg_req : read tcp 192.168.1.133:37536->192.168.1.100:5001: i/o timeout
+2019/06/18 14:08:17 : [ERROR] :FpErrorMsg_req : Result : 01 30 30 30 30 30 30 30 30 30 30 02 03
+2019/06/18 14:08:17 : [ERROR] :192.168.1.133:37536<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpErrorMsg_req : read tcp 192.168.1.133:37536->192.168.1.100:5001: i/o timeout
+2019/06/18 14:46:50 : [ERROR] :Listening error:read tcp 192.168.1.133:49444->192.168.1.100:5002: i/o timeout
+2019/06/18 14:46:51 : [ERROR] :AllFpStatus : Result : 
+2019/06/18 14:46:51 : [ERROR] :192.168.1.133:37536<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : AllFpStatus : read tcp 192.168.1.133:37536->192.168.1.100:5001: i/o timeout
+2019/06/18 14:46:51 : [ERROR] :Close channel
+2019/06/18 14:46:51 : [ERROR] :Close heartbeat
+2019/06/18 14:46:51 : [ERROR] :Connection closed
+2019/06/18 14:46:51 : [ERROR] :Close heartbeat
+products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
+tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
+Fps after connect: [{1 1  4  [] false } {2 1  0  [] false } {3 1  0  [] false } {4 1  0  [] false } {5 1  0  [] false } {6 1  0  [] false } {7 1  4  [] false } {8 1  0  [] false }]
+2019/06/18 14:49:07 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 14:49:07 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 14:51:37 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 14:51:37 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:24 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:24 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:25 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:25 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:26 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:26 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:27 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:27 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:28 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:28 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:29 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:29 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:48 : [ERROR] :AllFpStatus : Result : 01 30 30 30 30 39 35 30 30 30 35 02 30 31 39 36 30 31 30 33 30 30 03 01 30 30 30 30 39 32 30 30 30 35 02 30 31 39 36 30 31 30 34 30 30 03 01 30 30 30 30 39 33 30 30 30 35 02 30 31 39 36 30 31 30 35 30 30 03 01 30 30 30 30 39 30 30 30 30 35 02 30 31 39 36 30 31 30 36 30 30 03 01 30 30 30 30 30 30 30 30 30 30 02 03 01 30 30 30 30 39 31 30 30 30 35 02 30 31 39 36 30 31 30 37 30 30 03 01 30 30 30 30 39 3e 30 30 30 35 02 30 31 39 36 30 31 30 38 30 30 03
+2019/06/18 15:23:48 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : AllFpStatus : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:54 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:54 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:56 : [ERROR] :FpSupTransBufStatus1_req : Result : 01 30 30 30 30 30 30 30 30 30 30 02 03
+2019/06/18 15:23:56 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:57 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:57 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:58 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:58 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:23:59 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:23:59 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:00 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:00 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:01 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:01 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:02 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:02 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:10 : [ERROR] :Listening error:read tcp 192.168.1.133:55234->192.168.1.100:5002: i/o timeout
+2019/06/18 15:24:15 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:15 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:16 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:16 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:17 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:17 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:18 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:18 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:19 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:19 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:20 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:20 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:21 : [ERROR] :FpSupTransBufStatus1_req : Result : 
+2019/06/18 15:24:21 : [ERROR] :192.168.1.133:43326<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : FpSupTransBufStatus1_req : read tcp 192.168.1.133:43326->192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:21 : [ERROR] :Close channel
+2019/06/18 15:24:21 : [ERROR] :Connection closed
+2019/06/18 15:24:21 : [ERROR] :Close heartbeat
+2019/06/18 15:24:21 : [ERROR] :Close heartbeat
+2019/06/18 15:24:37 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:43 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:49 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:24:49 : [ERROR] :Connection failed.
+2019/06/18 15:25:05 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:25:11 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:25:17 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:25:17 : [ERROR] :Connection failed.
+2019/06/18 15:25:33 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:25:37 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:25:40 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:25:40 : [ERROR] :Connection failed.
+2019/06/18 15:25:55 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:25:58 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:01 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:01 : [ERROR] :Connection failed.
+2019/06/18 15:26:15 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:18 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:21 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:21 : [ERROR] :Connection failed.
+2019/06/18 15:26:35 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:38 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:41 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:41 : [ERROR] :Connection failed.
+2019/06/18 15:26:55 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:26:58 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:27:04 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:27:04 : [ERROR] :Connection failed.
+2019/06/18 15:27:20 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:27:26 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:27:32 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:27:32 : [ERROR] :Connection failed.
+2019/06/18 15:27:48 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:27:54 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:00 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:00 : [ERROR] :Connection failed.
+2019/06/18 15:28:16 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:22 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:28 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:28 : [ERROR] :Connection failed.
+2019/06/18 15:28:44 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:50 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:56 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:28:56 : [ERROR] :Connection failed.
+2019/06/18 15:29:12 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:18 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:24 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:24 : [ERROR] :Connection failed.
+2019/06/18 15:29:40 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:46 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:52 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:29:52 : [ERROR] :Connection failed.
+2019/06/18 15:30:08 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:30:14 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:30:15 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:15 : [ERROR] :Connection failed.
+2019/06/18 15:30:29 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:33 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:36 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:36 : [ERROR] :Connection failed.
+2019/06/18 15:30:50 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:53 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:56 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:30:56 : [ERROR] :Connection failed.
+2019/06/18 15:31:10 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:31:13 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:31:16 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:31:16 : [ERROR] :Connection failed.
+2019/06/18 15:31:32 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:31:38 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:31:44 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:31:44 : [ERROR] :Connection failed.
+2019/06/18 15:32:00 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:32:06 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:32:12 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:32:12 : [ERROR] :Connection failed.
+2019/06/18 15:32:26 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:32:32 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:32:38 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:32:38 : [ERROR] :Connection failed.
+2019/06/18 15:32:54 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:00 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:06 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:06 : [ERROR] :Connection failed.
+2019/06/18 15:33:22 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:28 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:34 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:34 : [ERROR] :Connection failed.
+2019/06/18 15:33:50 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:33:56 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:34:02 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:34:02 : [ERROR] :Connection failed.
+2019/06/18 15:34:16 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:34:19 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:34:22 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:34:22 : [ERROR] :Connection failed.
+2019/06/18 15:34:35 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:34:41 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:34:47 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:34:47 : [ERROR] :Connection failed.
+2019/06/18 15:35:03 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:35:09 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:35:15 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:35:15 : [ERROR] :Connection failed.
+2019/06/18 15:35:31 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:35:37 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:35:38 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:35:38 : [ERROR] :Connection failed.
+2019/06/18 15:35:52 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:35:55 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:35:58 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:35:58 : [ERROR] :Connection failed.
+2019/06/18 15:36:12 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:36:15 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:36:19 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:36:19 : [ERROR] :Connection failed.
+2019/06/18 15:36:35 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:36:41 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:36:47 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:36:47 : [ERROR] :Connection failed.
+2019/06/18 15:37:03 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:37:09 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:37:15 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:37:15 : [ERROR] :Connection failed.
+2019/06/18 15:37:29 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:37:32 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:37:35 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:37:35 : [ERROR] :Connection failed.
+2019/06/18 15:37:48 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:37:51 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:37:57 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:37:57 : [ERROR] :Connection failed.
+2019/06/18 15:38:13 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:19 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:25 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:25 : [ERROR] :Connection failed.
+2019/06/18 15:38:41 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:47 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:53 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:38:53 : [ERROR] :Connection failed.
+2019/06/18 15:39:09 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:39:15 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:39:17 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:39:17 : [ERROR] :Connection failed.
+2019/06/18 15:39:31 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:39:34 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:39:40 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:39:40 : [ERROR] :Connection failed.
+2019/06/18 15:39:56 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:02 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:08 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:08 : [ERROR] :Connection failed.
+2019/06/18 15:40:24 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:30 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:36 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:36 : [ERROR] :Connection failed.
+2019/06/18 15:40:52 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:58 : [ERROR] :dial tcp 192.168.1.100:5001: i/o timeout
+2019/06/18 15:40:59 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:40:59 : [ERROR] :Connection failed.
+2019/06/18 15:41:13 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:41:16 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:41:19 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:41:19 : [ERROR] :Connection failed.
+2019/06/18 15:41:33 : [ERROR] :dial tcp 192.168.1.100:5001: connect: no route to host
+2019/06/18 15:41:37 : [ERROR] :dial tcp 192.168.1.100:5001: connect: connection refused
+2019/06/18 15:41:38 : [ERROR] :dial tcp 192.168.1.100:5001: connect: connection refused
+2019/06/18 15:41:38 : [ERROR] :Connection failed.
+2019/06/18 15:41:49 : [ERROR] :dial tcp 192.168.1.100:5001: connect: connection refused
+2019/06/18 15:41:50 : [ERROR] :dial tcp 192.168.1.100:5001: connect: connection refused
+2019/06/18 15:41:51 : [ERROR] :dial tcp 192.168.1.100:5001: connect: connection refused
+2019/06/18 15:41:51 : [ERROR] :Connection failed.
+products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
+tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
+Fps after connect: [{1 1  4  [] false } {2 1  0  [] false } {3 1  0  [] false } {4 1  0  [] false } {5 1  0  [] false } {6 1  0  [] false } {7 1  4  [] false } {8 1  0  [] false }]
+2019/06/18 16:16:12 : [ERROR] :Listening error:read tcp 192.168.1.133:56222->192.168.1.100:5002: i/o timeout
+2019/06/18 16:16:16 : [ERROR] :AllFpStatus : Result : 
+2019/06/18 16:16:16 : [ERROR] :192.168.1.133:44314<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : AllFpStatus : read tcp 192.168.1.133:44314->192.168.1.100:5001: i/o timeout
+2019/06/18 16:16:16 : [ERROR] :Close channel
+2019/06/18 16:16:16 : [ERROR] :Close heartbeat
+2019/06/18 16:16:16 : [ERROR] :Connection closed
+2019/06/18 16:16:16 : [ERROR] :Close heartbeat
+2019/06/18 16:16:27 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:28 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:29 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:29 : [ERROR] :Connection failed.
+2019/06/18 16:16:40 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:41 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:42 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:42 : [ERROR] :Connection failed.
+2019/06/18 16:16:53 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:54 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:55 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:16:55 : [ERROR] :Connection failed.
+2019/06/18 16:17:06 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:07 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:08 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:08 : [ERROR] :Connection failed.
+2019/06/18 16:17:19 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:20 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:21 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:21 : [ERROR] :Connection failed.
+2019/06/18 16:17:32 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:33 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:34 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:34 : [ERROR] :Connection failed.
+2019/06/18 16:17:45 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:46 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:47 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:47 : [ERROR] :Connection failed.
+2019/06/18 16:17:58 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:17:59 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:18:00 : [ERROR] :dial tcp 192.168.1.100:5001: connect: network is unreachable
+2019/06/18 16:18:00 : [ERROR] :Connection failed.
+products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
+tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
+Fps after connect: [{1 1  4  [] false } {2 1  0  [] false } {3 1  0  [] false } {4 1  0  [] false } {5 1  0  [] false } {6 1  0  [] false } {7 1  4  [] false } {8 1  0  [] false }]
+2019/06/18 16:33:14 : [ERROR] :AllFpStatus : Result : 01 30 30 30 30 30 30 30 30 30 30 02 03
+2019/06/18 16:33:14 : [ERROR] :192.168.1.133:44348<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : AllFpStatus : read tcp 192.168.1.133:44348->192.168.1.100:5001: i/o timeout
+2019/06/18 16:33:18 : [ERROR] :Listening error:read tcp 192.168.1.133:56256->192.168.1.100:5002: i/o timeout
+2019/06/18 16:33:18 : [ERROR] :Close channel
+2019/06/18 16:33:18 : [ERROR] :Connection closed
+2019/06/18 16:33:18 : [ERROR] :Close heartbeat
+2019/06/18 16:33:18 : [ERROR] :Close heartbeat
+products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
+tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
+Fps after connect: [{1 2  86  [] false } {2 2  82  [] false } {3 2  82  [] false } {4 2  82  [] false } {5 2  82  [] false } {6 2  82  [] false } {7 2  86  [] false } {8 2  82  [] false }]
+2019/06/18 16:37:13 : [ERROR] :Listening error:read tcp 192.168.1.133:56278->192.168.1.100:5002: i/o timeout
+2019/06/18 16:37:15 : [ERROR] :AllFpStatus : Result : 
+2019/06/18 16:37:15 : [ERROR] :192.168.1.133:44370<-192.168.1.100:5001 : RECEIVED by POS_SOL_9 : AllFpStatus : read tcp 192.168.1.133:44370->192.168.1.100:5001: i/o timeout
+2019/06/18 16:37:15 : [ERROR] :Close channel
+2019/06/18 16:37:15 : [ERROR] :Close heartbeat
+2019/06/18 16:37:15 : [ERROR] :Connection closed
+2019/06/18 16:37:15 : [ERROR] :Close heartbeat
+products: map[1:{1 Diesel 000000} 2:{2 P Diesel 000000} 3:{3 92 RON 000000} 4:{4 95 RON 000000} 5:{5 MS 000000} 6:{6 97 RON 000000}]
+tanks: map[1:{1 1 1} 2:{2 2 2} 3:{3 3 3} 4:{4 4 4} 5:{5 5 5} 7:{7 6 7}]
+Fps after connect: [{1 1  4  [] false } {2 1  0  [] false } {3 1  0  [] false } {4 1  0  [] false } {5 1  0  [] false } {6 1  0  [] false } {7 1  4  [] false } {8 1  0  [] false }]

+ 11 - 3
shiftPumpReport.php

@@ -5,15 +5,23 @@
 		<option value="1" selected="true">1</option>
 		<option value="2">2</option>
 		<option value="3">3</option>
+
+<form method="post" style="padding: 10px;">
+	<input type="date" name="selectDateToFind" class="btn btn-default">
+	<select name="shiftNumber" style="width: 50px;" class="btn btn-default">
+		<option value="1" selected="true">1 &nbsp;</option>
+		<option value="2">2 </option>
+		<option value="3">3 </option>
 	</select>
 
-	<select name="fuelGrade">
-		<option value="92 RON      " selected="true">92 RON</option>
+	<select name="fuelGrade" class="btn btn-default">
+		<option value="ALL" selected="true">All</option>
+		<option value="92 RON      ">92 RON</option>
 		<option value="95 RON      ">95 RON</option>
 		<option value="Diesel      ">Diesel</option>
 		<option value="P/Diesel    ">P/Diesel</option>
 	</select>
-	<input type="submit" name="find" value="Find">
+	<input type="submit" name="find" value="Find" class="btn btn-primary">
 </form>
 <?php include "api/v1/ShiftPumpReport/shiftPumpData.php" ?>
 <?php include "api/v1/ShiftPumpReport/shiftPumpView.php" ?>

+ 2 - 1
shiftSaleReport.php

@@ -8,7 +8,8 @@
 	</select>
 
 	<select name="fuelGrade">
-		<option value="92 RON      " selected="true">92 RON</option>
+		<option value="ALL" selected="true">All</option>
+		<option value="92 RON      ">92 RON</option>
 		<option value="95 RON      ">95 RON</option>
 		<option value="Diesel      ">Diesel</option>
 		<option value="P/Diesel    ">P/Diesel</option>