Value(source at page load: ${tag.active_claim.name})
%if tag and isinstance(tag,tagpoints.NumericTagPointClass):
%elif tag and isinstance(tag,(tagpoints.StringTagPointClass, tagpoints.ObjectTagPointClass)):
%elif tag and isinstance(tag,(tagpoints.BinaryTagPointClass)):
${len(tag.value)} bytes at page load
%else:
No live preview
%endif
%if tag==None:
DELETED
%endif
Info
Time Since Update |
${((unitsofmeasure.format_time_interval(time.time()-tag.timestamp,3)+" ago") if int(tag.timestamp) else 'never')} |
Timestamp |
${tag.timestamp} |
Annotation |
${tag.annotation|h} |
Active Claim |
${tag.active_claim.name}(P${tag.active_claim.priority}) |
Value at page load |
${(str(tag.value)[:128]) if not isinstance(tag.value,bytes) else str(len(tag.value)) +" bytes of binary"} |
Owner |
${tag.owner} |
Subscriber count |
${len(tag.subscribers)} |
WebAPI read perms |
${tag.get_effective_permissions(
)[0]} |
WebAPI write perms |
${tag.get_effective_permissions(
)[1]} |
WebAPI priority |
${tag.get_effective_permissions(
)[2]} |
Python3 Object ID |
${id(tag)|h} |
%if hasattr(tag,'unit'):
Base Unit |
${tag.unit|h} |
%endif
Current State
%if tag and isinstance(tag,tagpoints.NumericTagPointClass):
Type |
${tag.type|h} |
Interval |
${tag.interval} |
Min |
${tag.min} |
Max |
${tag.max} |
Hi |
${tag.hi} |
Lo |
${tag.lo} |
Display in Units |
${tag.display_units} |
%endif
%if tag and isinstance(tag,(tagpoints.StringTagPointClass, tagpoints.ObjectTagPointClass)):
Type |
${tag.type|h} |
Interval |
${tag.interval} |
%endif
%if tag==None:
DELETED |
%endif