GE D20 EME 當(dāng)信號或數(shù)據(jù)值發(fā)生變化時(shí)

許多不同的控件可以與綁定源一起使用,
TextBox、ListView等等。下面的屏幕截圖顯示了兩個(gè)
System.Windows.Forms.DataGrid控件,每個(gè)控件綁定到多個(gè)對象
在RapidDataBindingSource和SignalBindingSource中定義。這個(gè)
每個(gè)GroupBox中的標(biāo)簽都綁定到相同的源。正如你所看到的網(wǎng)格
顯示BindingSource控件中定義的所有對象,而每個(gè)標(biāo)簽
顯示當(dāng)前選定的網(wǎng)格行。
當(dāng)信號或數(shù)據(jù)值發(fā)生變化時(shí),該GUI會自動更新為
新的價(jià)值。您不必編寫任何代碼就可以實(shí)現(xiàn)這一點(diǎn),因?yàn)樵O(shè)置
FlexPendant SDK提供了一項(xiàng)啟動服務(wù),可啟用FlexPendan
啟動標(biāo)準(zhǔn)ABB應(yīng)用程序的SDK應(yīng)用程序,如程序編輯器
或慢跑視圖。
也可以通過指定代理程序集來啟動另一個(gè)自定義應(yīng)用程序
名稱和應(yīng)用程序視圖類。
在下面的示例中,程序編輯器在指定的例程中啟動。
首先創(chuàng)建initData。然后是對發(fā)送方對象的引用,由
上一個(gè)示例中的Install方法用于調(diào)用LaunchView。
cookie out參數(shù)稍后用于指定要由
CloseView方法。

Many different controls can be used with binding sources, for example TpsLabel,
TextBox, ListView and so on. The following screenshot shows two
System.Windows.Forms.DataGrid controls that each bind to several objects
defined in a RapidDataBindingSource and a SignalBindingSource . The
labels in each GroupBox are bound to the same sources. As you see the grid
displays all objects defined in the BindingSource control, whereas each label
displays the currently selected grid row.
When a signal or a data value changes this GUI is automatically updated with the
new value. You do not have to write any code make this happen, as setting up
The FlexPendant SDK provides a launch service, which enables a FlexPendant
SDK application to start a standard ABB application, such as the program editor
or the jogging view.
It is also possible to start another custom application by specifying proxy assembly
name and the application view class.
In the following example, the program editor is launched at a specified routine.
First initData is created. Then the reference to the sender object, retrieved by
the Install method in the previous example, is used to call LaunchView.
The cookie out argument is later used to specify the view to be closed by the
CloseView method.