ABB PU515A 3BSE032401R1 讀取FileName屬性以檢索此路徑
以下是GTPUSaveFileDialog的屏幕截圖。其他文件對話框
盒子的外觀幾乎相同,它們的工作方式也非常相似。使用
命令欄的圖標(biāo)用于創(chuàng)建新文件夾和瀏覽控制器
文件系統(tǒng)。與列表和文本框一起指定遠(yuǎn)程路徑。這個(gè)
應(yīng)讀取FileName屬性以檢索此路徑。它返回完整的
控制器文件系統(tǒng)的路徑,即使在
文件名文本框?
數(shù)據(jù)綁定是將GUI控件的屬性綁定到數(shù)據(jù)源的過程,
使得該屬性自動(dòng)反映數(shù)據(jù)源的值。在.NET CF中
2.0使用BindingSource類簡化了此功能。這節(jié)課
封裝了與設(shè)置和管理數(shù)據(jù)綁定相關(guān)的復(fù)雜性。它
允許您連接RapidDataBindingSource或SignalBindingSource
而無需編寫單行代碼。(處置除外
不再需要綁定源時(shí)調(diào)用。)
在FlexPendant SDK中,有兩個(gè)類繼承.NET BindingSource:
RapidDataBindingSource和SignalBindingSource。這些類啟用
分別綁定到RAPID數(shù)據(jù)和IO信號(hào)。它們屬于
ABB.Robotics.DataBinding命名空間和需要引用的程序集
是ABB.Robotics.DataBinding.dll。


The following is a screenshot of the GTPUSaveFileDialog. The other file dialog
box have almost the same appearance and the way they work is very similar. Using
the icons of the command bar you create new folders and browse the controller
file system. Together with the list and the textbox, you specify a remote path. The
FileName property should be read to retrieve this path. It returns the complete
path to the controller file system, even though only the file name is visible in the
File name textboxg?
Databinding is the process of binding a property of a GUI control to a data source,
so that the property automatically reflects the value of the data source. In .NET CF
2.0 this functionality was simplified with the BindingSource class. This class
encapsulates the complexity related to setting up and managing databinding. It
allows you to connecta RapidDataBindingSource ora SignalBindingSource
to a GUI control without having to write a single line of code. (Except the Dispose
call when the binding sources are no longer needed.)
In the FlexPendant SDK there are two classes that inherit .NET BindingSource:
RapidDataBindingSource and SignalBindingSource.These classes enable
binding to RAPID data and IO signals respectively. They belong to the
ABB.Robotics.DataBinding namespace and the assembly you need to reference
is ABB.Robotics.DataBinding.dll.