<< 点击显示目录 >> 主页 PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > TaskCollection Class > TaskCollection Methods > Upload Method > TaskCollection.Upload(ModuleListOptions) Method |
Uploads Module objects depending on the collections parent (Cpu object).
[Visual Basic]
Public Overloads Sub Upload( _
ByVal lstOption As ModuleListOptions _
)
[C#]
public void Upload(
ModuleListOptions lstOption
);
lstOption
0 .. default behavior, 1 ... ModuleList, 2 ... DiagModuleList, 3 ... all for ANSL else same as 0
The Uploaded event notifies that all variables were successful uploaded.
// Create a new Service object
Service service = new Service();
service.Connect();
// Create a new Cpu objekt
Cpu cpu = new Cpu(service,"Cpu");
// Set connection properties
cpu.Connection.DeviceType = BR.AN.PviServices.DeviceType.TcpIp;
cpu.Connection.TcpIp.SourceStation = 1;
cpu.Connection.TcpIp.DestinationStation = 50;
cpu.Connection.TcpIp.DestinationIpAddress = "10.43.70.250";
// Connect Cpu object
cpu.Connect();
cpu.Tasks.Upload();
TaskCollection Class | BR.AN.PviServices Namespace | TaskCollection.Upload Overload List
Generated from assembly BR.AN.PviServices [8.1.0.4]