Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Epm macro editor



Epm macro kpi
config\{\"promptIfDirtyClose\":true,\"kpis\":[[\{\"kind\":\"datatag\",\"value\":\"calc/SLIDINGAGG(Demo-influxdb/DEMO_02PI101.PV,MAX,1h)\",\"size\":\"12\",\"textSize\":\"12\",\"padding\":\"\",\"title\":\"MAX Pi 1h\",\"colour\":\"#333\",\"bgColour\":\"transparent\",\"offsetX\":0,\"offsetY\":0,\"alignment\":\"2\",\"weightWidth\":\"1\",\"weightHeight\":\"1\",\"metaData\":\{\},\"refreshRate\":10,\"decimalPlaces\":\"0\",\"units\":\"\",\"display\":1,\"status\":1,\"customStates\":\{\},\"additionalTrends\":[],\"additionalTrendTypes\":[],\"additionalTrendMultipliers\":[],\"additionalTrendMetaData\":[],\"showValue\":true,\"useTimestampAsValue\":false,\"min\":0,\"max\":100,\"innerRadiusRatio\":0.6,\"sizeOther\":null,\"orientation\":\"v\",\"timespan\":\"\",\"showStats\":false,\"autoscale\":true,\"numGraduations\":101,\"majorGraduationsEvery\":5,\"sizeDirection\":null,\"innerAlignment\":null,\"staleAfter\":false,\"showSeparator\":false\}],[\{\"kind\":\"datatag\",\"value\":null,\"size\":12,\"textSize\":12,\"padding\":\"\",\"title\":null,\"colour\":\"#333\",\"bgColour\":\"transparent\",\"offsetX\":0,\"offsetY\":0,\"alignment\":2,\"weightWidth\":1,\"weightHeight\":1,\"metaData\":\{\},\"refreshRate\":10,\"decimalPlaces\":0,\"units\":\"\",\"display\":1,\"status\":1,\"customStates\":\{\},\"additionalTrends\":[],\"additionalTrendTypes\":[],\"additionalTrendMultipliers\":[],\"additionalTrendMetaData\":[],\"showValue\":true,\"useTimestampAsValue\":false,\"min\":0,\"max\":100,\"innerRadiusRatio\":0.6,\"sizeOther\":null,\"orientation\":\"v\",\"timespan\":\"\",\"showStats\":false,\"autoscale\":true,\"numGraduations\":101,\"majorGraduationsEvery\":5,\"sizeDirection\":null,\"innerAlignment\":null,\"staleAfter\":false,\"showSeparator\":false\}]],\"refreshrate\":60,\"firstrowheadings\":false,\"hidegridlines\":false,\"padding\":\"\",\"isgrid\":true,\"diagramid\":false,\"diagramwidth\":1000,\"vars\":\{\},\"live\":true,\"liveOffset\":\"\",\"seamless\":false,\"tags\":[],\"dontPromptOnLiveToggle\":false\}

Epm macro trendmultichart
config\{\"promptIfDirtyClose\":true,\"layout\":6,\"height\":800,\"charts\":[\{\"trends\":[\{\"type\":\"datatag\",\"name\":\"Demo-influxdb/DEMO_02PI101.PV\",\"value\":\"Demo-influxdb/DEMO_02PI101.PV\",\"description\":\"\",\"metaData\":\{\},\"hidden\":false,\"status\":\{\"_params\":\{\"contexts\":\{\}\}\},\"units\":\"\",\"enumerated\":null,\"replacements\":\{\},\"localData\":[]\},\{\"type\":\"datatag\",\"name\":\"Demo-influxdb/DEMO_04FI102.PV\",\"value\":\"Demo-influxdb/DEMO_04FI102.PV\",\"description\":\"\",\"metaData\":\{\},\"hidden\":false,\"status\":\{\"_params\":\{\"contexts\":\{\}\}\},\"units\":\"\",\"enumerated\":null,\"replacements\":\{\},\"localData\":[]\}],\"axes\":[\{\"side\":\"left\",\"num\":0,\"min\":\"auto\",\"max\":\"auto\",\"format\":\"auto\",\"step\":\"auto\",\"units\":\"\",\"colour\":\"#1f77b4\",\"type\":\"smooth\",\"reference\":null,\"stacked\":false,\"style\":1,\"linestyle\":1,\"lineWidth\":1.5,\"hideFuture\":false\},\{\"side\":\"left\",\"num\":0,\"min\":\"auto\",\"max\":\"auto\",\"format\":\"auto\",\"step\":\"auto\",\"units\":\"\",\"colour\":\"#ff7f0e\",\"type\":\"smooth\",\"reference\":null,\"stacked\":false,\"style\":1,\"linestyle\":1,\"lineWidth\":1.5,\"hideFuture\":false\}],\"modes\":[\{\"mode\":\"interpolated\"\},\{\"mode\":\"interpolated\"\}],\"bounds\":[1547386200000,1547472600000],\"live\":true,\"liveOffset\":\"\",\"liveSnapTo\":\"\",\"sync\":false,\"title\":\{\"main\":\"\",\"sub\":\"\",\"fgcolour\":\"#333333\",\"bgcolour\":\"#ffffff\",\"size\":\"24\",\"alignment\":\"center\"\},\"seamless\":false,\"locked\":true,\"tz\":\"Europe/London\",\"ampm\":false,\"numPoints\":1000,\"savedPoints\":[],\"type\":\"line\",\"allowExternalChanges\":true,\"scaleToFillHeight\":false,\"noLabelPrefixes\":false,\"hideLegend\":false,\"hideYAxes\":false,\"hideXAxes\":false,\"isTimeBased\":true,\"invertAxes\":false,\"includeStats\":false,\"defaultMargin\":false\},\{\"trends\":[\{\"type\":\"datatag\",\"name\":\"Demo-influxdb/DEMO_04FI102.PV\",\"value\":\"Demo-influxdb/DEMO_04FI102.PV\",\"description\":\"\",\"metaData\":\{\},\"hidden\":false,\"status\":\{\"_params\":\{\"contexts\":\{\}\}\},\"units\":\"\",\"enumerated\":null,\"replacements\":\{\},\"localData\":[]\},\{\"type\":\"datatag\",\"name\":\"Demo-influxdb/DEMO_02PI101.PV\",\"value\":\"Demo-influxdb/DEMO_02PI101.PV\",\"description\":\"\",\"metaData\":\{\},\"hidden\":false,\"status\":\{\"_params\":\{\"contexts\":\{\}\}\},\"units\":\"\",\"enumerated\":null,\"replacements\":\{\},\"localData\":[]\}],\"axes\":[\{\"side\":\"left\",\"num\":0,\"min\":\"auto\",\"max\":\"auto\",\"format\":\"auto\",\"step\":\"auto\",\"units\":\"\",\"colour\":\"#1f77b4\",\"type\":\"smooth\",\"reference\":null,\"stacked\":false,\"style\":1,\"linestyle\":1,\"lineWidth\":1.5,\"hideFuture\":false\},\{\"side\":\"left\",\"num\":0,\"min\":\"auto\",\"max\":\"auto\",\"format\":\"auto\",\"step\":\"auto\",\"units\":\"\",\"colour\":\"#ff7f0e\",\"type\":\"smooth\",\"reference\":null,\"stacked\":false,\"style\":1,\"linestyle\":1,\"lineWidth\":1.5,\"hideFuture\":false\}],\"modes\":[\{\"mode\":\"interpolated\"\},\{\"mode\":\"interpolated\"\}],\"bounds\":[1547386200000,1547472600000],\"live\":true,\"liveOffset\":\"\",\"liveSnapTo\":\"\",\"sync\":false,\"title\":\{\"main\":\"\",\"sub\":\"\",\"fgcolour\":\"#333333\",\"bgcolour\":\"#ffffff\",\"size\":\"24\",\"alignment\":\"center\"\},\"seamless\":false,\"locked\":true,\"tz\":\"Europe/London\",\"ampm\":false,\"numPoints\":1000,\"savedPoints\":[],\"type\":\"scatter\",\"allowExternalChanges\":true,\"scaleToFillHeight\":false,\"noLabelPrefixes\":false,\"hideLegend\":false,\"hideYAxes\":false,\"hideXAxes\":false,\"isTimeBased\":true,\"invertAxes\":false,\"includeStats\":false,\"defaultMargin\":false\}]\}


Epm macro searchpanel
config\{\"promptIfDirtyClose\":true,\"criteria\":\{\"index\":\"assetmodel\",\"subid\":\"asset.hasworknotifications\",\"text\":\"Antifoam\",\"query\":\"\",\"filters\":[],\"others\":[\{\"id\":\"asset.hasworkorders\",\"option\":\"active\"\},\{\"id\":\"asset.hasworknotifications\",\"option\":\"overdue\"\}],\"order\":\{\"assetmodel\":\"score\",\"assetmodel-asset.hasworkorders\":\"score\",\"assetmodel-asset.hasworknotifications\":\"score\",\"assetmodel-asset.history\":\"score\",\"historian\":\"score\",\"assetmodel-asset.documents\":\"score\",\"alert\":\"time\",\"alertstate\":\"score\",\"content\":\"none\"\},\"group\":\{\"assetmodel\":\"none\",\"assetmodel-asset.hasworkorders\":\"none\",\"assetmodel-asset.hasworknotifications\":\"none\",\"assetmodel-asset.history\":\"none\",\"historian\":\"none\",\"assetmodel-asset.documents\":\"none\",\"alert\":\"none\",\"alertstate\":\"none\",\"content\":\"none\"\},\"additionalCriteria\":\{\"assetmodel\":\{\"must\":[],\"should\":[]\},\"historian\":\{\"must\":[],\"should\":[]\},\"alert\":\{\"must\":[],\"should\":[]\},\"alertstate\":\{\"must\":[],\"should\":[]\},\"content\":\{\"must\":[],\"should\":[]\}\}\},\"show\":[\"status\",\"barrier\",\"workorders\",\"notifications\"],\"live\":false,\"height\":0,\"seamless\":false\}