"+tr("Id")+": | "+(SHIFR.isEVal()?"":SYS.strEncode(SHIFR,"HTML"))+" |
"+tr("Name")+": | "+(NAME.isEVal()?"":SYS.strEncode(NAME,"HTML"))+" |
"+tr("Description")+": | "+(DESCR.isEVal()?"":SYS.strEncode(DESCR,"HTML"))+" |
"+tr("Dimension")+": | "+(ed.isEVal()?"":SYS.strEncode(ed,"HTML"))+" |
"+tr("Setpoint")+": | "+(trnd_prm1val.isEVal()?"":(prec.isEVal()?trnd_prm1val:trnd_prm1val.toFixed(prec))); doc_tmpl += ((trnd_prm1val.isEVal() || max.isEVal() || min.isEVal() || max == min)?"":("("+(100*(trnd_prm1val-min)/(max-min).toFixed(1))+"%)"))+" |
"+tr("Variable")+": | "+(trnd_prm2val.isEVal()?"":(prec.isEVal()?trnd_prm2val:trnd_prm2val.toFixed(prec))); doc_tmpl += ((trnd_prm2val.isEVal() || max.isEVal() || min.isEVal() || max == min)?"":("("+(100*(trnd_prm2val-min)/(max-min).toFixed(1))+"%)"))+" |
"+tr("Output")+": | "+(trnd_prm0val.isEVal()?"":trnd_prm0val.toFixed(1)+"%")+" |
"+tr("Scale")+": | "+(min.isEVal()?"":min)+" ... "+(max.isEVal()?"":max)+" |
"+tr("Mode")+": | "+(trnd_prm3val.isEVal()?" - ":(trnd_prm3val?tr("Automate"):tr("Manual")))+" |
"+SYS.strEncode(aDscr,"HTML")+" | "+SYS.strEncode(aVl,"HTML")+" |
"+tr("#")+" | "+tr("Command")+" | "+tr("Comments")+" | "+tr("Time")+" | "; pTxt += "|
---|---|---|---|---|
"+comN_+" | "; pTxt += ""+Special.FLibSYS.strEnc2HTML(comPath_)+(comEl.attr("backgrnd")?" "+tr("(background)"):"")+" | "; if(toMark && rezVl.parse(1,":").length) pTxt += Special.FLibSYS.strEnc2HTML(rezVl.parse(1,":")); else { //Arguments values for(i_a = 1; i_a <= 5; i_a++) if(comEl.attr("labArg"+i_a).length) pTxt += Special.FLibSYS.strEnc2HTML(comEl.attr("labArg"+i_a).parse(0,"|")+" = "+comEl.attr("arg"+i_a)+"; "); } pTxt += " | "; comTm = comEl.attr("tm").toInt(); if(toMark && comTm) { comTm -= prExtStartTm; pTxt += ""+(comTm/3600).toString(10)+":"+ ((comTm/60)%60).toString(10,2)+":"+ (comTm%60).toString(10,2)+" | "; } else pTxt += "--- | "; pTxt += "
"+tr("#")+" | "+tr("Command")+" | "+tr("Comments")+" | "+tr("Time")+" | |
---|---|---|---|---|
" + comN_ + " | "+ "" + Special.FLibSYS.strEnc2HTML(comPath_) + " | "; if(toMark && rezVl.parse(1,":").length) pTxt += Special.FLibSYS.strEnc2HTML(rezVl.parse(1,":")); else { //Arguments values for(i_a = 1; i_a <= 5; i_a++) if(comEl.attr("labArg"+i_a).length) pTxt += Special.FLibSYS.strEnc2HTML(comEl.attr("labArg"+i_a).parse(0,"|")+" = "+comEl.attr("arg"+i_a)+"; "); } pTxt += " | "; comTm = comEl.attr("tm").toInt(); if(toMark && comTm) { comTm -= prExtStartTm; pTxt += ""+(comTm/3600).toString(10)+":"+ ((comTm/60)%60).toString(10,2)+":"+ (comTm%60).toString(10,2)+" | "; } else pTxt += "--- | "; pTxt += "
Date | "; for(iA = 0; iA < dtALst.length; iA++) data_tmpl += ""+strEnc2HTML(dtALst[iA].descr())+" | "; data_tmpl += "
---|---|
"+SYS.strftime(i_rec,"%d %m %H:%M:%S")+" | "; for(iA = 0; iA < dtALst.length; iA++) { i_rec_ = i_rec; data_tmpl += ""+strEnc2HTML(dtALst[iA].get(i_rec_))+" | "; } data_tmpl += "
"+tvl+" | "; sort_items += "\n"+tvl+" ("+vC+")\n"+tvl+", "+tr("reversed")+" ("+vC+":!)"; for(iF = 0; iF < fMax; iF++) this["fltrCol"+iF].attrSet("items", this["fltrCol"+iF].attr("items")+"\n"+tvl+" ("+vC+")"); } } alarms_items += "\n"; if(makeReport) rep += "
---|
"+SYS.strEncode(sVl,"HTML")+" | "; } if(isMatch) { alarms_items += aRow + "\n"; if(makeReport) rep += repRow + "
"+SYS.strEncode(itVl,"HTML")+" | "; } // ... the data else { // ... prepairing the logical cells if(hasProc) updProc(iR, dataTbl, clsLsO); // ... representing for(iC = 0; iC < dataTbl[iR].length; iC++) { itVlCol = dataTbl[0][iC]; itVl = dataTbl[iR][iC]; opt = ""; if(itVl == ""+ SYS.strEncode(((tVl1=SYS.strEncode(itVl,"Limit",300))==itVl)?tVl1:tVl1+"...","HTML").replace(new RegExp("(http|https|ftp)://(\\S+)","g"),"$2")+ " | "; } } dataTbl_items += (iR?"
---|
"+tr("#")+" | "+tr("Command")+" | "+tr("Comments")+" | "+tr("Time")+" | "; pTxt += "|
---|---|---|---|---|
"+comN_+" | "; pTxt += ""+Special.FLibSYS.strEnc2HTML(comPath_)+(comEl.attr("backgrnd")?" "+tr("(background)"):"")+" | "; if(toMark && rezVl.parse(1,":").length) pTxt += Special.FLibSYS.strEnc2HTML(rezVl.parse(1,":")); else { //Arguments values for(i_a = 1; i_a <= 5; i_a++) if(comEl.attr("labArg"+i_a).length) pTxt += Special.FLibSYS.strEnc2HTML(comEl.attr("labArg"+i_a).parse(0,"|")+" = "+comEl.attr("arg"+i_a)+"; "); } pTxt += " | "; comTm = comEl.attr("tm").toInt(); if(toMark && comTm) { comTm -= prExtStartTm; pTxt += ""+(comTm/3600).toString(10)+":"+ ((comTm/60)%60).toString(10,2)+":"+ (comTm%60).toString(10,2)+" | "; } else pTxt += "--- | "; pTxt += "
"+tr("#")+" | "+tr("Command")+" | "+tr("Comments")+" | "+tr("Time")+" | |
---|---|---|---|---|
" + comN_ + " | "+ "" + Special.FLibSYS.strEnc2HTML(comPath_) + " | "; if(toMark && rezVl.parse(1,":").length) pTxt += Special.FLibSYS.strEnc2HTML(rezVl.parse(1,":")); else { //Arguments values for(i_a = 1; i_a <= 5; i_a++) if(comEl.attr("labArg"+i_a).length) pTxt += Special.FLibSYS.strEnc2HTML(comEl.attr("labArg"+i_a).parse(0,"|")+" = "+comEl.attr("arg"+i_a)+"; "); } pTxt += " | "; comTm = comEl.attr("tm").toInt(); if(toMark && comTm) { comTm -= prExtStartTm; pTxt += ""+(comTm/3600).toString(10)+":"+ ((comTm/60)%60).toString(10,2)+":"+ (comTm%60).toString(10,2)+" | "; } else pTxt += "--- | "; pTxt += "
Id: | ID |
Name: | |
Description: | |
Dimension: | |
Setpoint: | |
Variable: | |
Output: | |
Scale: | |
Mode: |
Id: | ID |
Ім’я: | |
Опис: | |
Одиниця виміру: | |
Завдання: | |
Змінна: | |
Вихід: | |
Шкала: | |
Режим: |
Id: | ID |
Имя: | |
Описание: | |
Ед. изм.: | |
Задание: | |
Переменная: | |
Выход: | |
Шкала: | |
Режим: |