Documentation updates

This commit is contained in:
2023-11-10 12:19:06 -06:00
parent a81d497dcc
commit 7c53fd81b4
10 changed files with 113 additions and 94 deletions

View File

@@ -1,8 +1,8 @@
//
// Command: MakeByteArray -ESP -DIR -ROOT *.* -o=..\Web_Resources.h
// version: 1.0
// From cwd: D:/Projects/GrowController/gcfw/Resources
// Generated: Mon Oct 25 17:32:22 2021
// From cwd: C:/Projects/GrowController/Firmware/Resources
// Generated: Tue Oct 26 13:26:40 2021
// NOTE: Run script in command shell, not PowerShell
//
// PROGMEM is not recognized by Win32 tools...
@@ -1208,7 +1208,7 @@ const char index_htm[] PROGMEM = {
" <div class='SoilTemp_C' id='SoilTemp_C' >--.- &deg;F</div>\n"
" <div class='SoilMoisture_X' id='SoilMoisture_X' >-- %</div>\n"
" \n"
" <div class='DrumDoorIcon' id='DrumDoorIcon' ><img src='open.png' title='Open' /></div>\n"
" <div class='DrumState' id='DrumState' ><img src='open.png' title='Open' /></div>\n"
" <div class='DrumOpenSensor' id='DrumOpenSensor' >O</div>\n"
" <div class='DrumClosedSensor' id='DrumClosedSensor' >C</div>\n"
" <div class='DrumMotorLabel' id='DrumMotorLabel' >Motor</div>\n"
@@ -1226,7 +1226,7 @@ const char index_htm[] PROGMEM = {
" <div class='WaterCycleOn_sec' id='WaterCycleOn_sec' >8 s</div>\n"
" <div class='WaterCycle_sec' id='WaterCycle_sec' >10 s</div>\n"
" <div class='WaterCycleOnBox' id='WaterCycleOnBox' ></div>\n"
" <div class='WaterCycleStatusIcon' id='WaterCycleStatusIcon' ><img src='pointer.png' title='Pump On Time' /></div>\n"
" <div class='WaterCyclePointer_sec' id='WaterCyclePointer_sec' ><img src='pointer.png' title='Pump On Time' /></div>\n"
" </div>\n"
" </td>\n"
" <td width='10%' align='center'>\n"
@@ -1343,7 +1343,7 @@ const char index_js[] PROGMEM = {
" } \n"
"\n"
" if (typeof obj.SoilHeater != \"undefined\") {\n"
" document.getElementById('SoilHeater').innerHTML = obj.SoilHeater;\n"
" document.getElementById('SoilHeater').innerHTML = (obj.SoilHeater) ? \"Heat On\" : \"Heat Off\";\n"
" } else {\n"
" document.getElementById('SoilHeater').innerHTML = \"--\";\n"
" }\n"
@@ -1359,14 +1359,14 @@ const char index_js[] PROGMEM = {
" document.getElementById('SoilMoisture_X').innerHTML = \"--\";\n"
" }\n"
" \n"
" if (obj.DrumDoorIcon == 1) {\n"
" document.getElementById('DrumDoorIcon').style.display === \"none\";\n"
" if (obj.DrumState == 1) { // closed, hide the \"open\" image\n"
" document.getElementById('DrumState').style.display === \"none\";\n"
" } else {\n"
" document.getElementById('DrumDoorIcon').style.display === \"block\";\n"
" document.getElementById('DrumState').style.display === \"block\";\n"
" }\n"
" document.getElementById('DrumOpenSensor').innerHTML = obj.DrumOpenSensor;\n"
" document.getElementById('DrumClosedSensor').innerHTML = obj.DrumClosedSensor;\n"
" document.getElementById('DrumMotorStatus').innerHTML = obj.DrumMotorStatus;\n"
" document.getElementById('DrumOpenSensor').innerHTML = (obj.DrumOpenSensor) ? \"O\" : \"!O\";\n"
" document.getElementById('DrumClosedSensor').innerHTML = (obj.DrumClosedSensor) ? \"C\" : \"!C\";\n"
" document.getElementById('DrumMotorStatus').innerHTML = (obj.DrumMotorStatus == 0) ? \"stopped\" : (obj.DrumMotorStatus == 1) ? \"CW\" : \"CCW\";\n"
" document.getElementById('DrumMotorOn_sec').innerHTML = obj.DrumMotorOn_sec + \"s\";\n"
" document.getElementById('DrumMotor_V').innerHTML = parseFloat(obj.DrumMotor_V).toFixed(1) + \"V\";\n"
" document.getElementById('DrumMotor_I').innerHTML = parseFloat(obj.DrumMotor_I).toFixed(1) + \"A\";\n"
@@ -1380,7 +1380,7 @@ const char index_js[] PROGMEM = {
" }\n"
" );\n"
"}\n"
}; // index_js, 4528 bytes
}; // index_js, 4702 bytes
// File: myip.js
//
@@ -2475,7 +2475,7 @@ const char plantmodel_css[] PROGMEM = {
" top: 181px;\n"
"}\n"
"\n"
"div.DrumDoorIcon {\n"
"div.DrumState {\n"
" position: absolute;\n"
" transform: rotate(180deg);\n"
" left: 14px;\n"
@@ -2494,7 +2494,7 @@ const char plantmodel_css[] PROGMEM = {
"div.DrumMotorLabel {\n"
" position: absolute;\n"
" left: 95px;\n"
" top: 270px;\n"
" top: 260px;\n"
" width: 50px;\n"
" text-align: center;\n"
" color: white;\n"
@@ -2502,7 +2502,7 @@ const char plantmodel_css[] PROGMEM = {
"div.DrumMotorStatus {\n"
" position: absolute;\n"
" left: 95px;\n"
" top: 290px;\n"
" top: 280px;\n"
" width: 50px;\n"
" text-align: center;\n"
" color: white;\n"
@@ -2620,7 +2620,7 @@ const char plantmodel_css[] PROGMEM = {
" border-style: solid;\n"
" border-width: 1px;\n"
"}\n"
"div.WaterCycleStatusIcon {\n"
"div.WaterCyclePointer_sec {\n"
" position: absolute;\n"
" left: 80px;\n"
" top: 469px;\n"
@@ -4634,7 +4634,7 @@ const DirEntry Directory[] PROGMEM = {
{ "/green1x1.png" , green1x1_png , "image/png", 119 },
{ "/icon.png" , icon_png , "image/png", 8721 },
{ "/index.htm" , index_htm , "text/html", 5346 },
{ "/index.js" , index_js , "text/javascript", 4528 },
{ "/index.js" , index_js , "text/javascript", 4702 },
{ "/myip.js" , myip_js , "text/javascript", 167 },
{ "/nav.js" , nav_js , "text/javascript", 684 },
{ "/navigation.htm" , navigation_htm , "text/html", 557 },