コード例 #1
0
 public void UploadConfig(Scada.Agent.ConfigOptions ConfigOptions, long SessionID, System.IO.Stream Stream)
 {
     Scada.Agent.Test.AgentSvcRef.ConfigUploadMessage inValue = new Scada.Agent.Test.AgentSvcRef.ConfigUploadMessage();
     inValue.ConfigOptions = ConfigOptions;
     inValue.SessionID     = SessionID;
     inValue.Stream        = Stream;
     Scada.Agent.Test.AgentSvcRef.UploadConfigResponse retVal = ((Scada.Agent.Test.AgentSvcRef.AgentSvc)(this)).UploadConfig(inValue);
 }
コード例 #2
0
 public System.Threading.Tasks.Task <Scada.Agent.Test.AgentSvcRef.UploadConfigResponse> UploadConfigAsync(Scada.Agent.ConfigOptions ConfigOptions, long SessionID, System.IO.Stream Stream)
 {
     Scada.Agent.Test.AgentSvcRef.ConfigUploadMessage inValue = new Scada.Agent.Test.AgentSvcRef.ConfigUploadMessage();
     inValue.ConfigOptions = ConfigOptions;
     inValue.SessionID     = SessionID;
     inValue.Stream        = Stream;
     return(((Scada.Agent.Test.AgentSvcRef.AgentSvc)(this)).UploadConfigAsync(inValue));
 }
コード例 #3
0
 public System.Threading.Tasks.Task <System.IO.Stream> DownloadConfigAsync(long sessionID, Scada.Agent.ConfigOptions configOptions)
 {
     return(base.Channel.DownloadConfigAsync(sessionID, configOptions));
 }
コード例 #4
0
 public System.IO.Stream DownloadConfig(long sessionID, Scada.Agent.ConfigOptions configOptions)
 {
     return(base.Channel.DownloadConfig(sessionID, configOptions));
 }
コード例 #5
0
 public ConfigUploadMessage(Scada.Agent.ConfigOptions ConfigOptions, long SessionID, System.IO.Stream Stream)
 {
     this.ConfigOptions = ConfigOptions;
     this.SessionID     = SessionID;
     this.Stream        = Stream;
 }
コード例 #6
0
 public System.Threading.Tasks.Task <bool> UnpackConfigAsync(long sessionID, string srcFileName, Scada.Agent.ConfigOptions configOptions)
 {
     return(base.Channel.UnpackConfigAsync(sessionID, srcFileName, configOptions));
 }
コード例 #7
0
 public bool UnpackConfig(long sessionID, string srcFileName, Scada.Agent.ConfigOptions configOptions)
 {
     return(base.Channel.UnpackConfig(sessionID, srcFileName, configOptions));
 }
コード例 #8
0
 public bool PackConfig(long sessionID, string destFileName, Scada.Agent.ConfigOptions configOptions)
 {
     return(base.Channel.PackConfig(sessionID, destFileName, configOptions));
 }