When in live mode say Camera Offline instead of no data
This commit is contained in:
parent
653d213d62
commit
12b611b9d5
|
@ -84,7 +84,11 @@ function imagedone( obj, monId, success ) {
|
||||||
if ( ! success ) {
|
if ( ! success ) {
|
||||||
// if we had a failrue queue up the no-data image
|
// 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.
|
//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 {
|
} else {
|
||||||
if ( monitorLoadingStageURL[monId] == "" ) {
|
if ( monitorLoadingStageURL[monId] == "" ) {
|
||||||
console.log("Not showing image for " + monId );
|
console.log("Not showing image for " + monId );
|
||||||
|
|
Loading…
Reference in New Issue