欢迎光临散文网 会员登陆 & 注册

GE D20 EME 当信号或数据值发生变化时

2023-03-31 09:44 作者:何工15859219118  | 我要投稿


许多不同的控件可以与绑定源一起使用,

TextBox、ListView等等。下面的屏幕截图显示了两个

System.Windows.Forms.DataGrid控件,每个控件绑定到多个对象

在RapidDataBindingSource和SignalBindingSource中定义。这个

每个GroupBox中的标签都绑定到相同的源。正如你所看到的网格

显示BindingSource控件中定义的所有对象,而每个标签

显示当前选定的网格行。

当信号或数据值发生变化时,该GUI会自动更新为

新的价值。您不必编写任何代码就可以实现这一点,因为设置

FlexPendant SDK提供了一项启动服务,可启用FlexPendan

启动标准ABB应用程序的SDK应用程序,如程序编辑器

或慢跑视图。

也可以通过指定代理程序集来启动另一个自定义应用程序

名称和应用程序视图类。

在下面的示例中,程序编辑器在指定的例程中启动。

首先创建initData。然后是对发送方对象的引用,由

上一个示例中的Install方法用于调用LaunchView。

cookie out参数稍后用于指定要由

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.


GE D20 EME 当信号或数据值发生变化时的评论 (共 条)

分享到微博请遵守国家法律