• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Dashboard offline

    User help
    2
    3
    126
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tungthanh500 last edited by

      Hi, I was helping my brother on his work. His work is to display the status of equipment (with Modbus TCP connection) on a PC's screen. However, we face a problem as below step:
      Step 1: At login page, it keeps showing "You are offline, check your connectivity" even in the dashboard or login page.
      PXL_20220830_151011_lmc_8.4.jpg
      Step 2: When we logged in, there is a notification that "Mango API connection has been restored". Everything on dashboard is OK, we can check the status of equipment.
      Step 3: for some reason, if I press Refresh button of browser or F5, the dashboard gone information-less. No more any data from equipment anymore! Only text or table.
      a2ef894e-8e78-431f-997a-034f290d789e-image.png
      In above photo:
      a) the CB Name column is filled with CB's name with (we use {{point_xid.name}} and it can be shown.
      b) Status column is not correct: it is in no info status, no matter the actual CB is on or off. It always show ON on green background.
      c) Current columns: totally blank.
      I also find no Point value shown in Data Source windows
      8f307bc5-913c-4fae-acfb-b7cd82271cbe-image.png
      Step 4: I can get around this by closing the browser and login again but it is kind of flaw and the problem still come back after 5-6 minutes!

      I read another post about this (https://forum.mango-os.com/topic/4843/dashboard-losing-connectivity) but find no suitable solution for me (my skill is quite amateur!!!). Please give me some idea to get around this :|

      <div class="ma-designer-root" id="cb-status" style="width: 800px; height: 600px; position: relative;">
          <!-- Navbar-->
          <div>
          	<div class="topnav">
          		<div class="topnav-left">
          			<a class="logo"><img src="/rest/latest/file-stores/public/logo.png" alt="" class="img-responsive"></a>
          			<a class="active" href="/ui/status"><b>CB Status</b></a> 
          			<a href="/ui/setting"><b>Setting</b></a>
          		</div>
          	</div>
          </div>
      
      	<ma-get-point-value point-xid="DP_Pro1_DI01" point="DP_Pro1_DI01"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI02" point="DP_Pro1_DI02"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI03" point="DP_Pro1_DI03"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI04" point="DP_Pro1_DI04"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI06" point="DP_Pro1_DI06"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI07" point="DP_Pro1_DI07"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI08" point="DP_Pro1_DI08"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI09" point="DP_Pro1_DI09"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI11" point="DP_Pro1_DI11"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI12" point="DP_Pro1_DI12"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI13" point="DP_Pro1_DI13"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro1_DI14" point="DP_Pro1_DI14"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI01" point="DP_Pro2_DI01"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI02" point="DP_Pro2_DI02"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI03" point="DP_Pro2_DI03"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI04" point="DP_Pro2_DI04"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI05" point="DP_Pro2_DI05"></ma-get-point-value>    
          <ma-get-point-value point-xid="DP_Pro2_DI06" point="DP_Pro2_DI06"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI07" point="DP_Pro2_DI07"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI08" point="DP_Pro2_DI08"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI09" point="DP_Pro2_DI09"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI10" point="DP_Pro2_DI10"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI11" point="DP_Pro2_DI11"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI12" point="DP_Pro2_DI12"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI13" point="DP_Pro2_DI13"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro2_DI14" point="DP_Pro2_DI14"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI01" point="DP_Pro3_DI01"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI02" point="DP_Pro3_DI02"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI03" point="DP_Pro3_DI03"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI04" point="DP_Pro3_DI04"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI05" point="DP_Pro3_DI05"></ma-get-point-value>    
          <ma-get-point-value point-xid="DP_Pro3_DI06" point="DP_Pro3_DI06"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI07" point="DP_Pro3_DI07"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI08" point="DP_Pro3_DI08"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI09" point="DP_Pro3_DI09"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI11" point="DP_Pro3_DI11"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI12" point="DP_Pro3_DI12"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI13" point="DP_Pro3_DI13"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Pro3_DI14" point="DP_Pro3_DI14"></ma-get-point-value>
          
          <ma-get-point-value point-xid="DP_Current01" point="DP_Current01"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current02" point="DP_Current02"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current03" point="DP_Current03"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current04" point="DP_Current04"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current05" point="DP_Current05"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current06" point="DP_Current06"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current07" point="DP_Current07"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current08" point="DP_Current08"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current09" point="DP_Current09"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current10" point="DP_Current10"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current11" point="DP_Current11"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current12" point="DP_Current12"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current13" point="DP_Current13"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current14" point="DP_Current14"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current15" point="DP_Current15"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current16" point="DP_Current16"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current17" point="DP_Current17"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current18" point="DP_Current18"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current19" point="DP_Current19"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current20" point="DP_Current20"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current21" point="DP_Current21"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current22" point="DP_Current22"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current23" point="DP_Current23"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current24" point="DP_Current24"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current25" point="DP_Current25"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current26" point="DP_Current26"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current27" point="DP_Current27"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current28" point="DP_Current28"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current29" point="DP_Current29"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current30" point="DP_Current30"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current31" point="DP_Current31"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current32" point="DP_Current32"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current33" point="DP_Current33"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current34" point="DP_Current34"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current35" point="DP_Current35"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current36" point="DP_Current36"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current37" point="DP_Current37"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current38" point="DP_Current38"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current39" point="DP_Current39"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current40" point="DP_Current40"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current41" point="DP_Current41"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current42" point="DP_Current42"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current43" point="DP_Current43"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current44" point="DP_Current44"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current45" point="DP_Current45"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current46" point="DP_Current46"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current47" point="DP_Current47"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current48" point="DP_Current48"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current49" point="DP_Current49"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current50" point="DP_Current50"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current51" point="DP_Current51"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current52" point="DP_Current52"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current53" point="DP_Current53"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current54" point="DP_Current54"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current55" point="DP_Current55"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current56" point="DP_Current56"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current57" point="DP_Current57"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current58" point="DP_Current58"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current59" point="DP_Current59"></ma-get-point-value>
          <ma-get-point-value point-xid="DP_Current60" point="DP_Current60"></ma-get-point-value>
          
          
          <div layout="column">
              <div flex="" layout="row" layout-xs="column" layout-fill="">
                  <div layout="column" flex="50">
                      <md-card>
                          <md-card-content>
                              <table class="contenttable">
          						<colgroup>
          						    <col width="20%">
          						    <col width="20%">
          						    <col width="20%">
          						    <col width="20%"> 
          						    <col width="20%">     						    
          						</colgroup>
          						<tbody>
          							<tr>
              							<td id="table-title">CB Name</td>
              							<td id="table-title">Status</td>
              							<td colspan="3" id="table-title">Current</td>        							
          							</tr>
      
                                      <tr>
                                          <td>{{DP_Pro1_DI01.name}}</td><td ng-class="{onstyle: DP_Pro1_DI01.value != 1, offstyle: DP_Pro1_DI01.value == 0, tripstyle: DP_Pro1_DI02.value == 1}">{{DP_Pro1_DI02.value == 1 ? "TRIPPED" : DP_Pro1_DI01.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current01.renderedValue}}</td>
                                          <td>{{DP_Current02.renderedValue}}</td>  
                                          <td>{{DP_Current03.renderedValue}}</td>                                     
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro1_DI03.name}}</td><td ng-class="{onstyle: DP_Pro1_DI03.value != 1, offstyle: DP_Pro1_DI03.value == 0, tripstyle: DP_Pro1_DI04.value == 1}">{{DP_Pro1_DI04.value == 1 ? "TRIPPED" : DP_Pro1_DI03.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current04.renderedValue}}</td>
                                          <td>{{DP_Current05.renderedValue}}</td>  
                                          <td>{{DP_Current06.renderedValue}}</td>   
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro1_DI06.name}}</td><td ng-class="{onstyle: DP_Pro1_DI06.value != 1, offstyle: DP_Pro1_DI06.value == 0, tripstyle: DP_Pro1_DI07.value == 1}">{{DP_Pro1_DI07.value == 1 ? "TRIPPED" : DP_Pro1_DI06.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current07.renderedValue}}</td>
                                          <td>{{DP_Current08.renderedValue}}</td>  
                                          <td>{{DP_Current09.renderedValue}}</td>                                 
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro1_DI08.name}}</td><td ng-class="{onstyle: DP_Pro1_DI08.value != 1, offstyle: DP_Pro1_DI08.value == 0, tripstyle: DP_Pro1_DI09.value == 1}">{{DP_Pro1_DI09.value == 1 ? "TRIPPED" : DP_Pro1_DI08.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current10.renderedValue}}</td>
                                          <td>{{DP_Current11.renderedValue}}</td>  
                                          <td>{{DP_Current12.renderedValue}}</td>                                     
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro1_DI11.name}}</td><td ng-class="{onstyle: DP_Pro1_DI11.value != 1, offstyle: DP_Pro1_DI11.value == 0, tripstyle: DP_Pro1_DI12.value == 1}">{{DP_Pro1_DI12.value == 1 ? "TRIPPED" : DP_Pro1_DI11.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current13.renderedValue}}</td>
                                          <td>{{DP_Current14.renderedValue}}</td>  
                                          <td>{{DP_Current15.renderedValue}}</td>                                 
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro1_DI13.name}}</td><td ng-class="{onstyle: DP_Pro1_DI13.value != 1, offstyle: DP_Pro1_DI13.value == 0, tripstyle: DP_Pro1_DI14.value == 1}">{{DP_Pro1_DI14.value == 1 ? "TRIPPED" : DP_Pro1_DI13.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current16.renderedValue}}</td>
                                          <td>{{DP_Current17.renderedValue}}</td>  
                                          <td>{{DP_Current18.renderedValue}}</td>
                                      </tr>
       
                                       <tr>
                                           <td>{{DP_Pro2_DI01.name}}</td><td ng-class="{onstyle: DP_Pro2_DI01.value != 1, offstyle: DP_Pro2_DI01.value == 0, tripstyle: DP_Pro2_DI02.value == 1}">{{DP_Pro2_DI02.value == 1 ? "TRIPPED" : DP_Pro2_DI01.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current19.renderedValue}}</td>
                                          <td>{{DP_Current20.renderedValue}}</td>  
                                          <td>{{DP_Current21.renderedValue}}</td>                                
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro2_DI03.name}}</td><td ng-class="{onstyle: DP_Pro2_DI03.value != 1, offstyle: DP_Pro2_DI03.value == 0, tripstyle: DP_Pro2_DI04.value == 1}">{{DP_Pro2_DI04.value == 1 ? "TRIPPED" : DP_Pro2_DI03.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current22.renderedValue}}</td>
                                          <td>{{DP_Current23.renderedValue}}</td>  
                                          <td>{{DP_Current24.renderedValue}}</td>   
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro2_DI05.name}}</td><td ng-class="{onstyle: DP_Pro2_DI05.value != 1, offstyle: DP_Pro2_DI05.value == 0, tripstyle: DP_Pro2_DI06.value == 1}">{{DP_Pro2_DI06.value == 1 ? "TRIPPED" : DP_Pro2_DI05.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current25.renderedValue}}</td>
                                          <td>{{DP_Current26.renderedValue}}</td>  
                                          <td>{{DP_Current27.renderedValue}}</td>   
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro2_DI07.name}}</td><td ng-class="{onstyle: DP_Pro2_DI07.value != 1, offstyle: DP_Pro2_DI07.value == 0, tripstyle: DP_Pro2_DI08.value == 1}">{{DP_Pro2_DI08.value == 1 ? "TRIPPED" : DP_Pro2_DI07.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current28.renderedValue}}</td>
                                          <td>{{DP_Current29.renderedValue}}</td>  
                                          <td>{{DP_Current30.renderedValue}}</td>                                 
                                      </tr>
                                  </tbody>
                              </table>    
                          </md-card-content>
                      </md-card>
                  </div>
                  <div layout="column" flex="50">
                      <md-card>
                          <md-card-content>
                              <table class="contenttable">
          						<colgroup>
          						    <col width="20%">
          						    <col width="20%">
          						    <col width="20%">
          						    <col width="20%"> 
          						    <col width="20%">  
          						</colgroup>
          						<tbody>
          							<tr>
              							<td id="table-title">CB Name</td>
              							<td id="table-title">Status</td>
              							<td colspan="3" id="table-title">Current</td>         							
          							</tr>
                                      <tr>
                                          <td>{{DP_Pro2_DI09.name}}</td><td ng-class="{onstyle: DP_Pro2_DI09.value != 1, offstyle: DP_Pro2_DI09.value == 0, tripstyle: DP_Pro2_DI10.value == 1}">{{DP_Pro2_DI10.value == 1 ? "TRIPPED" : DP_Pro2_DI09.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current31.renderedValue}}</td>
                                          <td>{{DP_Current32.renderedValue}}</td>  
                                          <td>{{DP_Current33.renderedValue}}</td>
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro2_DI11.name}}</td><td ng-class="{onstyle: DP_Pro2_DI11.value != 1, offstyle: DP_Pro2_DI11.value == 0, tripstyle: DP_Pro2_DI12.value == 1}">{{DP_Pro2_DI12.value == 1 ? "TRIPPED" : DP_Pro2_DI11.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current34.renderedValue}}</td>
                                          <td>{{DP_Current35.renderedValue}}</td>  
                                          <td>{{DP_Current36.renderedValue}}</td>
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI01.name}}</td><td ng-class="{onstyle: DP_Pro3_DI01.value != 1, offstyle: DP_Pro3_DI01.value == 0, tripstyle: DP_Pro3_DI02.value == 1}">{{DP_Pro3_DI02.value == 1 ? "TRIPPED" : DP_Pro3_DI01.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current37.renderedValue}}</td>
                                          <td>{{DP_Current38.renderedValue}}</td>  
                                          <td>{{DP_Current39.renderedValue}}</td>                                    
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI03.name}}</td><td ng-class="{onstyle: DP_Pro3_DI03.value != 1, offstyle: DP_Pro3_DI03.value == 0, tripstyle: DP_Pro3_DI04.value == 1}">{{DP_Pro3_DI04.value == 1 ? "TRIPPED" : DP_Pro3_DI03.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current40.renderedValue}}</td>
                                          <td>{{DP_Current41.renderedValue}}</td>  
                                          <td>{{DP_Current42.renderedValue}}</td>                            
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI05.name}}</td><td ng-class="{onstyle: DP_Pro3_DI05.value != 1, offstyle: DP_Pro3_DI05.value == 0, tripstyle: DP_Pro3_DI06.value == 1}">{{DP_Pro3_DI06.value == 1 ? "TRIPPED" : DP_Pro3_DI05.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current43.renderedValue}}</td>
                                          <td>{{DP_Current44.renderedValue}}</td>  
                                          <td>{{DP_Current45.renderedValue}}</td>                                  
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI07.name}}</td><td ng-class="{onstyle: DP_Pro3_DI07.value != 1, offstyle: DP_Pro3_DI07.value == 0, tripstyle: DP_Pro3_DI08.value == 1}">{{DP_Pro3_DI08.value == 1 ? "TRIPPED" : DP_Pro3_DI07.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current46.renderedValue}}</td>
                                          <td>{{DP_Current47.renderedValue}}</td>  
                                          <td>{{DP_Current48.renderedValue}}</td>                                
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI09.name}}</td><td ng-class="{onstyle: DP_Pro3_DI09.value != 1, offstyle: DP_Pro3_DI09.value == 0, tripstyle: DP_Pro3_DI10.value == 1}">{{DP_Pro3_DI10.value == 1 ? "TRIPPED" : DP_Pro3_DI09.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current49.renderedValue}}</td>
                                          <td>{{DP_Current50.renderedValue}}</td>  
                                          <td>{{DP_Current51.renderedValue}}</td>                                
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI11.name}}</td><td ng-class="{onstyle: DP_Pro3_DI11.value != 1, offstyle: DP_Pro3_DI11.value == 0, tripstyle: DP_Pro3_DI12.value == 1}">{{DP_Pro3_DI12.value == 1 ? "TRIPPED" : DP_Pro3_DI11.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current52.renderedValue}}</td>
                                          <td>{{DP_Current53.renderedValue}}</td>  
                                          <td>{{DP_Current54.renderedValue}}</td>                                
                                      </tr>
                                      <tr>
                                          <td>{{DP_Pro3_DI13.name}}</td><td ng-class="{onstyle: DP_Pro3_DI13.value != 1, offstyle: DP_Pro3_DI13.value == 0, tripstyle: DP_Pro3_DI14.value == 1}">{{DP_Pro3_DI14.value == 1 ? "TRIPPED" : DP_Pro3_DI13.value == 0 ? "OFF" : "ON"}}</td>                                    
                                          <td>{{DP_Current55.renderedValue}}</td>
                                          <td>{{DP_Current56.renderedValue}}</td>  
                                          <td>{{DP_Current57.renderedValue}}</td>
                                      </tr>
                                      
                                      <tr>
                                          <td>{{DP_Pro2_DI13.name}}</td><td ng-class="{onstyle: DP_Pro2_DI13.value != 1, offstyle: DP_Pro2_DI13.value == 0, tripstyle: DP_Pro2_DI14.value == 1}">{{DP_Pro2_DI14.value == 1 ? "TRIPPED" : DP_Pro2_DI13.value == 0 ? "OFF" : "ON"}}</td>
                                          <td>{{DP_Current58.renderedValue}}</td>
                                          <td>{{DP_Current59.renderedValue}}</td>  
                                          <td>{{DP_Current60.renderedValue}}</td>                                
                                      </tr>                                
                                  </tbody>
                              </table>
                          </md-card-content>
                      </md-card>
                  </div>
              </div>
          </div>
      </div>    
      
      MattFox 1 Reply Last reply Reply Quote 0
      • MattFox
        MattFox @tungthanh500 last edited by MattFox

        @tungthanh500 said in Dashboard offline:

        <ma-get-point-value point-xid="DP_Pro1_DI01" point="DP_Pro1_DI01"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI02" point="DP_Pro1_DI02"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI03" point="DP_Pro1_DI03"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI04" point="DP_Pro1_DI04"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI06" point="DP_Pro1_DI06"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI07" point="DP_Pro1_DI07"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI08" point="DP_Pro1_DI08"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI09" point="DP_Pro1_DI09"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI11" point="DP_Pro1_DI11"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI12" point="DP_Pro1_DI12"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI13" point="DP_Pro1_DI13"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro1_DI14" point="DP_Pro1_DI14"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI01" point="DP_Pro2_DI01"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI02" point="DP_Pro2_DI02"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI03" point="DP_Pro2_DI03"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI04" point="DP_Pro2_DI04"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI05" point="DP_Pro2_DI05"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI06" point="DP_Pro2_DI06"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI07" point="DP_Pro2_DI07"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI08" point="DP_Pro2_DI08"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI09" point="DP_Pro2_DI09"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI10" point="DP_Pro2_DI10"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI11" point="DP_Pro2_DI11"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI12" point="DP_Pro2_DI12"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI13" point="DP_Pro2_DI13"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro2_DI14" point="DP_Pro2_DI14"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI01" point="DP_Pro3_DI01"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI02" point="DP_Pro3_DI02"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI03" point="DP_Pro3_DI03"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI04" point="DP_Pro3_DI04"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI05" point="DP_Pro3_DI05"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI06" point="DP_Pro3_DI06"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI07" point="DP_Pro3_DI07"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI08" point="DP_Pro3_DI08"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI09" point="DP_Pro3_DI09"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI11" point="DP_Pro3_DI11"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI12" point="DP_Pro3_DI12"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI13" point="DP_Pro3_DI13"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Pro3_DI14" point="DP_Pro3_DI14"></ma-get-point-value>

        <ma-get-point-value point-xid="DP_Current01" point="DP_Current01"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current02" point="DP_Current02"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current03" point="DP_Current03"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current04" point="DP_Current04"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current05" point="DP_Current05"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current06" point="DP_Current06"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current07" point="DP_Current07"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current08" point="DP_Current08"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current09" point="DP_Current09"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current10" point="DP_Current10"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current11" point="DP_Current11"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current12" point="DP_Current12"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current13" point="DP_Current13"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current14" point="DP_Current14"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current15" point="DP_Current15"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current16" point="DP_Current16"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current17" point="DP_Current17"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current18" point="DP_Current18"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current19" point="DP_Current19"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current20" point="DP_Current20"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current21" point="DP_Current21"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current22" point="DP_Current22"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current23" point="DP_Current23"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current24" point="DP_Current24"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current25" point="DP_Current25"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current26" point="DP_Current26"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current27" point="DP_Current27"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current28" point="DP_Current28"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current29" point="DP_Current29"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current30" point="DP_Current30"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current31" point="DP_Current31"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current32" point="DP_Current32"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current33" point="DP_Current33"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current34" point="DP_Current34"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current35" point="DP_Current35"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current36" point="DP_Current36"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current37" point="DP_Current37"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current38" point="DP_Current38"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current39" point="DP_Current39"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current40" point="DP_Current40"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current41" point="DP_Current41"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current42" point="DP_Current42"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current43" point="DP_Current43"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current44" point="DP_Current44"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current45" point="DP_Current45"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current46" point="DP_Current46"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current47" point="DP_Current47"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current48" point="DP_Current48"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current49" point="DP_Current49"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current50" point="DP_Current50"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current51" point="DP_Current51"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current52" point="DP_Current52"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current53" point="DP_Current53"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current54" point="DP_Current54"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current55" point="DP_Current55"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current56" point="DP_Current56"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current57" point="DP_Current57"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current58" point="DP_Current58"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current59" point="DP_Current59"></ma-get-point-value>
        <ma-get-point-value point-xid="DP_Current60" point="DP_Current60"></ma-get-point-value>
        

        Holy heck, damn. This page looks rather busy. No wonder, your API is getting hammered!
        I'll take a look through and will see what I can suggest. Feel free to PM me also

        ALSO
        point-xid="DP_Current60" point="DP_Current60" is a big nono. You should aim to have something that is distinct for each point.
        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        MattFox 1 Reply Last reply Reply Quote 1
        • MattFox
          MattFox @MattFox last edited by

          Rectified with the use of an angularJS controller and only two ma-point-values lookups

          Fox

          Do not follow where the path may lead; go instead where there is no path.
          And leave a trail - Muriel Strode

          1 Reply Last reply Reply Quote 1
          • First post
            Last post