|
楼主 |
发表于 2024-9-10 00:28:45
|
显示全部楼层
After setSettings, the didReceiveSettings on the other side will respond (the other side means that when the plug-in calls setSettings, the didReceiveSettings of the property inspector will respond, and when the property inspector calls setSettings, the didReceiveSettings of the plug-in will respond)
Only this doesn't work properly either. After pressing the knob I call setSettings. In response I get didReceiveSettings but for a different context:
read:{"action":"com.rstelmachowicz.przesuwak","context":"vf62h7d3z2duc8flmx589m1214ds84ni","device":"4QJEPIGSP00F3X6KDW636S27YY4U20DD","event":"dialDown","payload":{"controller":"Knob","coordinates":{"column":3,"row":1},"settings":{"settings":{"wybierzAkcje":"false"}}}}
read:{"action":"com.rstelmachowicz.przesuwak","context":"vf62h7d3z2duc8flmx589m1214ds84ni","device":"4QJEPIGSP00F3X6KDW636S27YY4U20DD","event":"dialUp","payload":{"controller":"Knob","coordinates":{"column":3,"row":1},"settings":{"settings":{"wybierzAkcje":"false"}}}}
write: {"event":"setSettings","context":"vf62h7d3z2duc8flmx589m1214ds84ni","payload":{"settings":{"wybierzAkcje":"false"}}}
read:{"action":"com.rstelmachowicz.przelacznik","context":"efnk3ldf5smwj633j9338173k7du4g9k","device":"4QJEPIGSP00F3X6KDW636S27YY4U20DD","event":"didReceiveSettings","payload":{"coordinates":{"column":2,"row":0},"isInMultiAction":false,"settings":{"akcjaDoPrzodu_0":"","akcjaDoPrzodu_10":"","akcjaDoTylu_0":"","akcjaDoTylu_10":"","akcja_0":"","akcja_10":"","aktywnyKonfig":"0","czasKlikDoPrzodu":"1000","czasKlikDoTylu":"2000","ikonaDoPrzodu_0":"","ikonaDoPrzodu_10":"","ikonaDoTylu_0":"","ikonaDoTylu_10":"","ikona_0":"","ikona_10":"","krotnosc_0":"20","krotnosc_10":"20","pauza_0":"20","pauza_10":"20","przewinAkcje":true,"tytul_0":"","tytul_10":""},"state":0}}
|
|