When in live mode say Camera Offline instead of no data

This commit is contained in:
Isaac Connor 2017-10-25 13:02:28 -07:00
parent 653d213d62
commit 12b611b9d5
1 changed files with 5 additions and 1 deletions

View File

@ -84,7 +84,11 @@ function imagedone( obj, monId, success ) {
if ( ! success ) {
// if we had a failrue queue up the no-data image
//loadImage2Monitor(monId,"no data"); // leave the staged URL if there is one, just ignore it here.
loadNoData( monId );
if ( liveMode ) {
writeText( monId, "Camera Offline" );
} else {
writeText( monId, "No Data" );
}
} else {
if ( monitorLoadingStageURL[monId] == "" ) {
console.log("Not showing image for " + monId );