IoTcat 5 years ago
parent dea8d7b3d5
commit 5f81846ad5
  1. 2
      dist/server/data.php

@ -61,4 +61,4 @@ $R18=file_get_contents('./R18.txt');
$R19=file_get_contents('./R19.txt');
$R20=file_get_contents('./R20.txt');
echo json_encode( array(dl=>$learn_count/100,temp=>substr(-file_get_contents('./Tp1.txt')*0.3+175,0,4),Ls2=>$Ls2,Ls3=>$Ls3,R1=>$R1,R2=>$R2,R3=>$R3,R4=>$R4,R5=>$R5,R6=>$R6,R7=>$R7,R8=>$R8,R9=>$R9,R10=>$R10,R11=>$R11,R12=>$R12,R13=>$R13,R14=>$R14,R15=>$R15,R16=>$R16,R17=>$R17,R18=>$R18,R19=>$R19,R20=>$R20,tW=>$tW,wF1=>file_get_contents('./node/data/w1InsFlow.txt'),wF2=>file_get_contents('./node/data/w2InsFlow.txt'),wS=>$wS,lS=>$lS,hP=>substr($pdata,0,1),dP=>substr($pdata,1,1),lP=>substr($pdata,2,1),kP=>substr($pdata,3,1), wAddStatus=>file_get_contents('./node/ctl.txt'), wAutoStatus=>file_get_contents('./node/config/auto.txt')));
echo json_encode( array(dl=>$learn_count/100,temp=>substr(-file_get_contents('./Tp1.txt')*0.3+175,0,4),Ls2=>$Ls2,Ls3=>$Ls3,R1=>$R1,R2=>$R2,R3=>$R3,R4=>$R4,R5=>$R5,R6=>$R6,R7=>$R7,R8=>$R8,R9=>$R9,R10=>$R10,R11=>$R11,R12=>$R12,R13=>$R13,R14=>$R14,R15=>$R15,R16=>$R16,R17=>$R17,R18=>$R18,R19=>$R19,R20=>$R20,tW=>$tW,wF1=>substr(file_get_contents('./node/data/w1InsFlow.txt'), 0, 5),wF2=>substr(file_get_contents('./node/data/w2InsFlow.txt'), 0, 5),wS=>$wS,lS=>$lS,hP=>substr($pdata,0,1),dP=>substr($pdata,1,1),lP=>substr($pdata,2,1),kP=>substr($pdata,3,1), wAddStatus=>file_get_contents('./node/ctl.txt'), wAutoStatus=>file_get_contents('./node/config/auto.txt')));

Loading…
Cancel
Save