[47ad43]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_metrictemplate_b27d7bbf / fb_template_f82408ec / f82408ec22234c47a7679ed6c41834db.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 5.8 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)f82408ec-2223-4c47-a767-9ed6c41834db","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_Template","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)b27d7bbf-320b-4088-bee3-c6047d4a0be4"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)29","Tag":null,"Text":"(string)IF THIS^.itfMetricOwner <> 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)30","Tag":null,"Text":"(string)    itfMetricOwner.RegisterMetric(THIS^);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)9","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)10","Tag":null,"Text":"(string){attribute 'call_after_init'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)28","Tag":null,"Text":"(string)FUNCTION_BLOCK PUBLIC FB_Template EXTENDS FBF.InstanceBase IMPLEMENTS IMetric"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)19","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)20","Tag":null,"Text":"(string)    itfMetricOwner : IMetricOwner; // if this is a pool Metric, it will be set by the primary node. if not then attach it yourself to the correct Owner"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)21","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)22","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)23","Tag":null,"Text":"(string)    {attribute 'no_copy'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)24","Tag":null,"Text":"(string)    itfMetric : IMetric := THIS^;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)25","Tag":null,"Text":"(string)    // FALSE when metric value is representative of the remote value. "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)26","Tag":null,"Text":"(string)    // TRUE when Edge or Device dies, or when Host is OFFLINE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)27","Tag":null,"Text":"(string)    isStale : BOOL := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)33","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)34","Tag":null,"Text":"(string)    _name : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)35","Tag":null,"Text":"(string)    _TS : T_DateTime;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)36","Tag":null,"Text":"(string)    _Status : MetricStatus;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)37","Tag":null,"Text":"(string)    _NotifyThem : BOOL := FALSE; // TRUE if the Value is changed in regard of the previous stored value  "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)38","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)39","Tag":null,"Text":"(string)    // LinkedList.IElement"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)40","Tag":null,"Text":"(string)    _itfPrev : LinkedList.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)41","Tag":null,"Text":"(string)    _itfNext : LinkedList.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)42","Tag":null,"Text":"(string)    _itfList : LinkedList.IList;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)53","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)54","Tag":null,"Text":"(string)    _Alias : ULINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)55","Tag":null,"Text":"(string)    _Access : AccessMode := AccessMode.ReadWrite;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)57","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)31","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)58","Tag":null,"Text":"(string)VAR CONSTANT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)61","Tag":null,"Text":"(string)    // not changeable in a Template"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)59","Tag":null,"Text":"(string)    _dataType : MetricDataType := MetricDataType.Template;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)60","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)61","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}