Display Methods¶
Display Methods
trexMes ana form (Main Form) üzerindeki özel metod tetikleyicilerine abone olur. Ana ekran üzerindeki tek başına çağrılan metodları yakalar.
Property Tablosu¶
| Alan | Tip | Varsayılan | Açıklama |
|---|---|---|---|
name |
string | — | Canvas üzerinde gösterilecek ad |
method |
string | get |
HTTP method (otomatik) |
event |
string | (boş) | Panel'in tetikleyeceği HTTP path |
Olay Listesi¶
Event alanı combobox ile seçilir. Mevcut seçenekler:
| Olay | Açıklama |
|---|---|
GetMainUserControl |
Ana kullanıcı kontrolünü döndürmek için tetiklenir. |
GetUIButtonConfiguration |
Arayüz buton konfigürasyonunu döndürmek için tetiklenir. |
Örnek Kullanım¶
flowchart LR
A[Display Methods<br/>GetCurrentOrder] --> B[function<br/>DB sorgu]
B --> C[Form Bind Controls<br/>Form alanlarını doldur]
C --> D[Responser]
style A fill:#ccffcc,color:#000
style C fill:#ccffcc,color:#000
style D fill:#ccffcc,color:#000
Giriş Mesajı¶
{
"_msgid": "abc123",
"payload": {
"methodName": "GetCurrentOrder",
"parameters": {
"machineId": "M-12"
}
}
}