2018年12月13日,上午04:11
你好,
是否有可能从Python API向程序添加模拟事件?
如。
sorter_tray_manipulation = RDK.Item(' sorter_tray_manipulation ')
sorting_destination_frame = RDK.Item('sorting_destination_frame')
掠夺=RDK.AddProgram (“New_Program”)
掠夺。AddSimualtionEvent (type = EVENT_TYPE_ATTACH, tcp = sorter_tray_manipulate)
掠夺。AddSimualtionEvent (type = EVENT_TYPE_DETACH_ALL attach_frame = sorting_destination_frame)
是否有可能从Python API向程序添加模拟事件?
如。
sorter_tray_manipulation = RDK.Item(' sorter_tray_manipulation ')
sorting_destination_frame = RDK.Item('sorting_destination_frame')
掠夺=RDK.AddProgram (“New_Program”)
掠夺。AddSimualtionEvent (type = EVENT_TYPE_ATTACH, tcp = sorter_tray_manipulate)
掠夺。AddSimualtionEvent (type = EVENT_TYPE_DETACH_ALL attach_frame = sorting_destination_frame)