theAlarmJson myID myText myBackGroundColor json x del-text picPerBot mainBot beimStart anzahlBots needAlarmPostit timeout11 myBackground alarmHours alarmBackground alarmIcon needApinPicture myBackgroundName myFontColor myTelegramInstanz getCIdDP getMIdDP timeout4 waiterSichbarkeit timeout9 waiter timeout7 botArray timeout17 timeout5 timeout14 FALSE picPerBot /vis.0/armin/img/pin-gruen.png /vis.0/armin/img/Red-Pin-PNG-Pic.png /vis.0/armin/img/Pin-blue.png anzahlBots 0 1 2 myBackground linear-gradient(90deg, rgba(85,116,125,1) 0%, rgba(124,167,183,1) 49%, rgba(65,90,98,1) 100%) linear-gradient(90deg, rgba(85,95,125,1) 0%, rgba(124,139,183,1) 49%, rgba(65,74,98,1) 100%) linear-gradient(90deg, rgba(228,233,134,1) 0%, rgba(218,223,95,1) 35%, rgba(255,248,0,1) 100%) Alarm Postits Einstellungen - nur ganze Stunden mainBot 0 needAlarmPostit FALSE alarmHours 3 alarmBackground linear-gradient(90deg, rgba(184,53,29,0.7723164705335259) 0%, rgba(216,158,136,1) 35%, rgba(191,84,107,1) 100%) alarmIcon /vis.0/main/images/red-pin.png Kommentar picPerBot /vis.0/main/images/pin-gruen.png /vis.0/main/images/pin-gelb.png /vis.0/main/images/red-pin.png anzahlBots 0 1 2 pin bild einstellung needApinPicture TRUE background einstellung myBackground linear-gradient(90deg, rgba(85,116,125,1) 0%, rgba(124,167,183,1) 49%, rgba(65,90,98,1) 100%) linear-gradient(90deg, rgba(184,53,29,0.7723164705335259) 0%, rgba(216,158,136,1) 35%, rgba(191,84,107,1) 100%) linear-gradient(90deg, rgba(228,233,134,1) 0%, rgba(218,223,95,1) 35%, rgba(255,248,0,1) 100%) myBackgroundName Normal ?? Alarm ?? Wichtig ?? FontFarbe einstellung myFontColor white white #1067A1 instanz fuer telegram einstellung myTelegramInstanz 1 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit TRUE 1000 ms FALSE FALSE beimStart TRUE 0_userdata.0.Alarm-MaterialDesign.MessagesToDel { "name": "MessagesToDel", "role": "", "type": "string", "desc": "Manuell erzeugt", "def": "", "read": true, "write": true } 0_userdata.0.Alarm-MaterialDesign.PostItMessages FALSE { "name": "PostItMessages", "role": "", "type": "string", "desc": "Manuell erzeugt", "def": "", "read": true, "write": true } 0_userdata.0.Alarm-MaterialDesign.DeleteAll FALSE { "name": "PostItDeleteAll", "role": "Switch", "type": "boolean", "desc": "Manuell erzeugt", "def": "", "read": true, "write": true } 0_userdata.0.Alarm-MaterialDesign.newOne FALSE { "name": "newOne", "role": "Switch", "type": "boolean", "desc": "Manuell erzeugt", "def": "", "read": true, "write": true } 0_userdata.0.Alarm-MaterialDesign.newOne TRUE 2 sec FALSE FALSE 0_userdata.0.Alarm-MaterialDesign.PostItErstellen { "name": "PostItErstellen", "role": "", "type": "string", "read": true, "write": true, "desc": "Manuell erzeugt" } 0_userdata.0.Alarm-MaterialDesign.PostItgetCIdDP { "name": "PostItgetCIdDP", "role": "", "type": "string", "read": true, "write": true, "desc": "Manuell erzeugt" } getCIdDP 0_userdata.0.Alarm-MaterialDesign.PostItgetCIdDP 0_userdata.0.Alarm-MaterialDesign.PostItgetMIdDP { "name": "PostItgetMIdDP", "role": "", "type": "string", "read": true, "write": true, "desc": "Manuell erzeugt" } getMIdDP 0_userdata.0.Alarm-MaterialDesign.PostItgetMIdDP 0_userdata.0.Alarm-MaterialDesign.PostItDelete { "name": "PostItDelete", "role": "", "type": "string", "read": true, "write": true, "desc": "Manuell erzeugt" } 0_userdata.0.Alarm-MaterialDesign.PostItAktualBot 0 { "name": "PostItAktualBot", "role": "", "type": "string", "desc": "Manuell erzeugt", "read": true, "write": true } 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit FALSE { "name": "PostitSichtbarkeit", "role": "", "type": "boolean", "read": true, "write": true, "desc": "Manuell erzeugt" } 0_userdata.0.Alarm-MaterialDesign.PostitMitAlarm { "name": "um sofort Alarm Design zu nehmen", "role": "", "type": "string", "read": true, "write": true, "desc": "Manuell erzeugt" } 0_userdata.0.Alarm-MaterialDesign.PostitAnzahl { "name": "Anzahl momentaner Postits", "role": "", "type": "number", "read": true, "write": true, "desc": "Manuell erzeugt" } timeout4 3 sec log test val 0_userdata.0.Alarm-MaterialDesign.PostItMessages 0_userdata.0.Alarm-MaterialDesign.DeleteAll true 0_userdata.0.Alarm-MaterialDesign.DeleteAll TRUE 4 sec FALSE FALSE 0_userdata.0.Alarm-MaterialDesign.PostItMessages FALSE FALSE waiterSichbarkeit FALSE 0_userdata.0.Alarm-MaterialDesign.PostItErstellen any AND NEQ state.val AND GT abc state.val 0 TRUE timeout9 1000 ms EQ waiterSichbarkeit FALSE 0_userdata.0.Alarm-MaterialDesign.PostItMessages FIRST FROM_START state.val 48 myBackground 0_userdata.0.Alarm-MaterialDesign.PostItErstellen TRUE 1000 ms FALSE 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit TRUE 1000 ms FALSE FALSE 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit false LTE MINUS 1 object 1 lc 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit 4000 waiterSichbarkeit TRUE timeout7 3 sec 0_userdata.0.Alarm-MaterialDesign.PostItErstellen FALSE waiterSichbarkeit FALSE 0_userdata.0.Alarm-MaterialDesign.PostItDelete any 0_userdata.0.Alarm-MaterialDesign.PostItMessages FIRST FROM_START state.val 48 waiter FALSE 0_userdata.0.Alarm-MaterialDesign.PostItMessages any timeout17 5000 ms log test val 0_userdata.0.Alarm-MaterialDesign.PostItMessages botArray telegram. mainBot .communicate.request any default botArray löschen über telegram GT FIRST state.val delOverTelegram 0 0_userdata.0.Alarm-MaterialDesign.PostItDelete FALSE FROM_START LAST state.val ADD 1 FIRST state.val delOverTelegram 16 0_userdata.0.Alarm-MaterialDesign.PostItMessages FIRST FROM_START FROM_START LAST state.val ADD 1 FIRST state.val delOverTelegram 16 48 waiter TRUE GT FIRST state.val delAllOverTelegram 0 0_userdata.0.Alarm-MaterialDesign.PostItMessages FALSE FALSE waiter TRUE neuer postit über inline-key GT FIRST state.val newOverTelegram 0 0_userdata.0.Alarm-MaterialDesign.newOne TRUE 2 sec FALSE TRUE val 0_userdata.0.Alarm-MaterialDesign.newOne 0_userdata.0.Alarm-MaterialDesign.newOne TRUE 1 sec FALSE FALSE 0_userdata.0.Alarm-MaterialDesign.PostItErstellen FALSE FROM_START LAST state.val ADD 1 FIRST state.val ] 1 0_userdata.0.Alarm-MaterialDesign.PostItMessages FIRST FROM_START FROM_START LAST state.val ADD 1 FIRST state.val ] 1 48 myBackground timeout5 2 sec val Object ID telegram. mainBot .communicate.requestMessageId farbwahl GT FIRST state.val auswahlFarbeOverTelegram 0 0_userdata.0.Alarm-MaterialDesign.PostItAktualBot TRUE 4 sec FALSE FROM_START LAST state.val ADD 1 FIRST state.val . 1 neustart GT FIRST state.val Notiz 0 beimStart TRUE log test val 0_userdata.0.Alarm-MaterialDesign.PostItMessages timeout14 1 sec val Object ID telegram. mainBot .communicate.requestMessageId 38 11 * * * beimStart TRUE false FALSE Object ID 0_userdata.0.Alarm-MaterialDesign.PostItMessages TRUE val Object ID 0_userdata.0.Alarm-MaterialDesign.PostItMessages 0 * * * * * val 0_userdata.0.Alarm-MaterialDesign.PostItMessages 0_userdata.0.Alarm-MaterialDesign.PostItMessages löschenBeiNeustart bG9nKCJkZWwtIGJlaSBuZXVzdGFydCIpDQpzZW5kVG8oJ3RlbGVncmFtLicrbWFpbkJvdCwgeyAgZGVsZXRlTWVzc2FnZTogeyBvcHRpb25zOiB7IGNoYXRfaWQ6IGdldFN0YXRlKGdldENJZERQKS52YWwsICBtZXNzYWdlX2lkOiBnZXRTdGF0ZShnZXRNSWREUCkudmFsICAgfSB9IH0pOyAgIA== Beschreibe diese Funktion … telegrammSend DQpsZXQgQXJyU2VuZD1bXTsNCmxldCBBcnJTZW5kSW5uZXI9W107DQpsZXQgQXJyU2VuZElubmVyMj1bXTsNCmxldCBBcnJTZW5kSW5uZXJEZWw9W107DQpsZXQgQXJyU2VuZElubmVyQm90PVtdOw0KbGV0IGJvdEF1c2FobD0iIjsNCmxldCBib3RBdXNhaGxPYmo9W10NCg0KZm9yKGxldCBpPTA7aTx0aGVBbGFybUpzb24ubGVuZ3RoO2krKyl7DQogICBBcnJTZW5kSW5uZXI9W10gDQogIC8vIGlmIChpPDMpIEFyclNlbmRJbm5lci5wdXNoKHsNCiAgICAgIA0KICAgICAgICAgICAgQXJyU2VuZElubmVyLnB1c2goew0KICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0Ijp0aGVBbGFybUpzb25baV0udGV4dC5zdWJzdHJpbmcoMCwgNDgpLA0KICAgICAgICAgICAgICAgICAgICAgICJjYWxsYmFja19kYXRhIjogJ2RlbE92ZXJUZWxlZ3JhbS4nK3RoZUFsYXJtSnNvbltpXS50ZXh0LnN1YnN0cmluZygwLCA0OCl9ICAgICkNCiAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgIEFyclNlbmQucHVzaChBcnJTZW5kSW5uZXIpIDsNCg0KICAgICANCn0NCg0KLy9jb25zb2xlLmxvZyhvYmopOw0KDQpmb3IobGV0IHU9MDt1PGFuemFobEJvdHMubGVuZ3RoO3UrKyl7DQogICBib3RBdXNhaGxPYmoucHVzaCggeyJ0ZXh0IjpteUJhY2tncm91bmROYW1lW3VdWzBdKycgJyArbXlCYWNrZ3JvdW5kTmFtZVt1XVsxXSwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICJjYWxsYmFja19kYXRhIjogJ2F1c3dhaGxGYXJiZU92ZXJUZWxlZ3JhbS4nK3V9ICkNCiAvKiANCmlmICh1PGFuemFobEJvdHMubGVuZ3RoLTEpIGJvdEF1c2FobD1ib3RBdXNhaGwrYHsidGV4dCI6IkZhcmJhdXN3YWhsICR7dX0hIiwNCiAgICAgICAgICAgICAgICAgICAgICAiY2FsbGJhY2tfZGF0YSI6ICJhdXN3YWhsQm90T3ZlclRlbGVncmFtLiR7dX0ifSxgICANCmlmICh1PT1hbnphaGxCb3RzLmxlbmd0aC0xKSBib3RBdXNhaGw9Ym90QXVzYWhsK2B7InRleHQiOiJGYXJiYXVzd2FobCAke3V9ISIsDQogICAgICAgICAgICAgICAgICAgICAgImNhbGxiYWNrX2RhdGEiOiAiYXVzd2FobEJvdE92ZXJUZWxlZ3JhbS4ke3V9In1gICAqLyAgICAgICAgICAgICAgICAgICANCg0KfQ0KDQovL2xvZygoYm90QXVzYWhsT2JqKSkNCg0KDQovL0FyclNlbmRJbm5lckJvdC5wdXNoKChib3RBdXNhaGwpKSANCi8vbG9nKEFyclNlbmRJbm5lckJvdCkNCkFyclNlbmQucHVzaChib3RBdXNhaGxPYmopDQppZiAodGhlQWxhcm1Kc29uLmxlbmd0aD4wKSBBcnJTZW5kSW5uZXJEZWwucHVzaCh7DQogICAgICAgICAgICAgICAgICAgICAgInRleHQiOiJEZWxldGVBbGxQb3N0cy1JdHMgISIsDQogICAgICAgICAgICAgICAgICAgICAgImNhbGxiYWNrX2RhdGEiOiAnZGVsQWxsT3ZlclRlbGVncmFtLid9LA0KICAgICAgICAgICAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6Ik5ldyBQb3N0SXQgISIsDQogICAgICAgICAgICAgICAgICAgICAgImNhbGxiYWNrX2RhdGEiOiAnbmV3T3ZlclRlbGVncmFtLicgICAgDQogICAgICAgICAgICAgICAgICAgICAgfSkNCmlmICh0aGVBbGFybUpzb24ubGVuZ3RoPT0wKSBBcnJTZW5kSW5uZXJEZWwucHVzaCgNCiAgICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgInRleHQiOiJOZXcgUG9zdEl0ICEiLA0KICAgICAgICAgICAgICAgICAgICAgICJjYWxsYmFja19kYXRhIjogJ25ld092ZXJUZWxlZ3JhbS4nICAgIA0KICAgICAgICAgICAgICAgICAgICAgIH0pDQogLy9BcnJTZW5kSW5uZXJCb3QucHVzaChKU09OLnBhcnNlKGJvdEF1c2FobCkpICAgICAgICAgICAgICAgICAgICAgDQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KEFyclNlbmRJbm5lcikpDQovL0FyclNlbmQucHVzaChBcnJTZW5kSW5uZXIpDQppZihBcnJTZW5kSW5uZXIyLmxlbmd0aD4wICkgQXJyU2VuZC5wdXNoKEFyclNlbmRJbm5lcjIpDQppZiAodGhlQWxhcm1Kc29uLmxlbmd0aD49MCkgQXJyU2VuZC5wdXNoKEFyclNlbmRJbm5lckRlbCkNCg0KLy9sb2coQXJyU2VuZCkNCi8vbG9nKCJMw6RuZ2U6ICIrQXJyU2VuZFswXS5sZW5ndGgpDQpBcnJTZW5kSW5uZXIubGVuZ3RoPT0wID8gcmVmcmVzaGVkPWDwn5qrIFBvc3RJdCBlbXB0eVxuLUZhcmJlIHfDpGhsZW4gKG9wdGlvbmFsKVxuLU5ldyBQb3N0aXQgd8OkaGxlblxuLVRleHQgZWluZ2ViZW5gIDogcmVmcmVzaGVkPWDinInvuI8gcmVmcmVzaGVkIFBvc3RJdFxuLUZhcmJlIHfDpGhsZW4gKG9wdGlvbmFsKVxuLU5ldyBQb3N0aXQgd8OkaGxlblxuLVRleHQgZWluZ2ViZW5gOw0KDQovL2ZvcihsZXQgYT0wO2E8YW56YWhsQm90cy5sZW5ndGg7YSsrKSB7ZXRTdGF0ZShnZXRDSWREUCkudmFsLCAgbWVzc2FnZV9pZDogZ2V0U3RhdGUoZ2V0TUlkRFApLnZhbCAgIH0gfSB9KTsNCiAvLyBpZihtZXJrZU9iTmV3T25lREFUQSE9IiIpICB7IHNlbmRUbygndGVsZWdyYW0uJyttYWluQm90LCB7ICBkZWxldGVNZXNzYWdlOiB7IG9wdGlvbnM6IHsgY2hhdF9pZDogZ2V0U3RhdGUoZ2V0Q0lkRFApLnZhbCwgIG1lc3NhZ2VfaWQ6IG1lcmtlT2JOZXdPbmVEQVRBICAgfSB9IH0pOyBtZXJrZU9iTmV3T25lREFUQT0iIjt9ICANCiANCiBpZiggYmVpbVN0YXJ0KXsNCiAgICAgYmVpbVN0YXJ0PWZhbHNlOw0KIGxldCBtZXNzPSBnZXRTdGF0ZShnZXRNSWREUCkudmFsOy8vbG9nKCJqZXR6dCBsw7ZzY2hlbiAiK21lc3MpDQogc2VuZFRvKCd0ZWxlZ3JhbS4nK21haW5Cb3QsIHsgIGRlbGV0ZU1lc3NhZ2U6IHsgb3B0aW9uczogeyBjaGF0X2lkOiBnZXRTdGF0ZShnZXRDSWREUCkudmFsLCAgbWVzc2FnZV9pZDogbWVzcyAgIH0gfSB9KTsgIA0KIHRpbWVvdXRzZWxmID0gc2V0VGltZW91dChhc3luYyAoKSA9PiB7DQogIA0KDQogIA0KICBzZW5kVG8oJ3RlbGVncmFtLicrbWFpbkJvdCwgew0KICAgcGFyc2VfbW9kZToiTWFya2Rvd24iLA0KICAgdGV4dDogcmVmcmVzaGVkICwNCiAgIA0KICAgcmVwbHlfbWFya3VwOiB7DQogICAgICAgaW5saW5lX2tleWJvYXJkOiBBcnJTZW5kLCANCiAgICAgICAgICAgICAgICAgIA0KICAgICAgIHJlc2l6ZV9rZXlib2FyZDogICAgICBmYWxzZSwNCiAgICAgICBvbmVfdGltZV9rZXlib2FyZDogICAgZmFsc2UsDQogICAgICAgZGlzYWJsZV9ub3RpZmljYXRpb246IGZhbHNlLA0KICAgICAgIHJlbW92ZV9LZXlib2FyZDogICAgICB0cnVlICANCiAgIH19LGFzeW5jIGZ1bmN0aW9uIChyZXN1bHQpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coIEpTT04uc3RyaW5naWZ5KHJlc3VsdCksJ2RlYnVnJyk7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhd2FpdCBzZXRTdGF0ZUFzeW5jKGdldENJZERQLFN0cmluZyhnZXRTdGF0ZSgndGVsZWdyYW0uJyttYWluQm90KycuY29tbXVuaWNhdGUucmVxdWVzdENoYXRJZCcpLnZhbCkpLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXdhaXQgc2V0U3RhdGVBc3luYyhnZXRNSWREUCxTdHJpbmcoZ2V0U3RhdGUoJ3RlbGVncmFtLicrbWFpbkJvdCsnLmNvbW11bmljYXRlLmJvdFNlbmRNZXNzYWdlSWQnKS52YWwpKTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vbG9nKCJ6dSBsw7ZzY2hlbiAiK2dldFN0YXRlKCd0ZWxlZ3JhbS4nK21haW5Cb3QrJy5jb21tdW5pY2F0ZS5ib3RTZW5kTWVzc2FnZUlkJykudmFsKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICBpZihtZXJrZU9iTmV3T25lREFUQTE9IiIpICB7IHNlbmRUbygndGVsZWdyYW0uJyttYWluQm90LCB7ICBkZWxldGVNZXNzYWdlOiB7IG9wdGlvbnM6IHsgY2hhdF9pZDogZ2V0U3RhdGUoZ2V0Q0lkRFApLnZhbCwgIG1lc3NhZ2VfaWQ6IG1lcmtlT2JOZXdPbmVEQVRBICAgfSB9IH0pOyBtZXJrZU9iTmV3T25lREFUQT0iIjt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLypjb25zb2xlLmxvZyggZ2V0TUlkKyctLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAnK2dldENJZCkqLzsNCn0pOw0KLy99DQoNCnRpbWVvdXRzZWxmID0gbnVsbDsNCg0KfSwgMjAwMCk7DQogfSBlbHNlew0KICAgc2VuZFRvKCd0ZWxlZ3JhbS4nK21haW5Cb3QsIHsNCiAgIHBhcnNlX21vZGU6Ik1hcmtkb3duIiwNCiAgIHRleHQ6IHJlZnJlc2hlZCAsDQogICBlZGl0TWVzc2FnZVRleHQ6IHsNCiAgICAgICAgICAgIG9wdGlvbnM6IHsNCiAgICAgICAgICAgICAgICBjaGF0X2lkOiBnZXRTdGF0ZShnZXRDSWREUCkudmFsLA0KICAgICAgICAgICAgICAgIG1lc3NhZ2VfaWQ6IGdldFN0YXRlKGdldE1JZERQKS52YWwsDQogICAgICAgICAgICAgICAgcmVwbHlfbWFya3VwOiB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbmxpbmVfa2V5Ym9hcmQ6IEFyclNlbmQsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgICAgIGZhbHNlLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6ICAgIGZhbHNlLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZV9ub3RpZmljYXRpb246IGZhbHNlLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVtb3ZlX0tleWJvYXJkOiAgICAgIHRydWUgIA0KICAgfX19fSkNCiAgICAgDQogfQ0KcmV0dXJuICJQb3N0SXQgZ2VzZW5kZXQiOw0KDQo= Beschreibe diese Funktion … materialSendTo DQogIA0KICAgbGV0IGJvcmRlckNvbG9yID0gJyc7DQogICBsZXQgaWNvbiA9ICcnOw0KICAgbGV0IGljb25Db2xvciA9ICcnOw0KICAgbGV0IGZvbnRDb2xvciA9ICcnOw0KICAgbGV0IGJvdHRpLy89IjEiOw0KICAgYm90dGk9KGF3YWl0IGdldFN0YXRlQXN5bmMoJzBfdXNlcmRhdGEuMC5BbGFybS1NYXRlcmlhbERlc2lnbi5Qb3N0SXRBa3R1YWxCb3QnKSkudmFsOw0KICAvL2xvZygiYm90dGk6ICIrIGJvdHRpKQ0KICAgaWYgKG5lZWRBcGluUGljdHVyZSkgeyAgaWNvbj1waWNQZXJCb3RbYm90dGldDQogICAgICAgDQogICAgICAgfSBlbHNlIHsgaWNvbj0nJ307DQogICAgICAgDQogICAgIG15QmFja0dyb3VuZENvbG9yPSBteUJhY2tHcm91bmRDb2xvcltib3R0aV0gOw0KICAgICAvL2xvZygiYm90dGkyOiAiK2JvdHRpKQ0KICAgICBmb250Q29sb3I9bXlGb250Q29sb3JbYm90dGldOw0KICAgLy8gIGlmKGdldFN0YXRlKCcwX3VzZXJkYXRhLjAuQWxhcm0tTWF0ZXJpYWxEZXNpZ24uUG9zdGl0TWl0QWxhcm0nKS52YWwuaGFzT3duUHJvcGVydHkoKSl7DQogICAgICAgICAgICAgICBpZihnZXRTdGF0ZSgnMF91c2VyZGF0YS4wLkFsYXJtLU1hdGVyaWFsRGVzaWduLlBvc3RpdE1pdEFsYXJtJykudmFsIT0iIil7DQogICAgICAgICAgICAgICAgICAgbXlCYWNrR3JvdW5kQ29sb3I9IGFsYXJtQmFja2dyb3VuZDsNCiAgICAgICAgICAgICAgICAgICBpY29uPWFsYXJtSWNvbjsNCiAgICAgICAgICAgICAgICAgICBzZXRTdGF0ZSgnMF91c2VyZGF0YS4wLkFsYXJtLU1hdGVyaWFsRGVzaWduLlBvc3RpdE1pdEFsYXJtJywiIikNCiAgICAgICAgICAgICAgIH0NCiAgICAgDQogDQogICAgbGV0IGpzb24gPSBnZXRTdGF0ZShteUlEKS52YWw7DQogLy8gbG9nKGlkKQ0KICAgIGlmIChqc29uKSB7DQogICAgICAgIHRyeSB7DQoNCiAgICAgICAgICAgIGpzb24gPSBKU09OLnBhcnNlKGpzb24pOw0KDQogICAgICAgIH0gY2F0Y2ggKGUpIHsNCiAgICAgICAgICAgIGpzb24gPSBbXTsNCiAgICAgICAgICAgIGNvbnNvbGUud2FybignV2VydCBpc3Qga2VpbiBKU09OIHN0cmluZyEgV2VydCB3aXJkIGVyc2V0enQhJyk7DQogICAgICAgIH0NCiAgICB9IGVsc2Ugew0KICAgICAgICBqc29uID0gW107DQogICAgfQ0KDQogICAganNvbi5wdXNoKA0KICAgICAgICB7DQogICAgICAgICAgICB0ZXh0OiBteVRleHQsDQogICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IG15QmFja0dyb3VuZENvbG9yLA0KICAgICAgICAgICAgYm9yZGVyQ29sb3I6IGJvcmRlckNvbG9yLA0KICAgICAgICAgICAgaWNvbjogaWNvbiwNCiAgICAgICAgICAgIGljb25Db2xvcjogaWNvbkNvbG9yLA0KICAgICAgICAgICAgZm9udENvbG9yOiBmb250Q29sb3IsDQogICAgICAgICAgICBmb250U2l6ZTogIjEwcHgiLA0KICAgICAgICAgICAgdGltZVN0YW1wIDogKG5ldyBEYXRlKCkuZ2V0VGltZSgpKSwNCiAgICAgICAgICAgIGFsYXJtU3RhdGUgOiIiDQogICAgICAgIH0NCiAgICApDQogICAgDQogICBjaGVja0FsYXJtSW50ZXJuKGpzb24sbXlJRCkNCiAgIA0KICAgLy8gICAgIHNldFN0YXRlKGlkLCBqc29uLCB0cnVlKTsNCiAgIA0KICAgIC8vIHNldFN0YXRlKG15SUQsIEpTT04uc3RyaW5naWZ5KGpzb24pLCB0cnVlKTsNCiAgICAgIC8vICAgc2V0U3RhdGUoJzBfdXNlcmRhdGEuMC5BbGFybS1NYXRlcmlhbERlc2lnbi5Qb3N0SXRBa3R1YWxCb3QnLCIwIikNCiAgDQogICAgZnVuY3Rpb24gY2hlY2tBbGFybUludGVybihqc29uKXsgLypsb2coImluIENlY2siKSovDQogICAgICAgIGlmICggbmVlZEFsYXJtUG9zdGl0KSB7DQogICAgICAgICAgZm9yIChsZXQgaT0wO2k8anNvbi5sZW5ndGg7aSsrKSB7DQogICAgICAgICAgICBpZiAoanNvbltpXS5oYXNPd25Qcm9wZXJ0eSgidGltZVN0YW1wIikgKSB7IGlmIChOdW1iZXIobmV3IERhdGUoKS5nZXRUaW1lKCkpLU51bWJlcihqc29uW2ldLnRpbWVTdGFtcCkgPmFsYXJtSG91cnMqNjAwMDAgKSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsgbG9nKE51bWJlcihuZXcgRGF0ZSgpLmdldFRpbWUoKSktTnVtYmVyKGpzb25baV0udGltZVN0YW1wKSk7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAganNvbltpXS5iYWNrZ3JvdW5kQ29sb3I9YWxhcm1CYWNrZ3JvdW5kOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpzb25baV0uaWNvbj1hbGFybUljb247IH0gfX0gfQ0KICAgICAgICAgc2V0U3RhdGUobXlJRCwgSlNPTi5zdHJpbmdpZnkoanNvbiksIHRydWUpOw0KICAgICAgICAgc2V0U3RhdGUoJzBfdXNlcmRhdGEuMC5BbGFybS1NYXRlcmlhbERlc2lnbi5Qb3N0SXRBa3R1YWxCb3QnLCIwIil9DQogICAgICAgICANCiAgICAgICAgIA0KICAgICAgICAgDQo= Beschreibe diese Funktion … AnzahlBestimmen Beschreibe diese Funktion … false FALSE Object ID 0_userdata.0.Alarm-MaterialDesign.PostitAnzahl TRUE val 0_userdata.0.Alarm-MaterialDesign.PostItMessages 0 materialDelete DQoNCg0KDQp2YXIgbXlKc29uMjJhYTsNCnZhciBteU9iajIyYWE7DQp2YXIgY291bnQyMmFhOw0KDQoNCg0KbXlKc29uMjJhYT1nZXRTdGF0ZShteUlEKS52YWwNCm15T2JqMjJhYT1KU09OLnBhcnNlKG15SnNvbjIyYWEpDQogY291bnQyMmFhPTA7DQoNCmlmIChteU9iajIyYWEubGVuZ3RoPjApew0KZm9yKGxldCBpID0gMDsgaSA8IG15T2JqMjJhYS5sZW5ndGg7IGkrKykgeyANCiBpZihteU9iajIyYWFbaV0udGV4dCA9PSBteVRleHQpICAgY291bnQyMmFhKys7fQ0KIA0KIC8vbG9nKCJjb3VudCIgKyIgICAiK2NvdW50MjJhYS50b1N0cmluZygpKQ0KIA0KIGlmIChjb3VudDIyYWE+MSl7DQoNCiAgICAgICAgICAgICAgICBmb3IobGV0IGkgPSAwOyBpIDwgbXlPYmoyMmFhLmxlbmd0aDsgaSsrKSB7DQogICAgICAgICAgICAgICAgICAgaWYobXlPYmoyMmFhW2ldLnRleHQgPT0gbXlUZXh0KSB7bXlPYmoyMmFhLnNwbGljZShpLCAxKTsNCiAgICAgICAgICAgICAgICAgICBpLS07DQogICAgICAgICAgICAgICAgICAvLyBsb2coImJpbiBpbiB2aWVsZSIpDQogICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH1lbHNlew0KICAgICAgICAgICAgICAgICAgIGZvcihsZXQgaSA9IDA7IGkgPCBteU9iajIyYWEubGVuZ3RoOyBpKyspIHsNCiAgICAgICAgICAgICAgICAgICAgaWYobXlPYmoyMmFhW2ldLnRleHQgPT0gbXlUZXh0KSB7bXlPYmoyMmFhLnNwbGljZShpLCAxKTsNCiAgICAgICAgICAgICAgICAgICAvLyBsb2coImJpbiBpbiBlaW5lbSIpDQogICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICB9DQogICANCg0KDQogLy8gbG9nKEpTT04uc3RyaW5naWZ5KG15T2JqMjJhYSkpDQoNCiBpZiAoY291bnQyMmFhPjApIHNldFN0YXRlKG15SUQsSlNPTi5zdHJpbmdpZnkobXlPYmoyMmFhKSk7DQoNCmNvdW50MjJhYT0wDQogfQ0KDQoNCg0K Beschreibe diese Funktion … checkAlarm DQoNCiAvL2Z1bmN0aW9uIGNoZWNrQWxhcm0oanNvbil7IA0KICAgICBsZXQgbXVzc1NjaHJlaWJlbj1mYWxzZTsNCiAgICAgDQogICAgIGlmICggbmVlZEFsYXJtUG9zdGl0KSB7DQogICAgICAgICAgZm9yIChsZXQgaT0wO2k8anNvbi5sZW5ndGg7aSsrKSB7DQogICAgICAgICAgICBpZiAoanNvbltpXS5oYXNPd25Qcm9wZXJ0eSgidGltZVN0YW1wIikgKSB7IGlmIChOdW1iZXIobmV3IERhdGUoKS5nZXRUaW1lKCkpLU51bWJlcihqc29uW2ldLnRpbWVTdGFtcCkgPmFsYXJtSG91cnMqNjAwMDAgKSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsgLy9sb2coTnVtYmVyKG5ldyBEYXRlKCkuZ2V0VGltZSgpKS1OdW1iZXIoanNvbltpXS50aW1lU3RhbXApKTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBqc29uW2ldLmJhY2tncm91bmRDb2xvcj1hbGFybUJhY2tncm91bmQ7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAganNvbltpXS5pY29uPWFsYXJtSWNvbjsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtdXNzU2NocmVpYmVuPXRydWU7IH0gfX0gDQogICAgICAgIGlmIChtdXNzU2NocmVpYmVuKSBzZXRTdGF0ZShteUlELCBKU09OLnN0cmluZ2lmeShqc29uKSwgdHJ1ZSk7DQogICAgICAgIGlmIChtdXNzU2NocmVpYmVuKSBzZXRTdGF0ZSgnMF91c2VyZGF0YS4wLkFsYXJtLU1hdGVyaWFsRGVzaWduLlBvc3RJdEFrdHVhbEJvdCcsIjAiKQ0KICAgICAgICB9DQogICAgICAgICAvL30= Beschreibe diese Funktion … del-EintragNewOne c2VuZFRvKCd0ZWxlZ3JhbS4nK21haW5Cb3QsIHsgIGRlbGV0ZU1lc3NhZ2U6IHsgb3B0aW9uczogeyBjaGF0X2lkOiBnZXRTdGF0ZShnZXRDSWREUCkudmFsLCAgbWVzc2FnZV9pZDogeCAgIH0gfSB9KTsg Beschreibe diese Funktion … 0_userdata.0.Alarm-MaterialDesign.PostitMitAlarm any AND NEQ state.val AND GT abc state.val 0 TRUE timeout11 1000 ms 0_userdata.0.Alarm-MaterialDesign.PostItMessages state.val alarmBackground 0_userdata.0.Alarm-MaterialDesign.PostitSichtbarkeit TRUE 1000 ms FALSE FALSE del-text