def METHOD_NAME(self,e):
    label = e.get_target_obj()
    code = e.get_code()
    if code == lv.EVENT.MSG_RECEIVED:
        m = e.get_msg()
        if m.get_id() == MSG_UPDATE:
            payload = m.get_payload()
            value=payload.__cast__()
            # print("label_event_cb: " + str(value))
            label.set_text(str(value))