diff --git a/ControlMonitorClient/CStaticClass.cs b/ControlMonitorClient/CStaticClass.cs
index 8cb2367..a8158c0 100644
--- a/ControlMonitorClient/CStaticClass.cs
+++ b/ControlMonitorClient/CStaticClass.cs
@@ -269,7 +269,7 @@ namespace wcfControlMonitorClient
}
}
- public static int GetManageTaskIndexfromMonitor(int monitorIdx)
+ public static long GetManageTaskIndexfromMonitor(int monitorIdx)
{
//20140218
DataView dv = new DataView();
@@ -282,7 +282,7 @@ namespace wcfControlMonitorClient
dv = dbo.ExceSQL(sql.ToString()).Tables[0].DefaultView;
if (dv.Count > 0)
{
- return Convert.ToInt32(dv[0]["F_ManageTaskIndex"]);
+ return Convert.ToInt64(dv[0]["F_ManageTaskIndex"]);
}
else
{
diff --git a/ControlMonitorClient/FrmClient.cs b/ControlMonitorClient/FrmClient.cs
index cf160fa..be2c9e0 100644
--- a/ControlMonitorClient/FrmClient.cs
+++ b/ControlMonitorClient/FrmClient.cs
@@ -1512,5 +1512,10 @@ namespace wcfControlMonitorClient
{
FrmUpdateStatus.FormInstance.Show();
}
+
+ //public bool SendInOutMessageToPlc()
+ //{
+ // throw new NotImplementedException();
+ //}
}
}
diff --git a/ControlMonitorClient/FrmModifyManage.cs b/ControlMonitorClient/FrmModifyManage.cs
index e275217..1818c7d 100644
--- a/ControlMonitorClient/FrmModifyManage.cs
+++ b/ControlMonitorClient/FrmModifyManage.cs
@@ -113,7 +113,7 @@ namespace wcfControlMonitorClient
toolStripSeparator2.Visible = false;
return;
}
- if (Convert.ToInt32(this.dgvManager.CurrentRow.Cells["调度任务索引"].Value) > 0)
+ if (Convert.ToInt64(this.dgvManager.CurrentRow.Cells["调度任务索引"].Value) > 0)
{
TSMmanagerOK.Visible = true;
@@ -143,7 +143,7 @@ namespace wcfControlMonitorClient
char[] scc = new char[1] { ';' };
string[] strsplit = split[1].Split(scc);
int mti = 0;
- int fid = Convert.ToInt32(split[2]);
+ long fid = Convert.ToInt64(split[2]);
if (strsplit[0] == "") return;
switch (strsplit[0])
{
@@ -293,12 +293,12 @@ namespace wcfControlMonitorClient
throw ex;
}
}
- int GetManageTaskIndexfromMonitor(int monitorIdx)
+ long GetManageTaskIndexfromMonitor(int monitorIdx)
{
DataView dv = dbo.ExceSQL("SELECT F_ManageTaskIndex FROM T_Monitor_Task WHERE (F_MonitorIndex = " + monitorIdx + ")").Tables[0].DefaultView;
if (dv.Count > 0)
{
- return Convert.ToInt32(dv[0]["F_ManageTaskIndex"]);
+ return Convert.ToInt64(dv[0]["F_ManageTaskIndex"]);
}
else
{
diff --git a/ControlMonitorClient/FrmModifyMonitor.cs b/ControlMonitorClient/FrmModifyMonitor.cs
index 7ce350b..6748059 100644
--- a/ControlMonitorClient/FrmModifyMonitor.cs
+++ b/ControlMonitorClient/FrmModifyMonitor.cs
@@ -62,7 +62,7 @@ namespace wcfControlMonitorClient
tsmAGVGoods.Visible = false;
return;
}
- if (Convert.ToInt32(this.dgvMonitor.CurrentRow.Cells["调度任务索引"].Value) > 0)
+ if (Convert.ToInt64(this.dgvMonitor.CurrentRow.Cells["调度任务索引"].Value) > 0)
{
TSMonitor.Visible = true;
TSMManager.Visible = true;
@@ -335,7 +335,7 @@ namespace wcfControlMonitorClient
int devKind;
int mindex = Convert.ToInt32(split[1]);
- int fid = 0;
+ long fid = 0;
int mankind =0;
@@ -343,7 +343,7 @@ namespace wcfControlMonitorClient
DataView dv = dbo.ExceSQL("select * from T_Monitor_Task where F_MonitorIndex=" + mindex).Tables[0].DefaultView;
if (dv.Count > 0)
{
- fid = Convert.ToInt32(dv[0]["F_ManageTaskIndex"]);
+ fid = Convert.ToInt64(dv[0]["F_ManageTaskIndex"]);
mankind = Convert.ToInt32(dv[0]["F_ManageTASKKINDINDEX"]);
//20100108中间指令被复位时给与提示和警告
DataView dv0 = dbo.ExceSQL("SELECT MIN(F_MonitorIndex) AS mmi FROM dbo.T_Monitor_Task WHERE (F_ManageTaskIndex = " + fid + ") AND (F_ManageTASKKINDINDEX = " + mankind + ")").Tables[0].DefaultView;
@@ -730,7 +730,6 @@ namespace wcfControlMonitorClient
{
MessageBox.Show(errtext, "操作提示:", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
-
TSMMonitorRefresh_Click();
}));
}
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Arrays11.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/Arrays.xsd
similarity index 99%
rename from ControlMonitorClient/Service References/WcfControlMonitor/Arrays11.xsd
rename to ControlMonitorClient/Service References/WcfControlMonitor/Arrays.xsd
index 832b3b6..a7215b0 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Arrays11.xsd
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/Arrays.xsd
@@ -1,70 +1,70 @@
锘
-
+
+
+
+
+
+
+
+
+
+
+
+
+
true
-
+
-
-
+
+
-
-
+
+
true
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
true
-
+
-
-
+
+
-
+
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Arrays1.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/Arrays1.xsd
deleted file mode 100644
index aa21f2c..0000000
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Arrays1.xsd
+++ /dev/null
@@ -1,9 +0,0 @@
-锘
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Model11.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/Model.xsd
similarity index 90%
rename from ControlMonitorClient/Service References/WcfControlMonitor/Model11.xsd
rename to ControlMonitorClient/Service References/WcfControlMonitor/Model.xsd
index 6341893..71e1edd 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Model11.xsd
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/Model.xsd
@@ -1,26 +1,45 @@
锘
-
-
+
-
-
-
- true
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -40,17 +59,23 @@
+
+
+
+
+
-
+
+
@@ -59,11 +84,11 @@
-
+
-
+
@@ -77,9 +102,12 @@
+
+
+
@@ -89,6 +117,24 @@
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -108,54 +154,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
true
-
-
-
-
-
-
-
-
+
+
+
+
-
+
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Model1.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/Model1.xsd
deleted file mode 100644
index e52fef1..0000000
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Model1.xsd
+++ /dev/null
@@ -1,133 +0,0 @@
-锘
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Reference.cs b/ControlMonitorClient/Service References/WcfControlMonitor/Reference.cs
index 43961e0..45ceda0 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Reference.cs
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/Reference.cs
@@ -1,7 +1,7 @@
锘//------------------------------------------------------------------------------
//
// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆
-// 杩愯鏃剁増鏈:4.0.30319.1
+// 杩愯鏃剁増鏈:4.0.30319.42000
//
// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳戒細瀵艰嚧涓嶆纭殑琛屼负锛屽苟涓斿鏋
// 閲嶆柊鐢熸垚浠g爜锛岃繖浜涙洿鏀瑰皢浼氫涪澶便
@@ -33,7 +33,7 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string EndDeviceField;
- private int FIDField;
+ private long FIDField;
private int ManageTaskKindIndexField;
@@ -111,7 +111,7 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
}
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
- public int FID {
+ public long FID {
get {
return this.FIDField;
}
@@ -227,7 +227,7 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
private int ForkNoField;
- private int ManageTaskIndexField;
+ private long ManageTaskIndexField;
private int MonitorIndexField;
@@ -363,7 +363,7 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
}
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
- public int ManageTaskIndex {
+ public long ManageTaskIndex {
get {
return this.ManageTaskIndexField;
}
@@ -938,165 +938,205 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="WcfControlMonitor.IControlMonitor", CallbackContract=typeof(wcfControlMonitorClient.WcfControlMonitor.IControlMonitorCallback))]
public interface IControlMonitor {
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
- bool ShutDownControlSystem(out string ErrText);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
+ bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
- System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
+ System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState);
- bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result);
+ bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
- bool StartGetALLDeviceState(out string Errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
+ Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
- System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
+ System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState);
- bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result);
+ Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
- bool StartSendDeviceOrder(out string Errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
+ Model.MRoute[] GetAllRouteinfo(out string errorText);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
- System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
+ System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState);
- bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result);
+ Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
- bool DataClear(out string Errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
+ Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
- System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
+ System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
- bool EndDataClear(out string Errtext, System.IAsyncResult result);
+ Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
- int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
- System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
+ System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
- int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
- int GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
- System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
+ System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
- int EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
- int GetDeviceKindIndex(out string errtext, int deviceIndex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
- System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
+ System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
- int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
- bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
+ bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
- System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
+ System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState);
- bool EndSendDeviceReset(out string errtext, System.IAsyncResult result);
+ bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
- bool Heartbeat(out Model.MonitorInfo monitorinfo);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
+ bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
- System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
+ System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState);
- bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result);
+ bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
- System.Data.DataTable GetDataView(out string errtext, string SQL);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
+ bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
- System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
+ System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState);
- System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result);
+ bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
- int ExeSQLNoneQuery(out string errtext, string SQL);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
- System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
+ System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState);
- int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
- System.Data.DataTable GetManDataView(out string errtext, string SQL);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
+ string[] GetLanguageFields(out string errorText);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
- System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
+ System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState);
- System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result);
+ string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
- int ExeManSQLNoneQuery(out string errtext, string SQL);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
- System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
+ System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState);
- int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
- bool GetAllManageTask(out string errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
+ wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
- System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
+ System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState);
- bool EndGetAllManageTask(out string errtext, System.IAsyncResult result);
+ wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
- bool DisassembleTask(out string errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
+ bool RefreshMonitoringMode();
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
- System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
+ System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState);
- bool EndDisassembleTask(out string errtext, System.IAsyncResult result);
+ bool EndRefreshMonitoringMode(System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
- bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
+ bool RegisterClient(out string errText, string userID, string userDescription);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
- System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
+ System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState);
- bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result);
+ bool EndRegisterClient(out string errText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
- bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
+ bool LogoutClient(out string errText, string userID);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
- System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
+ System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState);
- bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result);
+ bool EndLogoutClient(out string errText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
- Model.MDevice SendAllDeviceStates(int device);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
+ bool ObtainTask(string laneway, string Order);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
- System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
+ System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState);
- Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result);
+ bool EndObtainTask(System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
- bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
+ bool StopObtainTask();
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
- System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
+ System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState);
- bool EndWriteDBData(out string errtext, System.IAsyncResult result);
+ bool EndStopObtainTask(System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
- bool ReConnectOPCServer();
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
+ bool OrderTurnOn();
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
- System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
+ System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState);
- bool EndReConnectOPCServer(System.IAsyncResult result);
+ bool EndOrderTurnOn(System.IAsyncResult result);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
+ bool OrderTurnOff();
+
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
+ System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState);
+
+ bool EndOrderTurnOff(System.IAsyncResult result);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
+ bool DeviceCommunicationInit(out string ErrText, string CommunicationType);
+
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
+ System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState);
+
+ bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
+ System.Data.DataTable GetUsers(out string Errtext);
+
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
+ System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState);
+
+ System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
+ bool BuildHandTask(out string Errtext, Model.HandTask Handtask);
+
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
+ System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState);
+
+ bool EndBuildHandTask(out string Errtext, System.IAsyncResult result);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
+ bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName);
+
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
+ System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState);
+
+ bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildAutoTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildAutoTaskResponse")]
bool BuildAutoTask(out string Errtext, Model.AutoTask Autotask);
@@ -1107,10 +1147,10 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
bool EndBuildAutoTask(out string Errtext, System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ModifyManageTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskResponse")]
- bool ModifyManageTask(out string Errtext, int ManKind, int ManagetaskID, int ActionID);
+ bool ModifyManageTask(out string Errtext, int ManKind, long ManagetaskID, int ActionID);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ModifyManageTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskResponse")]
- System.IAsyncResult BeginModifyManageTask(int ManKind, int ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState);
+ System.IAsyncResult BeginModifyManageTask(int ManKind, long ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState);
bool EndModifyManageTask(out string Errtext, System.IAsyncResult result);
@@ -1298,205 +1338,173 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
string EndGetUserPassword(out string Errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
- bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
+ bool ShutDownControlSystem(out string ErrText);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
- System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
+ System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState);
- bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result);
+ bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
- Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
+ bool StartGetALLDeviceState(out string Errtext);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
- System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState);
-
- Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
- Model.MRoute[] GetAllRouteinfo(out string errorText);
-
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
- System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState);
-
- Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
- Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex);
-
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
- System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
-
- Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
- wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content);
-
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
- System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
-
- wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
- wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content);
-
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
- System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
+ System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState);
- wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result);
+ bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
- wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
+ bool StartSendDeviceOrder(out string Errtext);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
- System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
+ System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState);
- wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result);
+ bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
- bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
+ bool DataClear(out string Errtext);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
- System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
+ System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState);
- bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result);
+ bool EndDataClear(out string Errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
- bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
+ int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
- System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
+ System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
- bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result);
+ int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
- bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
+ long GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
- System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
+ System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
- bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result);
+ long EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
- wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
+ int GetDeviceKindIndex(out string errtext, int deviceIndex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
- System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
+ System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState);
- wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result);
+ int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
- string[] GetLanguageFields(out string errorText);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
+ bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
- System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
+ System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState);
- string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result);
+ bool EndSendDeviceReset(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
- wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
+ bool Heartbeat(out Model.MonitorInfo monitorinfo);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
- System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
+ System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState);
- wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result);
+ bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
- wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
+ System.Data.DataTable GetDataView(out string errtext, string SQL);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
- System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
+ System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState);
- wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result);
+ System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
- bool RefreshMonitoringMode();
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
+ int ExeSQLNoneQuery(out string errtext, string SQL);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
- System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
+ System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
- bool EndRefreshMonitoringMode(System.IAsyncResult result);
+ int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
- bool RegisterClient(out string errText, string userID, string userDescription);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
+ System.Data.DataTable GetManDataView(out string errtext, string SQL);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
- System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
+ System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState);
- bool EndRegisterClient(out string errText, System.IAsyncResult result);
+ System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
- bool LogoutClient(out string errText, string userID);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
+ int ExeManSQLNoneQuery(out string errtext, string SQL);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
- System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
+ System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
- bool EndLogoutClient(out string errText, System.IAsyncResult result);
+ int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
- bool ObtainTask(string laneway, string Order);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
+ bool GetAllManageTask(out string errtext);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
- System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
+ System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState);
- bool EndObtainTask(System.IAsyncResult result);
+ bool EndGetAllManageTask(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
- bool StopObtainTask();
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
+ bool DisassembleTask(out string errtext);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
- System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
+ System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState);
- bool EndStopObtainTask(System.IAsyncResult result);
+ bool EndDisassembleTask(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
- bool OrderTurnOn();
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
+ bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
- System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
+ System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState);
- bool EndOrderTurnOn(System.IAsyncResult result);
+ bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
- bool OrderTurnOff();
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
+ bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
- System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
+ System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState);
- bool EndOrderTurnOff(System.IAsyncResult result);
+ bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
- bool DeviceCommunicationInit(out string ErrText, string CommunicationType);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
+ Model.MDevice SendAllDeviceStates(int device);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
- System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
+ System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState);
- bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result);
+ Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
- System.Data.DataTable GetUsers(out string Errtext);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
+ bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
- System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
+ System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState);
- System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result);
+ bool EndWriteDBData(out string errtext, System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
- bool BuildHandTask(out string Errtext, Model.HandTask Handtask);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
+ bool ReConnectOPCServer();
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
- System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
+ System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState);
- bool EndBuildHandTask(out string Errtext, System.IAsyncResult result);
+ bool EndReConnectOPCServer(System.IAsyncResult result);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
- bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ActionError", ReplyAction="http://tempuri.org/IControlMonitor/ActionErrorResponse")]
+ void ActionError(int DeviceIdx, int TaskIdx, int ErrId);
- [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
- System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState);
+ [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ActionError", ReplyAction="http://tempuri.org/IControlMonitor/ActionErrorResponse")]
+ System.IAsyncResult BeginActionError(int DeviceIdx, int TaskIdx, int ErrId, System.AsyncCallback callback, object asyncState);
- bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result);
+ void EndActionError(System.IAsyncResult result);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
@@ -1533,198 +1541,212 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ShutDownControlSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetReadedAndReportedBarcodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public ShutDownControlSystemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetReadedAndReportedBarcodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string ErrText {
+ public string readedBarcode {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
+ public string reportedBarcode {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((string)(this.results[1]));
+ }
+ }
+
+ public string errorText {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((string)(this.results[2]));
+ }
+ }
+
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((bool)(this.results[3]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class StartGetALLDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDeviceAllErrorsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public StartGetALLDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDeviceAllErrorsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string Errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public bool Result {
+ public Model.MError Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((Model.MError)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class StartSendDeviceOrderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetAllRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public StartSendDeviceOrderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetAllRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string Errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public bool Result {
+ public Model.MRoute[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((Model.MRoute[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class DataClearCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDeviceJoinRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public DataClearCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDeviceJoinRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string Errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public bool Result {
+ public Model.MRoute[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((Model.MRoute[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetManageTaskKindFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetManageTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetManageTaskKindFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetManageTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public int Result {
+ public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((int)(this.results[1]));
+ return ((wcfControlMonitorClient.WcfControlMonitor.ManageTask[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetManageTaskIndexFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetMonitorTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetManageTaskIndexFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetMonitorTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public int Result {
+ public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((int)(this.results[1]));
+ return ((wcfControlMonitorClient.WcfControlMonitor.MonitorTask[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDeviceKindIndexCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDeviceKindIndexCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public int Result {
+ public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType Result {
get {
base.RaiseExceptionIfNecessary();
- return ((int)(this.results[1]));
+ return ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SendDeviceResetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SendDeviceResetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -1741,19 +1763,19 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class HeartbeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SetRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public HeartbeatCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SetRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public Model.MonitorInfo monitorinfo {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
- return ((Model.MonitorInfo)(this.results[0]));
+ return ((string)(this.results[0]));
}
}
@@ -1767,146 +1789,165 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SetDeviceJoinRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SetDeviceJoinRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public System.Data.DataTable Result {
+ public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((System.Data.DataTable)(this.results[1]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ExeSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetAllCellInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public ExeSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetAllCellInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public int Result {
+ public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((int)(this.results[1]));
+ return ((wcfControlMonitorClient.WcfControlMonitor.ST_Cell[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetManDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetLanguageFieldsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetManDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetLanguageFieldsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public System.Data.DataTable Result {
+ public string[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((System.Data.DataTable)(this.results[1]));
+ return ((string[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ExeManSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetLanguageContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public ExeManSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetLanguageContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public int Result {
+ public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] Result {
get {
base.RaiseExceptionIfNecessary();
- return ((int)(this.results[1]));
+ return ((wcfControlMonitorClient.WcfControlMonitor.LanguageContent[])(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetAllManageTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDevicesDicCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetAllManageTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDevicesDicCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errorText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
+ public wcfControlMonitorClient.WcfControlMonitor.DevicesDic Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((wcfControlMonitorClient.WcfControlMonitor.DevicesDic)(this.results[1]));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class RefreshMonitoringModeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ public RefreshMonitoringModeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((bool)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class DisassembleTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class RegisterClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public DisassembleTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public RegisterClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -1923,16 +1964,16 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SetLogicHaveGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class LogoutClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SetLogicHaveGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public LogoutClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string errText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -1949,16 +1990,92 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class DealWithDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public DealWithDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public ObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public bool Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class StopObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ public StopObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ public bool Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class OrderTurnOnCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ public OrderTurnOnCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ public bool Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class OrderTurnOffCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ public OrderTurnOffCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ public bool Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class DeviceCommunicationInitCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ public DeviceCommunicationInitCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ public string ErrText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -1975,35 +2092,42 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SendAllDeviceStatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SendAllDeviceStatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public Model.MDevice Result {
+ public string Errtext {
get {
base.RaiseExceptionIfNecessary();
- return ((Model.MDevice)(this.results[0]));
+ return ((string)(this.results[0]));
+ }
+ }
+
+ public System.Data.DataTable Result {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((System.Data.DataTable)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class WriteDBDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class BuildHandTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public WriteDBDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public BuildHandTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errtext {
+ public string Errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -2020,19 +2144,26 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ReConnectOPCServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class BuildHandAssociateTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public ReConnectOPCServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public BuildHandAssociateTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
+ public string Errtext {
+ get {
+ base.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
+ return ((bool)(this.results[1]));
}
}
}
@@ -2738,212 +2869,198 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetReadedAndReportedBarcodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ShutDownControlSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetReadedAndReportedBarcodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public ShutDownControlSystemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string readedBarcode {
+ public string ErrText {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public string reportedBarcode {
- get {
- base.RaiseExceptionIfNecessary();
- return ((string)(this.results[1]));
- }
- }
-
- public string errorText {
- get {
- base.RaiseExceptionIfNecessary();
- return ((string)(this.results[2]));
- }
- }
-
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[3]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDeviceAllErrorsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class StartGetALLDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDeviceAllErrorsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public StartGetALLDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string Errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public Model.MError Result {
+ public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((Model.MError)(this.results[1]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetAllRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class StartSendDeviceOrderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetAllRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public StartSendDeviceOrderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string Errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public Model.MRoute[] Result {
+ public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((Model.MRoute[])(this.results[1]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDeviceJoinRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class DataClearCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDeviceJoinRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public DataClearCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string Errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public Model.MRoute[] Result {
+ public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((Model.MRoute[])(this.results[1]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetManageTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetManageTaskKindFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetManageTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetManageTaskKindFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] Result {
+ public int Result {
get {
base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.ManageTask[])(this.results[1]));
+ return ((int)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetMonitorTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetManageTaskIndexFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetMonitorTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetManageTaskIndexFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] Result {
+ public long Result {
get {
base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.MonitorTask[])(this.results[1]));
+ return ((long)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDeviceKindIndexCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDeviceKindIndexCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType Result {
+ public int Result {
get {
base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(this.results[1]));
+ return ((int)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SendDeviceResetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SendDeviceResetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -2960,19 +3077,19 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SetRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class HeartbeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SetRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public HeartbeatCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public Model.MonitorInfo monitorinfo {
get {
base.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
+ return ((Model.MonitorInfo)(this.results[0]));
}
}
@@ -2986,165 +3103,146 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SetDeviceJoinRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public SetDeviceJoinRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public bool Result {
+ public System.Data.DataTable Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
+ return ((System.Data.DataTable)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetAllCellInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ExeSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetAllCellInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public ExeSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] Result {
+ public int Result {
get {
base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.ST_Cell[])(this.results[1]));
+ return ((int)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetLanguageFieldsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetManDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetLanguageFieldsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetManDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public string[] Result {
+ public System.Data.DataTable Result {
get {
base.RaiseExceptionIfNecessary();
- return ((string[])(this.results[1]));
+ return ((System.Data.DataTable)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetLanguageContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ExeManSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetLanguageContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public ExeManSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] Result {
+ public int Result {
get {
base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.LanguageContent[])(this.results[1]));
+ return ((int)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetDevicesDicCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class GetAllManageTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetDevicesDicCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public GetAllManageTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errorText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
- public wcfControlMonitorClient.WcfControlMonitor.DevicesDic Result {
- get {
- base.RaiseExceptionIfNecessary();
- return ((wcfControlMonitorClient.WcfControlMonitor.DevicesDic)(this.results[1]));
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class RefreshMonitoringModeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- public RefreshMonitoringModeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class RegisterClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class DisassembleTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public RegisterClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public DisassembleTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -3161,16 +3259,16 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class LogoutClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SetLogicHaveGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public LogoutClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SetLogicHaveGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string errText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -3187,92 +3285,61 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- public ObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- public bool Result {
- get {
- base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class StopObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class DealWithDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public StopObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public DealWithDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public bool Result {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
+ return ((string)(this.results[0]));
}
}
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class OrderTurnOnCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- public OrderTurnOnCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
+ return ((bool)(this.results[1]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class OrderTurnOffCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class SendAllDeviceStatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public OrderTurnOffCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public SendAllDeviceStatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public bool Result {
+ public Model.MDevice Result {
get {
base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[0]));
+ return ((Model.MDevice)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class DeviceCommunicationInitCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class WriteDBDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public DeviceCommunicationInitCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public WriteDBDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string ErrText {
+ public string errtext {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
@@ -3289,205 +3356,176 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class GetUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ReConnectOPCServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
- public GetUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ public ReConnectOPCServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
- public string Errtext {
- get {
- base.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
-
- public System.Data.DataTable Result {
+ public bool Result {
get {
base.RaiseExceptionIfNecessary();
- return ((System.Data.DataTable)(this.results[1]));
+ return ((bool)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class BuildHandTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ public partial class ControlMonitorClient : System.ServiceModel.DuplexClientBase, wcfControlMonitorClient.WcfControlMonitor.IControlMonitor {
- private object[] results;
+ private BeginOperationDelegate onBeginGetReadedAndReportedBarcodeDelegate;
- public BuildHandTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
+ private EndOperationDelegate onEndGetReadedAndReportedBarcodeDelegate;
- public string Errtext {
- get {
- base.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
+ private System.Threading.SendOrPostCallback onGetReadedAndReportedBarcodeCompletedDelegate;
- public bool Result {
- get {
- base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class BuildHandAssociateTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+ private BeginOperationDelegate onBeginGetDeviceAllErrorsDelegate;
- private object[] results;
+ private EndOperationDelegate onEndGetDeviceAllErrorsDelegate;
- public BuildHandAssociateTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
+ private System.Threading.SendOrPostCallback onGetDeviceAllErrorsCompletedDelegate;
- public string Errtext {
- get {
- base.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
+ private BeginOperationDelegate onBeginGetAllRouteinfoDelegate;
- public bool Result {
- get {
- base.RaiseExceptionIfNecessary();
- return ((bool)(this.results[1]));
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ControlMonitorClient : System.ServiceModel.DuplexClientBase, wcfControlMonitorClient.WcfControlMonitor.IControlMonitor {
+ private EndOperationDelegate onEndGetAllRouteinfoDelegate;
- private BeginOperationDelegate onBeginShutDownControlSystemDelegate;
+ private System.Threading.SendOrPostCallback onGetAllRouteinfoCompletedDelegate;
- private EndOperationDelegate onEndShutDownControlSystemDelegate;
+ private BeginOperationDelegate onBeginGetDeviceJoinRouteinfoDelegate;
- private System.Threading.SendOrPostCallback onShutDownControlSystemCompletedDelegate;
+ private EndOperationDelegate onEndGetDeviceJoinRouteinfoDelegate;
- private BeginOperationDelegate onBeginStartGetALLDeviceStateDelegate;
+ private System.Threading.SendOrPostCallback onGetDeviceJoinRouteinfoCompletedDelegate;
- private EndOperationDelegate onEndStartGetALLDeviceStateDelegate;
+ private BeginOperationDelegate onBeginGetManageTasksDelegate;
- private System.Threading.SendOrPostCallback onStartGetALLDeviceStateCompletedDelegate;
+ private EndOperationDelegate onEndGetManageTasksDelegate;
- private BeginOperationDelegate onBeginStartSendDeviceOrderDelegate;
+ private System.Threading.SendOrPostCallback onGetManageTasksCompletedDelegate;
- private EndOperationDelegate onEndStartSendDeviceOrderDelegate;
+ private BeginOperationDelegate onBeginGetMonitorTasksDelegate;
- private System.Threading.SendOrPostCallback onStartSendDeviceOrderCompletedDelegate;
+ private EndOperationDelegate onEndGetMonitorTasksDelegate;
- private BeginOperationDelegate onBeginDataClearDelegate;
+ private System.Threading.SendOrPostCallback onGetMonitorTasksCompletedDelegate;
- private EndOperationDelegate onEndDataClearDelegate;
+ private BeginOperationDelegate onBeginGetDeviceStateInfoDelegate;
- private System.Threading.SendOrPostCallback onDataClearCompletedDelegate;
+ private EndOperationDelegate onEndGetDeviceStateInfoDelegate;
- private BeginOperationDelegate onBeginGetManageTaskKindFromMonitorDelegate;
+ private System.Threading.SendOrPostCallback onGetDeviceStateInfoCompletedDelegate;
- private EndOperationDelegate onEndGetManageTaskKindFromMonitorDelegate;
+ private BeginOperationDelegate onBeginSetDeviceStateInfoDelegate;
- private System.Threading.SendOrPostCallback onGetManageTaskKindFromMonitorCompletedDelegate;
+ private EndOperationDelegate onEndSetDeviceStateInfoDelegate;
- private BeginOperationDelegate onBeginGetManageTaskIndexFromMonitorDelegate;
+ private System.Threading.SendOrPostCallback onSetDeviceStateInfoCompletedDelegate;
- private EndOperationDelegate onEndGetManageTaskIndexFromMonitorDelegate;
+ private BeginOperationDelegate onBeginSetRouteStateInfoDelegate;
- private System.Threading.SendOrPostCallback onGetManageTaskIndexFromMonitorCompletedDelegate;
+ private EndOperationDelegate onEndSetRouteStateInfoDelegate;
- private BeginOperationDelegate onBeginGetDeviceKindIndexDelegate;
+ private System.Threading.SendOrPostCallback onSetRouteStateInfoCompletedDelegate;
- private EndOperationDelegate onEndGetDeviceKindIndexDelegate;
+ private BeginOperationDelegate onBeginSetDeviceJoinRouteStateInfoDelegate;
- private System.Threading.SendOrPostCallback onGetDeviceKindIndexCompletedDelegate;
+ private EndOperationDelegate onEndSetDeviceJoinRouteStateInfoDelegate;
- private BeginOperationDelegate onBeginSendDeviceResetDelegate;
+ private System.Threading.SendOrPostCallback onSetDeviceJoinRouteStateInfoCompletedDelegate;
- private EndOperationDelegate onEndSendDeviceResetDelegate;
+ private BeginOperationDelegate onBeginGetAllCellInfosDelegate;
- private System.Threading.SendOrPostCallback onSendDeviceResetCompletedDelegate;
+ private EndOperationDelegate onEndGetAllCellInfosDelegate;
- private BeginOperationDelegate onBeginHeartbeatDelegate;
+ private System.Threading.SendOrPostCallback onGetAllCellInfosCompletedDelegate;
- private EndOperationDelegate onEndHeartbeatDelegate;
+ private BeginOperationDelegate onBeginGetLanguageFieldsDelegate;
- private System.Threading.SendOrPostCallback onHeartbeatCompletedDelegate;
+ private EndOperationDelegate onEndGetLanguageFieldsDelegate;
- private BeginOperationDelegate onBeginGetDataViewDelegate;
+ private System.Threading.SendOrPostCallback onGetLanguageFieldsCompletedDelegate;
- private EndOperationDelegate onEndGetDataViewDelegate;
+ private BeginOperationDelegate onBeginGetLanguageContentDelegate;
- private System.Threading.SendOrPostCallback onGetDataViewCompletedDelegate;
+ private EndOperationDelegate onEndGetLanguageContentDelegate;
- private BeginOperationDelegate onBeginExeSQLNoneQueryDelegate;
+ private System.Threading.SendOrPostCallback onGetLanguageContentCompletedDelegate;
- private EndOperationDelegate onEndExeSQLNoneQueryDelegate;
+ private BeginOperationDelegate onBeginGetDevicesDicDelegate;
- private System.Threading.SendOrPostCallback onExeSQLNoneQueryCompletedDelegate;
+ private EndOperationDelegate onEndGetDevicesDicDelegate;
- private BeginOperationDelegate onBeginGetManDataViewDelegate;
+ private System.Threading.SendOrPostCallback onGetDevicesDicCompletedDelegate;
- private EndOperationDelegate onEndGetManDataViewDelegate;
+ private BeginOperationDelegate onBeginRefreshMonitoringModeDelegate;
- private System.Threading.SendOrPostCallback onGetManDataViewCompletedDelegate;
+ private EndOperationDelegate onEndRefreshMonitoringModeDelegate;
- private BeginOperationDelegate onBeginExeManSQLNoneQueryDelegate;
+ private System.Threading.SendOrPostCallback onRefreshMonitoringModeCompletedDelegate;
- private EndOperationDelegate onEndExeManSQLNoneQueryDelegate;
+ private BeginOperationDelegate onBeginRegisterClientDelegate;
- private System.Threading.SendOrPostCallback onExeManSQLNoneQueryCompletedDelegate;
+ private EndOperationDelegate onEndRegisterClientDelegate;
- private BeginOperationDelegate onBeginGetAllManageTaskDelegate;
+ private System.Threading.SendOrPostCallback onRegisterClientCompletedDelegate;
- private EndOperationDelegate onEndGetAllManageTaskDelegate;
+ private BeginOperationDelegate onBeginLogoutClientDelegate;
- private System.Threading.SendOrPostCallback onGetAllManageTaskCompletedDelegate;
+ private EndOperationDelegate onEndLogoutClientDelegate;
- private BeginOperationDelegate onBeginDisassembleTaskDelegate;
+ private System.Threading.SendOrPostCallback onLogoutClientCompletedDelegate;
- private EndOperationDelegate onEndDisassembleTaskDelegate;
+ private BeginOperationDelegate onBeginObtainTaskDelegate;
- private System.Threading.SendOrPostCallback onDisassembleTaskCompletedDelegate;
+ private EndOperationDelegate onEndObtainTaskDelegate;
- private BeginOperationDelegate onBeginSetLogicHaveGoodsDelegate;
+ private System.Threading.SendOrPostCallback onObtainTaskCompletedDelegate;
- private EndOperationDelegate onEndSetLogicHaveGoodsDelegate;
+ private BeginOperationDelegate onBeginStopObtainTaskDelegate;
- private System.Threading.SendOrPostCallback onSetLogicHaveGoodsCompletedDelegate;
+ private EndOperationDelegate onEndStopObtainTaskDelegate;
- private BeginOperationDelegate onBeginDealWithDeviceStateDelegate;
+ private System.Threading.SendOrPostCallback onStopObtainTaskCompletedDelegate;
- private EndOperationDelegate onEndDealWithDeviceStateDelegate;
+ private BeginOperationDelegate onBeginOrderTurnOnDelegate;
- private System.Threading.SendOrPostCallback onDealWithDeviceStateCompletedDelegate;
+ private EndOperationDelegate onEndOrderTurnOnDelegate;
- private BeginOperationDelegate onBeginSendAllDeviceStatesDelegate;
+ private System.Threading.SendOrPostCallback onOrderTurnOnCompletedDelegate;
- private EndOperationDelegate onEndSendAllDeviceStatesDelegate;
+ private BeginOperationDelegate onBeginOrderTurnOffDelegate;
- private System.Threading.SendOrPostCallback onSendAllDeviceStatesCompletedDelegate;
+ private EndOperationDelegate onEndOrderTurnOffDelegate;
- private BeginOperationDelegate onBeginWriteDBDataDelegate;
+ private System.Threading.SendOrPostCallback onOrderTurnOffCompletedDelegate;
- private EndOperationDelegate onEndWriteDBDataDelegate;
+ private BeginOperationDelegate onBeginDeviceCommunicationInitDelegate;
- private System.Threading.SendOrPostCallback onWriteDBDataCompletedDelegate;
+ private EndOperationDelegate onEndDeviceCommunicationInitDelegate;
- private BeginOperationDelegate onBeginReConnectOPCServerDelegate;
+ private System.Threading.SendOrPostCallback onDeviceCommunicationInitCompletedDelegate;
- private EndOperationDelegate onEndReConnectOPCServerDelegate;
+ private BeginOperationDelegate onBeginGetUsersDelegate;
- private System.Threading.SendOrPostCallback onReConnectOPCServerCompletedDelegate;
+ private EndOperationDelegate onEndGetUsersDelegate;
+
+ private System.Threading.SendOrPostCallback onGetUsersCompletedDelegate;
+
+ private BeginOperationDelegate onBeginBuildHandTaskDelegate;
+
+ private EndOperationDelegate onEndBuildHandTaskDelegate;
+
+ private System.Threading.SendOrPostCallback onBuildHandTaskCompletedDelegate;
+
+ private BeginOperationDelegate onBeginBuildHandAssociateTaskDelegate;
+
+ private EndOperationDelegate onEndBuildHandAssociateTaskDelegate;
+
+ private System.Threading.SendOrPostCallback onBuildHandAssociateTaskCompletedDelegate;
private BeginOperationDelegate onBeginBuildAutoTaskDelegate;
@@ -3639,155 +3677,131 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
private System.Threading.SendOrPostCallback onGetUserPasswordCompletedDelegate;
- private BeginOperationDelegate onBeginGetReadedAndReportedBarcodeDelegate;
+ private BeginOperationDelegate onBeginShutDownControlSystemDelegate;
- private EndOperationDelegate onEndGetReadedAndReportedBarcodeDelegate;
+ private EndOperationDelegate onEndShutDownControlSystemDelegate;
- private System.Threading.SendOrPostCallback onGetReadedAndReportedBarcodeCompletedDelegate;
+ private System.Threading.SendOrPostCallback onShutDownControlSystemCompletedDelegate;
- private BeginOperationDelegate onBeginGetDeviceAllErrorsDelegate;
+ private BeginOperationDelegate onBeginStartGetALLDeviceStateDelegate;
- private EndOperationDelegate onEndGetDeviceAllErrorsDelegate;
+ private EndOperationDelegate onEndStartGetALLDeviceStateDelegate;
- private System.Threading.SendOrPostCallback onGetDeviceAllErrorsCompletedDelegate;
+ private System.Threading.SendOrPostCallback onStartGetALLDeviceStateCompletedDelegate;
- private BeginOperationDelegate onBeginGetAllRouteinfoDelegate;
+ private BeginOperationDelegate onBeginStartSendDeviceOrderDelegate;
- private EndOperationDelegate onEndGetAllRouteinfoDelegate;
+ private EndOperationDelegate onEndStartSendDeviceOrderDelegate;
- private System.Threading.SendOrPostCallback onGetAllRouteinfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onStartSendDeviceOrderCompletedDelegate;
- private BeginOperationDelegate onBeginGetDeviceJoinRouteinfoDelegate;
+ private BeginOperationDelegate onBeginDataClearDelegate;
- private EndOperationDelegate onEndGetDeviceJoinRouteinfoDelegate;
+ private EndOperationDelegate onEndDataClearDelegate;
- private System.Threading.SendOrPostCallback onGetDeviceJoinRouteinfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onDataClearCompletedDelegate;
- private BeginOperationDelegate onBeginGetManageTasksDelegate;
+ private BeginOperationDelegate onBeginGetManageTaskKindFromMonitorDelegate;
- private EndOperationDelegate onEndGetManageTasksDelegate;
+ private EndOperationDelegate onEndGetManageTaskKindFromMonitorDelegate;
- private System.Threading.SendOrPostCallback onGetManageTasksCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetManageTaskKindFromMonitorCompletedDelegate;
- private BeginOperationDelegate onBeginGetMonitorTasksDelegate;
+ private BeginOperationDelegate onBeginGetManageTaskIndexFromMonitorDelegate;
- private EndOperationDelegate onEndGetMonitorTasksDelegate;
+ private EndOperationDelegate onEndGetManageTaskIndexFromMonitorDelegate;
- private System.Threading.SendOrPostCallback onGetMonitorTasksCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetManageTaskIndexFromMonitorCompletedDelegate;
- private BeginOperationDelegate onBeginGetDeviceStateInfoDelegate;
+ private BeginOperationDelegate onBeginGetDeviceKindIndexDelegate;
- private EndOperationDelegate onEndGetDeviceStateInfoDelegate;
+ private EndOperationDelegate onEndGetDeviceKindIndexDelegate;
- private System.Threading.SendOrPostCallback onGetDeviceStateInfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetDeviceKindIndexCompletedDelegate;
- private BeginOperationDelegate onBeginSetDeviceStateInfoDelegate;
+ private BeginOperationDelegate onBeginSendDeviceResetDelegate;
- private EndOperationDelegate onEndSetDeviceStateInfoDelegate;
+ private EndOperationDelegate onEndSendDeviceResetDelegate;
- private System.Threading.SendOrPostCallback onSetDeviceStateInfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onSendDeviceResetCompletedDelegate;
- private BeginOperationDelegate onBeginSetRouteStateInfoDelegate;
+ private BeginOperationDelegate onBeginHeartbeatDelegate;
- private EndOperationDelegate onEndSetRouteStateInfoDelegate;
+ private EndOperationDelegate onEndHeartbeatDelegate;
- private System.Threading.SendOrPostCallback onSetRouteStateInfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onHeartbeatCompletedDelegate;
- private BeginOperationDelegate onBeginSetDeviceJoinRouteStateInfoDelegate;
+ private BeginOperationDelegate onBeginGetDataViewDelegate;
- private EndOperationDelegate onEndSetDeviceJoinRouteStateInfoDelegate;
+ private EndOperationDelegate onEndGetDataViewDelegate;
- private System.Threading.SendOrPostCallback onSetDeviceJoinRouteStateInfoCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetDataViewCompletedDelegate;
- private BeginOperationDelegate onBeginGetAllCellInfosDelegate;
+ private BeginOperationDelegate onBeginExeSQLNoneQueryDelegate;
- private EndOperationDelegate onEndGetAllCellInfosDelegate;
+ private EndOperationDelegate onEndExeSQLNoneQueryDelegate;
- private System.Threading.SendOrPostCallback onGetAllCellInfosCompletedDelegate;
+ private System.Threading.SendOrPostCallback onExeSQLNoneQueryCompletedDelegate;
- private BeginOperationDelegate onBeginGetLanguageFieldsDelegate;
+ private BeginOperationDelegate onBeginGetManDataViewDelegate;
- private EndOperationDelegate onEndGetLanguageFieldsDelegate;
+ private EndOperationDelegate onEndGetManDataViewDelegate;
- private System.Threading.SendOrPostCallback onGetLanguageFieldsCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetManDataViewCompletedDelegate;
- private BeginOperationDelegate onBeginGetLanguageContentDelegate;
+ private BeginOperationDelegate onBeginExeManSQLNoneQueryDelegate;
- private EndOperationDelegate onEndGetLanguageContentDelegate;
+ private EndOperationDelegate onEndExeManSQLNoneQueryDelegate;
- private System.Threading.SendOrPostCallback onGetLanguageContentCompletedDelegate;
+ private System.Threading.SendOrPostCallback onExeManSQLNoneQueryCompletedDelegate;
- private BeginOperationDelegate onBeginGetDevicesDicDelegate;
+ private BeginOperationDelegate onBeginGetAllManageTaskDelegate;
- private EndOperationDelegate onEndGetDevicesDicDelegate;
+ private EndOperationDelegate onEndGetAllManageTaskDelegate;
- private System.Threading.SendOrPostCallback onGetDevicesDicCompletedDelegate;
-
- private BeginOperationDelegate onBeginRefreshMonitoringModeDelegate;
-
- private EndOperationDelegate onEndRefreshMonitoringModeDelegate;
-
- private System.Threading.SendOrPostCallback onRefreshMonitoringModeCompletedDelegate;
-
- private BeginOperationDelegate onBeginRegisterClientDelegate;
-
- private EndOperationDelegate onEndRegisterClientDelegate;
-
- private System.Threading.SendOrPostCallback onRegisterClientCompletedDelegate;
-
- private BeginOperationDelegate onBeginLogoutClientDelegate;
-
- private EndOperationDelegate onEndLogoutClientDelegate;
-
- private System.Threading.SendOrPostCallback onLogoutClientCompletedDelegate;
-
- private BeginOperationDelegate onBeginObtainTaskDelegate;
-
- private EndOperationDelegate onEndObtainTaskDelegate;
-
- private System.Threading.SendOrPostCallback onObtainTaskCompletedDelegate;
+ private System.Threading.SendOrPostCallback onGetAllManageTaskCompletedDelegate;
- private BeginOperationDelegate onBeginStopObtainTaskDelegate;
+ private BeginOperationDelegate onBeginDisassembleTaskDelegate;
- private EndOperationDelegate onEndStopObtainTaskDelegate;
+ private EndOperationDelegate onEndDisassembleTaskDelegate;
- private System.Threading.SendOrPostCallback onStopObtainTaskCompletedDelegate;
+ private System.Threading.SendOrPostCallback onDisassembleTaskCompletedDelegate;
- private BeginOperationDelegate onBeginOrderTurnOnDelegate;
+ private BeginOperationDelegate onBeginSetLogicHaveGoodsDelegate;
- private EndOperationDelegate onEndOrderTurnOnDelegate;
+ private EndOperationDelegate onEndSetLogicHaveGoodsDelegate;
- private System.Threading.SendOrPostCallback onOrderTurnOnCompletedDelegate;
+ private System.Threading.SendOrPostCallback onSetLogicHaveGoodsCompletedDelegate;
- private BeginOperationDelegate onBeginOrderTurnOffDelegate;
+ private BeginOperationDelegate onBeginDealWithDeviceStateDelegate;
- private EndOperationDelegate onEndOrderTurnOffDelegate;
+ private EndOperationDelegate onEndDealWithDeviceStateDelegate;
- private System.Threading.SendOrPostCallback onOrderTurnOffCompletedDelegate;
+ private System.Threading.SendOrPostCallback onDealWithDeviceStateCompletedDelegate;
- private BeginOperationDelegate onBeginDeviceCommunicationInitDelegate;
+ private BeginOperationDelegate onBeginSendAllDeviceStatesDelegate;
- private EndOperationDelegate onEndDeviceCommunicationInitDelegate;
+ private EndOperationDelegate onEndSendAllDeviceStatesDelegate;
- private System.Threading.SendOrPostCallback onDeviceCommunicationInitCompletedDelegate;
+ private System.Threading.SendOrPostCallback onSendAllDeviceStatesCompletedDelegate;
- private BeginOperationDelegate onBeginGetUsersDelegate;
+ private BeginOperationDelegate onBeginWriteDBDataDelegate;
- private EndOperationDelegate onEndGetUsersDelegate;
+ private EndOperationDelegate onEndWriteDBDataDelegate;
- private System.Threading.SendOrPostCallback onGetUsersCompletedDelegate;
+ private System.Threading.SendOrPostCallback onWriteDBDataCompletedDelegate;
- private BeginOperationDelegate onBeginBuildHandTaskDelegate;
+ private BeginOperationDelegate onBeginReConnectOPCServerDelegate;
- private EndOperationDelegate onEndBuildHandTaskDelegate;
+ private EndOperationDelegate onEndReConnectOPCServerDelegate;
- private System.Threading.SendOrPostCallback onBuildHandTaskCompletedDelegate;
+ private System.Threading.SendOrPostCallback onReConnectOPCServerCompletedDelegate;
- private BeginOperationDelegate onBeginBuildHandAssociateTaskDelegate;
+ private BeginOperationDelegate onBeginActionErrorDelegate;
- private EndOperationDelegate onEndBuildHandAssociateTaskDelegate;
+ private EndOperationDelegate onEndActionErrorDelegate;
- private System.Threading.SendOrPostCallback onBuildHandAssociateTaskCompletedDelegate;
+ private System.Threading.SendOrPostCallback onActionErrorCompletedDelegate;
public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance) :
base(callbackInstance) {
@@ -3809,45 +3823,55 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
base(callbackInstance, binding, remoteAddress) {
}
- public event System.EventHandler ShutDownControlSystemCompleted;
+ public event System.EventHandler GetReadedAndReportedBarcodeCompleted;
- public event System.EventHandler StartGetALLDeviceStateCompleted;
+ public event System.EventHandler GetDeviceAllErrorsCompleted;
- public event System.EventHandler StartSendDeviceOrderCompleted;
+ public event System.EventHandler GetAllRouteinfoCompleted;
- public event System.EventHandler DataClearCompleted;
+ public event System.EventHandler GetDeviceJoinRouteinfoCompleted;
- public event System.EventHandler GetManageTaskKindFromMonitorCompleted;
+ public event System.EventHandler GetManageTasksCompleted;
- public event System.EventHandler GetManageTaskIndexFromMonitorCompleted;
+ public event System.EventHandler GetMonitorTasksCompleted;
- public event System.EventHandler GetDeviceKindIndexCompleted;
+ public event System.EventHandler GetDeviceStateInfoCompleted;
- public event System.EventHandler SendDeviceResetCompleted;
+ public event System.EventHandler SetDeviceStateInfoCompleted;
- public event System.EventHandler HeartbeatCompleted;
+ public event System.EventHandler SetRouteStateInfoCompleted;
- public event System.EventHandler GetDataViewCompleted;
+ public event System.EventHandler SetDeviceJoinRouteStateInfoCompleted;
- public event System.EventHandler ExeSQLNoneQueryCompleted;
+ public event System.EventHandler GetAllCellInfosCompleted;
- public event System.EventHandler GetManDataViewCompleted;
+ public event System.EventHandler GetLanguageFieldsCompleted;
- public event System.EventHandler ExeManSQLNoneQueryCompleted;
+ public event System.EventHandler GetLanguageContentCompleted;
- public event System.EventHandler GetAllManageTaskCompleted;
+ public event System.EventHandler GetDevicesDicCompleted;
- public event System.EventHandler DisassembleTaskCompleted;
+ public event System.EventHandler RefreshMonitoringModeCompleted;
- public event System.EventHandler SetLogicHaveGoodsCompleted;
+ public event System.EventHandler RegisterClientCompleted;
- public event System.EventHandler DealWithDeviceStateCompleted;
+ public event System.EventHandler LogoutClientCompleted;
- public event System.EventHandler SendAllDeviceStatesCompleted;
+ public event System.EventHandler ObtainTaskCompleted;
- public event System.EventHandler WriteDBDataCompleted;
+ public event System.EventHandler StopObtainTaskCompleted;
- public event System.EventHandler ReConnectOPCServerCompleted;
+ public event System.EventHandler OrderTurnOnCompleted;
+
+ public event System.EventHandler OrderTurnOffCompleted;
+
+ public event System.EventHandler DeviceCommunicationInitCompleted;
+
+ public event System.EventHandler GetUsersCompleted;
+
+ public event System.EventHandler BuildHandTaskCompleted;
+
+ public event System.EventHandler BuildHandAssociateTaskCompleted;
public event System.EventHandler BuildAutoTaskCompleted;
@@ -3899,3732 +3923,3777 @@ namespace wcfControlMonitorClient.WcfControlMonitor {
public event System.EventHandler GetUserPasswordCompleted;
- public event System.EventHandler GetReadedAndReportedBarcodeCompleted;
-
- public event System.EventHandler GetDeviceAllErrorsCompleted;
-
- public event System.EventHandler GetAllRouteinfoCompleted;
-
- public event System.EventHandler GetDeviceJoinRouteinfoCompleted;
-
- public event System.EventHandler GetManageTasksCompleted;
+ public event System.EventHandler ShutDownControlSystemCompleted;
- public event System.EventHandler GetMonitorTasksCompleted;
+ public event System.EventHandler StartGetALLDeviceStateCompleted;
- public event System.EventHandler GetDeviceStateInfoCompleted;
+ public event System.EventHandler StartSendDeviceOrderCompleted;
- public event System.EventHandler SetDeviceStateInfoCompleted;
+ public event System.EventHandler DataClearCompleted;
- public event System.EventHandler SetRouteStateInfoCompleted;
+ public event System.EventHandler GetManageTaskKindFromMonitorCompleted;
- public event System.EventHandler SetDeviceJoinRouteStateInfoCompleted;
+ public event System.EventHandler GetManageTaskIndexFromMonitorCompleted;
- public event System.EventHandler GetAllCellInfosCompleted;
+ public event System.EventHandler GetDeviceKindIndexCompleted;
- public event System.EventHandler GetLanguageFieldsCompleted;
+ public event System.EventHandler SendDeviceResetCompleted;
- public event System.EventHandler GetLanguageContentCompleted;
+ public event System.EventHandler HeartbeatCompleted;
- public event System.EventHandler GetDevicesDicCompleted;
+ public event System.EventHandler GetDataViewCompleted;
- public event System.EventHandler RefreshMonitoringModeCompleted;
+ public event System.EventHandler ExeSQLNoneQueryCompleted;
- public event System.EventHandler RegisterClientCompleted;
+ public event System.EventHandler GetManDataViewCompleted;
- public event System.EventHandler LogoutClientCompleted;
+ public event System.EventHandler ExeManSQLNoneQueryCompleted;
- public event System.EventHandler ObtainTaskCompleted;
+ public event System.EventHandler GetAllManageTaskCompleted;
- public event System.EventHandler StopObtainTaskCompleted;
+ public event System.EventHandler DisassembleTaskCompleted;
- public event System.EventHandler OrderTurnOnCompleted;
+ public event System.EventHandler SetLogicHaveGoodsCompleted;
- public event System.EventHandler OrderTurnOffCompleted;
+ public event System.EventHandler DealWithDeviceStateCompleted;
- public event System.EventHandler DeviceCommunicationInitCompleted;
+ public event System.EventHandler SendAllDeviceStatesCompleted;
- public event System.EventHandler GetUsersCompleted;
+ public event System.EventHandler WriteDBDataCompleted;
- public event System.EventHandler BuildHandTaskCompleted;
+ public event System.EventHandler ReConnectOPCServerCompleted;
- public event System.EventHandler BuildHandAssociateTaskCompleted;
+ public event System.EventHandler ActionErrorCompleted;
- public bool ShutDownControlSystem(out string ErrText) {
- return base.Channel.ShutDownControlSystem(out ErrText);
+ public bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode) {
+ return base.Channel.GetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, bindDeviceOfBarcode);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginShutDownControlSystem(callback, asyncState);
+ public System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result) {
- return base.Channel.EndShutDownControlSystem(out ErrText, result);
+ public bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
}
- private System.IAsyncResult OnBeginShutDownControlSystem(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginShutDownControlSystem(callback, asyncState);
+ private System.IAsyncResult OnBeginGetReadedAndReportedBarcode(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int bindDeviceOfBarcode = ((int)(inValues[0]));
+ return this.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
}
- private object[] OnEndShutDownControlSystem(System.IAsyncResult result) {
- string ErrText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndShutDownControlSystem(out ErrText, result);
+ private object[] OnEndGetReadedAndReportedBarcode(System.IAsyncResult result) {
+ string readedBarcode = this.GetDefaultValueForInitialization();
+ string reportedBarcode = this.GetDefaultValueForInitialization();
+ string errorText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
return new object[] {
- ErrText,
+ readedBarcode,
+ reportedBarcode,
+ errorText,
retVal};
}
- private void OnShutDownControlSystemCompleted(object state) {
- if ((this.ShutDownControlSystemCompleted != null)) {
+ private void OnGetReadedAndReportedBarcodeCompleted(object state) {
+ if ((this.GetReadedAndReportedBarcodeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ShutDownControlSystemCompleted(this, new ShutDownControlSystemCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetReadedAndReportedBarcodeCompleted(this, new GetReadedAndReportedBarcodeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ShutDownControlSystemAsync() {
- this.ShutDownControlSystemAsync(null);
+ public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode) {
+ this.GetReadedAndReportedBarcodeAsync(bindDeviceOfBarcode, null);
}
- public void ShutDownControlSystemAsync(object userState) {
- if ((this.onBeginShutDownControlSystemDelegate == null)) {
- this.onBeginShutDownControlSystemDelegate = new BeginOperationDelegate(this.OnBeginShutDownControlSystem);
+ public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode, object userState) {
+ if ((this.onBeginGetReadedAndReportedBarcodeDelegate == null)) {
+ this.onBeginGetReadedAndReportedBarcodeDelegate = new BeginOperationDelegate(this.OnBeginGetReadedAndReportedBarcode);
}
- if ((this.onEndShutDownControlSystemDelegate == null)) {
- this.onEndShutDownControlSystemDelegate = new EndOperationDelegate(this.OnEndShutDownControlSystem);
+ if ((this.onEndGetReadedAndReportedBarcodeDelegate == null)) {
+ this.onEndGetReadedAndReportedBarcodeDelegate = new EndOperationDelegate(this.OnEndGetReadedAndReportedBarcode);
}
- if ((this.onShutDownControlSystemCompletedDelegate == null)) {
- this.onShutDownControlSystemCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutDownControlSystemCompleted);
+ if ((this.onGetReadedAndReportedBarcodeCompletedDelegate == null)) {
+ this.onGetReadedAndReportedBarcodeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetReadedAndReportedBarcodeCompleted);
}
- base.InvokeAsync(this.onBeginShutDownControlSystemDelegate, null, this.onEndShutDownControlSystemDelegate, this.onShutDownControlSystemCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetReadedAndReportedBarcodeDelegate, new object[] {
+ bindDeviceOfBarcode}, this.onEndGetReadedAndReportedBarcodeDelegate, this.onGetReadedAndReportedBarcodeCompletedDelegate, userState);
}
- public bool StartGetALLDeviceState(out string Errtext) {
- return base.Channel.StartGetALLDeviceState(out Errtext);
+ public Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex) {
+ return base.Channel.GetDeviceAllErrors(out errorText, deviceKindIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginStartGetALLDeviceState(callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndStartGetALLDeviceState(out Errtext, result);
+ public Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceAllErrors(out errorText, result);
}
- private System.IAsyncResult OnBeginStartGetALLDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginStartGetALLDeviceState(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDeviceAllErrors(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceKindIndex = ((int)(inValues[0]));
+ return this.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
}
- private object[] OnEndStartGetALLDeviceState(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndStartGetALLDeviceState(out Errtext, result);
+ private object[] OnEndGetDeviceAllErrors(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ Model.MError retVal = this.EndGetDeviceAllErrors(out errorText, result);
return new object[] {
- Errtext,
+ errorText,
retVal};
}
- private void OnStartGetALLDeviceStateCompleted(object state) {
- if ((this.StartGetALLDeviceStateCompleted != null)) {
+ private void OnGetDeviceAllErrorsCompleted(object state) {
+ if ((this.GetDeviceAllErrorsCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.StartGetALLDeviceStateCompleted(this, new StartGetALLDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceAllErrorsCompleted(this, new GetDeviceAllErrorsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void StartGetALLDeviceStateAsync() {
- this.StartGetALLDeviceStateAsync(null);
+ public void GetDeviceAllErrorsAsync(int deviceKindIndex) {
+ this.GetDeviceAllErrorsAsync(deviceKindIndex, null);
}
- public void StartGetALLDeviceStateAsync(object userState) {
- if ((this.onBeginStartGetALLDeviceStateDelegate == null)) {
- this.onBeginStartGetALLDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginStartGetALLDeviceState);
+ public void GetDeviceAllErrorsAsync(int deviceKindIndex, object userState) {
+ if ((this.onBeginGetDeviceAllErrorsDelegate == null)) {
+ this.onBeginGetDeviceAllErrorsDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceAllErrors);
}
- if ((this.onEndStartGetALLDeviceStateDelegate == null)) {
- this.onEndStartGetALLDeviceStateDelegate = new EndOperationDelegate(this.OnEndStartGetALLDeviceState);
+ if ((this.onEndGetDeviceAllErrorsDelegate == null)) {
+ this.onEndGetDeviceAllErrorsDelegate = new EndOperationDelegate(this.OnEndGetDeviceAllErrors);
}
- if ((this.onStartGetALLDeviceStateCompletedDelegate == null)) {
- this.onStartGetALLDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartGetALLDeviceStateCompleted);
+ if ((this.onGetDeviceAllErrorsCompletedDelegate == null)) {
+ this.onGetDeviceAllErrorsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceAllErrorsCompleted);
}
- base.InvokeAsync(this.onBeginStartGetALLDeviceStateDelegate, null, this.onEndStartGetALLDeviceStateDelegate, this.onStartGetALLDeviceStateCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceAllErrorsDelegate, new object[] {
+ deviceKindIndex}, this.onEndGetDeviceAllErrorsDelegate, this.onGetDeviceAllErrorsCompletedDelegate, userState);
}
- public bool StartSendDeviceOrder(out string Errtext) {
- return base.Channel.StartSendDeviceOrder(out Errtext);
+ public Model.MRoute[] GetAllRouteinfo(out string errorText) {
+ return base.Channel.GetAllRouteinfo(out errorText);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginStartSendDeviceOrder(callback, asyncState);
+ public System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetAllRouteinfo(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndStartSendDeviceOrder(out Errtext, result);
+ public Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetAllRouteinfo(out errorText, result);
}
- private System.IAsyncResult OnBeginStartSendDeviceOrder(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginStartSendDeviceOrder(callback, asyncState);
+ private System.IAsyncResult OnBeginGetAllRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetAllRouteinfo(callback, asyncState);
}
- private object[] OnEndStartSendDeviceOrder(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndStartSendDeviceOrder(out Errtext, result);
+ private object[] OnEndGetAllRouteinfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ Model.MRoute[] retVal = this.EndGetAllRouteinfo(out errorText, result);
return new object[] {
- Errtext,
+ errorText,
retVal};
}
- private void OnStartSendDeviceOrderCompleted(object state) {
- if ((this.StartSendDeviceOrderCompleted != null)) {
+ private void OnGetAllRouteinfoCompleted(object state) {
+ if ((this.GetAllRouteinfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.StartSendDeviceOrderCompleted(this, new StartSendDeviceOrderCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetAllRouteinfoCompleted(this, new GetAllRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void StartSendDeviceOrderAsync() {
- this.StartSendDeviceOrderAsync(null);
+ public void GetAllRouteinfoAsync() {
+ this.GetAllRouteinfoAsync(null);
}
- public void StartSendDeviceOrderAsync(object userState) {
- if ((this.onBeginStartSendDeviceOrderDelegate == null)) {
- this.onBeginStartSendDeviceOrderDelegate = new BeginOperationDelegate(this.OnBeginStartSendDeviceOrder);
+ public void GetAllRouteinfoAsync(object userState) {
+ if ((this.onBeginGetAllRouteinfoDelegate == null)) {
+ this.onBeginGetAllRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetAllRouteinfo);
}
- if ((this.onEndStartSendDeviceOrderDelegate == null)) {
- this.onEndStartSendDeviceOrderDelegate = new EndOperationDelegate(this.OnEndStartSendDeviceOrder);
+ if ((this.onEndGetAllRouteinfoDelegate == null)) {
+ this.onEndGetAllRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetAllRouteinfo);
}
- if ((this.onStartSendDeviceOrderCompletedDelegate == null)) {
- this.onStartSendDeviceOrderCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartSendDeviceOrderCompleted);
+ if ((this.onGetAllRouteinfoCompletedDelegate == null)) {
+ this.onGetAllRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllRouteinfoCompleted);
}
- base.InvokeAsync(this.onBeginStartSendDeviceOrderDelegate, null, this.onEndStartSendDeviceOrderDelegate, this.onStartSendDeviceOrderCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetAllRouteinfoDelegate, null, this.onEndGetAllRouteinfoDelegate, this.onGetAllRouteinfoCompletedDelegate, userState);
}
- public bool DataClear(out string Errtext) {
- return base.Channel.DataClear(out Errtext);
+ public Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex) {
+ return base.Channel.GetDeviceJoinRouteinfo(out errorText, deviceIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginDataClear(callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndDataClear(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndDataClear(out Errtext, result);
+ public Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceJoinRouteinfo(out errorText, result);
}
- private System.IAsyncResult OnBeginDataClear(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginDataClear(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDeviceJoinRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ return this.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
}
- private object[] OnEndDataClear(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndDataClear(out Errtext, result);
+ private object[] OnEndGetDeviceJoinRouteinfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ Model.MRoute[] retVal = this.EndGetDeviceJoinRouteinfo(out errorText, result);
return new object[] {
- Errtext,
+ errorText,
retVal};
}
- private void OnDataClearCompleted(object state) {
- if ((this.DataClearCompleted != null)) {
+ private void OnGetDeviceJoinRouteinfoCompleted(object state) {
+ if ((this.GetDeviceJoinRouteinfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.DataClearCompleted(this, new DataClearCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceJoinRouteinfoCompleted(this, new GetDeviceJoinRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void DataClearAsync() {
- this.DataClearAsync(null);
+ public void GetDeviceJoinRouteinfoAsync(int deviceIndex) {
+ this.GetDeviceJoinRouteinfoAsync(deviceIndex, null);
}
- public void DataClearAsync(object userState) {
- if ((this.onBeginDataClearDelegate == null)) {
- this.onBeginDataClearDelegate = new BeginOperationDelegate(this.OnBeginDataClear);
+ public void GetDeviceJoinRouteinfoAsync(int deviceIndex, object userState) {
+ if ((this.onBeginGetDeviceJoinRouteinfoDelegate == null)) {
+ this.onBeginGetDeviceJoinRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceJoinRouteinfo);
}
- if ((this.onEndDataClearDelegate == null)) {
- this.onEndDataClearDelegate = new EndOperationDelegate(this.OnEndDataClear);
+ if ((this.onEndGetDeviceJoinRouteinfoDelegate == null)) {
+ this.onEndGetDeviceJoinRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceJoinRouteinfo);
}
- if ((this.onDataClearCompletedDelegate == null)) {
- this.onDataClearCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataClearCompleted);
+ if ((this.onGetDeviceJoinRouteinfoCompletedDelegate == null)) {
+ this.onGetDeviceJoinRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceJoinRouteinfoCompleted);
}
- base.InvokeAsync(this.onBeginDataClearDelegate, null, this.onEndDataClearDelegate, this.onDataClearCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceJoinRouteinfoDelegate, new object[] {
+ deviceIndex}, this.onEndGetDeviceJoinRouteinfoDelegate, this.onGetDeviceJoinRouteinfoCompletedDelegate, userState);
}
- public int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex) {
- return base.Channel.GetManageTaskKindFromMonitor(out errtext, monitorIndex);
+ public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content) {
+ return base.Channel.GetManageTasks(out errorText, FieldName, content);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
+ public System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetManageTasks(FieldName, content, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetManageTaskKindFromMonitor(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetManageTasks(out errorText, result);
}
- private System.IAsyncResult OnBeginGetManageTaskKindFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int monitorIndex = ((int)(inValues[0]));
- return this.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
+ private System.IAsyncResult OnBeginGetManageTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string FieldName = ((string)(inValues[0]));
+ string content = ((string)(inValues[1]));
+ return this.BeginGetManageTasks(FieldName, content, callback, asyncState);
}
- private object[] OnEndGetManageTaskKindFromMonitor(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndGetManageTaskKindFromMonitor(out errtext, result);
+ private object[] OnEndGetManageTasks(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.ManageTask[] retVal = this.EndGetManageTasks(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetManageTaskKindFromMonitorCompleted(object state) {
- if ((this.GetManageTaskKindFromMonitorCompleted != null)) {
+ private void OnGetManageTasksCompleted(object state) {
+ if ((this.GetManageTasksCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetManageTaskKindFromMonitorCompleted(this, new GetManageTaskKindFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetManageTasksCompleted(this, new GetManageTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetManageTaskKindFromMonitorAsync(int monitorIndex) {
- this.GetManageTaskKindFromMonitorAsync(monitorIndex, null);
+ public void GetManageTasksAsync(string FieldName, string content) {
+ this.GetManageTasksAsync(FieldName, content, null);
}
- public void GetManageTaskKindFromMonitorAsync(int monitorIndex, object userState) {
- if ((this.onBeginGetManageTaskKindFromMonitorDelegate == null)) {
- this.onBeginGetManageTaskKindFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskKindFromMonitor);
+ public void GetManageTasksAsync(string FieldName, string content, object userState) {
+ if ((this.onBeginGetManageTasksDelegate == null)) {
+ this.onBeginGetManageTasksDelegate = new BeginOperationDelegate(this.OnBeginGetManageTasks);
}
- if ((this.onEndGetManageTaskKindFromMonitorDelegate == null)) {
- this.onEndGetManageTaskKindFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskKindFromMonitor);
+ if ((this.onEndGetManageTasksDelegate == null)) {
+ this.onEndGetManageTasksDelegate = new EndOperationDelegate(this.OnEndGetManageTasks);
}
- if ((this.onGetManageTaskKindFromMonitorCompletedDelegate == null)) {
- this.onGetManageTaskKindFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskKindFromMonitorCompleted);
+ if ((this.onGetManageTasksCompletedDelegate == null)) {
+ this.onGetManageTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTasksCompleted);
}
- base.InvokeAsync(this.onBeginGetManageTaskKindFromMonitorDelegate, new object[] {
- monitorIndex}, this.onEndGetManageTaskKindFromMonitorDelegate, this.onGetManageTaskKindFromMonitorCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetManageTasksDelegate, new object[] {
+ FieldName,
+ content}, this.onEndGetManageTasksDelegate, this.onGetManageTasksCompletedDelegate, userState);
}
- public int GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex) {
- return base.Channel.GetManageTaskIndexFromMonitor(out errtext, monitorIndex);
+ public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content) {
+ return base.Channel.GetMonitorTasks(out errorText, FieldName, content);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
+ public System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetManageTaskIndexFromMonitor(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetMonitorTasks(out errorText, result);
}
- private System.IAsyncResult OnBeginGetManageTaskIndexFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int monitorIndex = ((int)(inValues[0]));
- return this.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
+ private System.IAsyncResult OnBeginGetMonitorTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string FieldName = ((string)(inValues[0]));
+ string content = ((string)(inValues[1]));
+ return this.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
}
- private object[] OnEndGetManageTaskIndexFromMonitor(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndGetManageTaskIndexFromMonitor(out errtext, result);
+ private object[] OnEndGetMonitorTasks(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] retVal = this.EndGetMonitorTasks(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetManageTaskIndexFromMonitorCompleted(object state) {
- if ((this.GetManageTaskIndexFromMonitorCompleted != null)) {
+ private void OnGetMonitorTasksCompleted(object state) {
+ if ((this.GetMonitorTasksCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetManageTaskIndexFromMonitorCompleted(this, new GetManageTaskIndexFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetMonitorTasksCompleted(this, new GetMonitorTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetManageTaskIndexFromMonitorAsync(int monitorIndex) {
- this.GetManageTaskIndexFromMonitorAsync(monitorIndex, null);
+ public void GetMonitorTasksAsync(string FieldName, string content) {
+ this.GetMonitorTasksAsync(FieldName, content, null);
}
- public void GetManageTaskIndexFromMonitorAsync(int monitorIndex, object userState) {
- if ((this.onBeginGetManageTaskIndexFromMonitorDelegate == null)) {
- this.onBeginGetManageTaskIndexFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskIndexFromMonitor);
+ public void GetMonitorTasksAsync(string FieldName, string content, object userState) {
+ if ((this.onBeginGetMonitorTasksDelegate == null)) {
+ this.onBeginGetMonitorTasksDelegate = new BeginOperationDelegate(this.OnBeginGetMonitorTasks);
}
- if ((this.onEndGetManageTaskIndexFromMonitorDelegate == null)) {
- this.onEndGetManageTaskIndexFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskIndexFromMonitor);
+ if ((this.onEndGetMonitorTasksDelegate == null)) {
+ this.onEndGetMonitorTasksDelegate = new EndOperationDelegate(this.OnEndGetMonitorTasks);
}
- if ((this.onGetManageTaskIndexFromMonitorCompletedDelegate == null)) {
- this.onGetManageTaskIndexFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskIndexFromMonitorCompleted);
+ if ((this.onGetMonitorTasksCompletedDelegate == null)) {
+ this.onGetMonitorTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetMonitorTasksCompleted);
}
- base.InvokeAsync(this.onBeginGetManageTaskIndexFromMonitorDelegate, new object[] {
- monitorIndex}, this.onEndGetManageTaskIndexFromMonitorDelegate, this.onGetManageTaskIndexFromMonitorCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetMonitorTasksDelegate, new object[] {
+ FieldName,
+ content}, this.onEndGetMonitorTasksDelegate, this.onGetMonitorTasksCompletedDelegate, userState);
}
- public int GetDeviceKindIndex(out string errtext, int deviceIndex) {
- return base.Channel.GetDeviceKindIndex(out errtext, deviceIndex);
+ public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex) {
+ return base.Channel.GetDeviceStateInfo(out errorText, deviceIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceKindIndex(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceStateInfo(out errorText, result);
}
- private System.IAsyncResult OnBeginGetDeviceKindIndex(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ private System.IAsyncResult OnBeginGetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
int deviceIndex = ((int)(inValues[0]));
- return this.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
+ return this.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
}
- private object[] OnEndGetDeviceKindIndex(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndGetDeviceKindIndex(out errtext, result);
+ private object[] OnEndGetDeviceStateInfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.DeviceStateType retVal = this.EndGetDeviceStateInfo(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetDeviceKindIndexCompleted(object state) {
- if ((this.GetDeviceKindIndexCompleted != null)) {
+ private void OnGetDeviceStateInfoCompleted(object state) {
+ if ((this.GetDeviceStateInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceKindIndexCompleted(this, new GetDeviceKindIndexCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceStateInfoCompleted(this, new GetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceKindIndexAsync(int deviceIndex) {
- this.GetDeviceKindIndexAsync(deviceIndex, null);
+ public void GetDeviceStateInfoAsync(int deviceIndex) {
+ this.GetDeviceStateInfoAsync(deviceIndex, null);
}
- public void GetDeviceKindIndexAsync(int deviceIndex, object userState) {
- if ((this.onBeginGetDeviceKindIndexDelegate == null)) {
- this.onBeginGetDeviceKindIndexDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceKindIndex);
+ public void GetDeviceStateInfoAsync(int deviceIndex, object userState) {
+ if ((this.onBeginGetDeviceStateInfoDelegate == null)) {
+ this.onBeginGetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceStateInfo);
}
- if ((this.onEndGetDeviceKindIndexDelegate == null)) {
- this.onEndGetDeviceKindIndexDelegate = new EndOperationDelegate(this.OnEndGetDeviceKindIndex);
+ if ((this.onEndGetDeviceStateInfoDelegate == null)) {
+ this.onEndGetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceStateInfo);
}
- if ((this.onGetDeviceKindIndexCompletedDelegate == null)) {
- this.onGetDeviceKindIndexCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceKindIndexCompleted);
+ if ((this.onGetDeviceStateInfoCompletedDelegate == null)) {
+ this.onGetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceStateInfoCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceKindIndexDelegate, new object[] {
- deviceIndex}, this.onEndGetDeviceKindIndexDelegate, this.onGetDeviceKindIndexCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceStateInfoDelegate, new object[] {
+ deviceIndex}, this.onEndGetDeviceStateInfoDelegate, this.onGetDeviceStateInfoCompletedDelegate, userState);
}
- public bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder) {
- return base.Channel.SendDeviceReset(out errtext, deviceIndex, ResetOrder);
+ public bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
+ return base.Channel.SetDeviceStateInfo(out errorText, devstate);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
+ public System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetDeviceStateInfo(devstate, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSendDeviceReset(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndSendDeviceReset(out errtext, result);
+ public bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndSetDeviceStateInfo(out errorText, result);
}
- private System.IAsyncResult OnBeginSendDeviceReset(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- int ResetOrder = ((int)(inValues[1]));
- return this.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
+ private System.IAsyncResult OnBeginSetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate = ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(inValues[0]));
+ return this.BeginSetDeviceStateInfo(devstate, callback, asyncState);
}
- private object[] OnEndSendDeviceReset(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSendDeviceReset(out errtext, result);
+ private object[] OnEndSetDeviceStateInfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetDeviceStateInfo(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnSendDeviceResetCompleted(object state) {
- if ((this.SendDeviceResetCompleted != null)) {
+ private void OnSetDeviceStateInfoCompleted(object state) {
+ if ((this.SetDeviceStateInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SendDeviceResetCompleted(this, new SendDeviceResetCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetDeviceStateInfoCompleted(this, new SetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SendDeviceResetAsync(int deviceIndex, int ResetOrder) {
- this.SendDeviceResetAsync(deviceIndex, ResetOrder, null);
+ public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
+ this.SetDeviceStateInfoAsync(devstate, null);
}
- public void SendDeviceResetAsync(int deviceIndex, int ResetOrder, object userState) {
- if ((this.onBeginSendDeviceResetDelegate == null)) {
- this.onBeginSendDeviceResetDelegate = new BeginOperationDelegate(this.OnBeginSendDeviceReset);
+ public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, object userState) {
+ if ((this.onBeginSetDeviceStateInfoDelegate == null)) {
+ this.onBeginSetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceStateInfo);
}
- if ((this.onEndSendDeviceResetDelegate == null)) {
- this.onEndSendDeviceResetDelegate = new EndOperationDelegate(this.OnEndSendDeviceReset);
+ if ((this.onEndSetDeviceStateInfoDelegate == null)) {
+ this.onEndSetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceStateInfo);
}
- if ((this.onSendDeviceResetCompletedDelegate == null)) {
- this.onSendDeviceResetCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendDeviceResetCompleted);
+ if ((this.onSetDeviceStateInfoCompletedDelegate == null)) {
+ this.onSetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateInfoCompleted);
}
- base.InvokeAsync(this.onBeginSendDeviceResetDelegate, new object[] {
- deviceIndex,
- ResetOrder}, this.onEndSendDeviceResetDelegate, this.onSendDeviceResetCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetDeviceStateInfoDelegate, new object[] {
+ devstate}, this.onEndSetDeviceStateInfoDelegate, this.onSetDeviceStateInfoCompletedDelegate, userState);
}
- public bool Heartbeat(out Model.MonitorInfo monitorinfo) {
- return base.Channel.Heartbeat(out monitorinfo);
+ public bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled) {
+ return base.Channel.SetRouteStateInfo(out errorText, routeID, isEnabled);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginHeartbeat(callback, asyncState);
+ public System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result) {
- return base.Channel.EndHeartbeat(out monitorinfo, result);
+ public bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndSetRouteStateInfo(out errorText, result);
}
- private System.IAsyncResult OnBeginHeartbeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginHeartbeat(callback, asyncState);
+ private System.IAsyncResult OnBeginSetRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int routeID = ((int)(inValues[0]));
+ bool isEnabled = ((bool)(inValues[1]));
+ return this.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
}
- private object[] OnEndHeartbeat(System.IAsyncResult result) {
- Model.MonitorInfo monitorinfo = this.GetDefaultValueForInitialization();
- bool retVal = this.EndHeartbeat(out monitorinfo, result);
+ private object[] OnEndSetRouteStateInfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetRouteStateInfo(out errorText, result);
return new object[] {
- monitorinfo,
+ errorText,
retVal};
}
- private void OnHeartbeatCompleted(object state) {
- if ((this.HeartbeatCompleted != null)) {
+ private void OnSetRouteStateInfoCompleted(object state) {
+ if ((this.SetRouteStateInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.HeartbeatCompleted(this, new HeartbeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetRouteStateInfoCompleted(this, new SetRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void HeartbeatAsync() {
- this.HeartbeatAsync(null);
+ public void SetRouteStateInfoAsync(int routeID, bool isEnabled) {
+ this.SetRouteStateInfoAsync(routeID, isEnabled, null);
}
- public void HeartbeatAsync(object userState) {
- if ((this.onBeginHeartbeatDelegate == null)) {
- this.onBeginHeartbeatDelegate = new BeginOperationDelegate(this.OnBeginHeartbeat);
+ public void SetRouteStateInfoAsync(int routeID, bool isEnabled, object userState) {
+ if ((this.onBeginSetRouteStateInfoDelegate == null)) {
+ this.onBeginSetRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetRouteStateInfo);
}
- if ((this.onEndHeartbeatDelegate == null)) {
- this.onEndHeartbeatDelegate = new EndOperationDelegate(this.OnEndHeartbeat);
+ if ((this.onEndSetRouteStateInfoDelegate == null)) {
+ this.onEndSetRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetRouteStateInfo);
}
- if ((this.onHeartbeatCompletedDelegate == null)) {
- this.onHeartbeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnHeartbeatCompleted);
+ if ((this.onSetRouteStateInfoCompletedDelegate == null)) {
+ this.onSetRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateInfoCompleted);
}
- base.InvokeAsync(this.onBeginHeartbeatDelegate, null, this.onEndHeartbeatDelegate, this.onHeartbeatCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetRouteStateInfoDelegate, new object[] {
+ routeID,
+ isEnabled}, this.onEndSetRouteStateInfoDelegate, this.onSetRouteStateInfoCompletedDelegate, userState);
}
- public System.Data.DataTable GetDataView(out string errtext, string SQL) {
- return base.Channel.GetDataView(out errtext, SQL);
+ public bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled) {
+ return base.Channel.SetDeviceJoinRouteStateInfo(out errorText, deviceIndex, isEnabled);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDataView(SQL, callback, asyncState);
+ public System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetDataView(out errtext, result);
+ public bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndSetDeviceJoinRouteStateInfo(out errorText, result);
}
- private System.IAsyncResult OnBeginGetDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string SQL = ((string)(inValues[0]));
- return this.BeginGetDataView(SQL, callback, asyncState);
+ private System.IAsyncResult OnBeginSetDeviceJoinRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ bool isEnabled = ((bool)(inValues[1]));
+ return this.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
}
- private object[] OnEndGetDataView(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- System.Data.DataTable retVal = this.EndGetDataView(out errtext, result);
+ private object[] OnEndSetDeviceJoinRouteStateInfo(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetDeviceJoinRouteStateInfo(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetDataViewCompleted(object state) {
- if ((this.GetDataViewCompleted != null)) {
+ private void OnSetDeviceJoinRouteStateInfoCompleted(object state) {
+ if ((this.SetDeviceJoinRouteStateInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDataViewCompleted(this, new GetDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetDeviceJoinRouteStateInfoCompleted(this, new SetDeviceJoinRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDataViewAsync(string SQL) {
- this.GetDataViewAsync(SQL, null);
+ public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled) {
+ this.SetDeviceJoinRouteStateInfoAsync(deviceIndex, isEnabled, null);
}
- public void GetDataViewAsync(string SQL, object userState) {
- if ((this.onBeginGetDataViewDelegate == null)) {
- this.onBeginGetDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetDataView);
+ public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled, object userState) {
+ if ((this.onBeginSetDeviceJoinRouteStateInfoDelegate == null)) {
+ this.onBeginSetDeviceJoinRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceJoinRouteStateInfo);
}
- if ((this.onEndGetDataViewDelegate == null)) {
- this.onEndGetDataViewDelegate = new EndOperationDelegate(this.OnEndGetDataView);
+ if ((this.onEndSetDeviceJoinRouteStateInfoDelegate == null)) {
+ this.onEndSetDeviceJoinRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceJoinRouteStateInfo);
}
- if ((this.onGetDataViewCompletedDelegate == null)) {
- this.onGetDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataViewCompleted);
+ if ((this.onSetDeviceJoinRouteStateInfoCompletedDelegate == null)) {
+ this.onSetDeviceJoinRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceJoinRouteStateInfoCompleted);
}
- base.InvokeAsync(this.onBeginGetDataViewDelegate, new object[] {
- SQL}, this.onEndGetDataViewDelegate, this.onGetDataViewCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetDeviceJoinRouteStateInfoDelegate, new object[] {
+ deviceIndex,
+ isEnabled}, this.onEndSetDeviceJoinRouteStateInfoDelegate, this.onSetDeviceJoinRouteStateInfoCompletedDelegate, userState);
}
- public int ExeSQLNoneQuery(out string errtext, string SQL) {
- return base.Channel.ExeSQLNoneQuery(out errtext, SQL);
+ public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText) {
+ return base.Channel.GetAllCellInfos(out errorText);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginExeSQLNoneQuery(SQL, callback, asyncState);
+ public System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetAllCellInfos(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndExeSQLNoneQuery(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetAllCellInfos(out errorText, result);
}
- private System.IAsyncResult OnBeginExeSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string SQL = ((string)(inValues[0]));
- return this.BeginExeSQLNoneQuery(SQL, callback, asyncState);
+ private System.IAsyncResult OnBeginGetAllCellInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetAllCellInfos(callback, asyncState);
}
- private object[] OnEndExeSQLNoneQuery(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndExeSQLNoneQuery(out errtext, result);
+ private object[] OnEndGetAllCellInfos(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] retVal = this.EndGetAllCellInfos(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnExeSQLNoneQueryCompleted(object state) {
- if ((this.ExeSQLNoneQueryCompleted != null)) {
+ private void OnGetAllCellInfosCompleted(object state) {
+ if ((this.GetAllCellInfosCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ExeSQLNoneQueryCompleted(this, new ExeSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetAllCellInfosCompleted(this, new GetAllCellInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ExeSQLNoneQueryAsync(string SQL) {
- this.ExeSQLNoneQueryAsync(SQL, null);
+ public void GetAllCellInfosAsync() {
+ this.GetAllCellInfosAsync(null);
}
- public void ExeSQLNoneQueryAsync(string SQL, object userState) {
- if ((this.onBeginExeSQLNoneQueryDelegate == null)) {
- this.onBeginExeSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeSQLNoneQuery);
+ public void GetAllCellInfosAsync(object userState) {
+ if ((this.onBeginGetAllCellInfosDelegate == null)) {
+ this.onBeginGetAllCellInfosDelegate = new BeginOperationDelegate(this.OnBeginGetAllCellInfos);
}
- if ((this.onEndExeSQLNoneQueryDelegate == null)) {
- this.onEndExeSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeSQLNoneQuery);
+ if ((this.onEndGetAllCellInfosDelegate == null)) {
+ this.onEndGetAllCellInfosDelegate = new EndOperationDelegate(this.OnEndGetAllCellInfos);
}
- if ((this.onExeSQLNoneQueryCompletedDelegate == null)) {
- this.onExeSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeSQLNoneQueryCompleted);
+ if ((this.onGetAllCellInfosCompletedDelegate == null)) {
+ this.onGetAllCellInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllCellInfosCompleted);
}
- base.InvokeAsync(this.onBeginExeSQLNoneQueryDelegate, new object[] {
- SQL}, this.onEndExeSQLNoneQueryDelegate, this.onExeSQLNoneQueryCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetAllCellInfosDelegate, null, this.onEndGetAllCellInfosDelegate, this.onGetAllCellInfosCompletedDelegate, userState);
}
- public System.Data.DataTable GetManDataView(out string errtext, string SQL) {
- return base.Channel.GetManDataView(out errtext, SQL);
+ public string[] GetLanguageFields(out string errorText) {
+ return base.Channel.GetLanguageFields(out errorText);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetManDataView(SQL, callback, asyncState);
+ public System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetLanguageFields(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetManDataView(out errtext, result);
+ public string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetLanguageFields(out errorText, result);
}
- private System.IAsyncResult OnBeginGetManDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string SQL = ((string)(inValues[0]));
- return this.BeginGetManDataView(SQL, callback, asyncState);
- }
+ private System.IAsyncResult OnBeginGetLanguageFields(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetLanguageFields(callback, asyncState);
+ }
- private object[] OnEndGetManDataView(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- System.Data.DataTable retVal = this.EndGetManDataView(out errtext, result);
+ private object[] OnEndGetLanguageFields(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ string[] retVal = this.EndGetLanguageFields(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetManDataViewCompleted(object state) {
- if ((this.GetManDataViewCompleted != null)) {
+ private void OnGetLanguageFieldsCompleted(object state) {
+ if ((this.GetLanguageFieldsCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetManDataViewCompleted(this, new GetManDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetLanguageFieldsCompleted(this, new GetLanguageFieldsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetManDataViewAsync(string SQL) {
- this.GetManDataViewAsync(SQL, null);
+ public void GetLanguageFieldsAsync() {
+ this.GetLanguageFieldsAsync(null);
}
- public void GetManDataViewAsync(string SQL, object userState) {
- if ((this.onBeginGetManDataViewDelegate == null)) {
- this.onBeginGetManDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetManDataView);
+ public void GetLanguageFieldsAsync(object userState) {
+ if ((this.onBeginGetLanguageFieldsDelegate == null)) {
+ this.onBeginGetLanguageFieldsDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageFields);
}
- if ((this.onEndGetManDataViewDelegate == null)) {
- this.onEndGetManDataViewDelegate = new EndOperationDelegate(this.OnEndGetManDataView);
+ if ((this.onEndGetLanguageFieldsDelegate == null)) {
+ this.onEndGetLanguageFieldsDelegate = new EndOperationDelegate(this.OnEndGetLanguageFields);
}
- if ((this.onGetManDataViewCompletedDelegate == null)) {
- this.onGetManDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManDataViewCompleted);
+ if ((this.onGetLanguageFieldsCompletedDelegate == null)) {
+ this.onGetLanguageFieldsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageFieldsCompleted);
}
- base.InvokeAsync(this.onBeginGetManDataViewDelegate, new object[] {
- SQL}, this.onEndGetManDataViewDelegate, this.onGetManDataViewCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetLanguageFieldsDelegate, null, this.onEndGetLanguageFieldsDelegate, this.onGetLanguageFieldsCompletedDelegate, userState);
}
- public int ExeManSQLNoneQuery(out string errtext, string SQL) {
- return base.Channel.ExeManSQLNoneQuery(out errtext, SQL);
+ public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language) {
+ return base.Channel.GetLanguageContent(out errorText, language);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
+ public System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetLanguageContent(language, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndExeManSQLNoneQuery(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetLanguageContent(out errorText, result);
}
- private System.IAsyncResult OnBeginExeManSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string SQL = ((string)(inValues[0]));
- return this.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
+ private System.IAsyncResult OnBeginGetLanguageContent(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string language = ((string)(inValues[0]));
+ return this.BeginGetLanguageContent(language, callback, asyncState);
}
- private object[] OnEndExeManSQLNoneQuery(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndExeManSQLNoneQuery(out errtext, result);
+ private object[] OnEndGetLanguageContent(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] retVal = this.EndGetLanguageContent(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnExeManSQLNoneQueryCompleted(object state) {
- if ((this.ExeManSQLNoneQueryCompleted != null)) {
+ private void OnGetLanguageContentCompleted(object state) {
+ if ((this.GetLanguageContentCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ExeManSQLNoneQueryCompleted(this, new ExeManSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetLanguageContentCompleted(this, new GetLanguageContentCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ExeManSQLNoneQueryAsync(string SQL) {
- this.ExeManSQLNoneQueryAsync(SQL, null);
+ public void GetLanguageContentAsync(string language) {
+ this.GetLanguageContentAsync(language, null);
}
- public void ExeManSQLNoneQueryAsync(string SQL, object userState) {
- if ((this.onBeginExeManSQLNoneQueryDelegate == null)) {
- this.onBeginExeManSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeManSQLNoneQuery);
+ public void GetLanguageContentAsync(string language, object userState) {
+ if ((this.onBeginGetLanguageContentDelegate == null)) {
+ this.onBeginGetLanguageContentDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageContent);
}
- if ((this.onEndExeManSQLNoneQueryDelegate == null)) {
- this.onEndExeManSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeManSQLNoneQuery);
+ if ((this.onEndGetLanguageContentDelegate == null)) {
+ this.onEndGetLanguageContentDelegate = new EndOperationDelegate(this.OnEndGetLanguageContent);
}
- if ((this.onExeManSQLNoneQueryCompletedDelegate == null)) {
- this.onExeManSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeManSQLNoneQueryCompleted);
+ if ((this.onGetLanguageContentCompletedDelegate == null)) {
+ this.onGetLanguageContentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageContentCompleted);
}
- base.InvokeAsync(this.onBeginExeManSQLNoneQueryDelegate, new object[] {
- SQL}, this.onEndExeManSQLNoneQueryDelegate, this.onExeManSQLNoneQueryCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetLanguageContentDelegate, new object[] {
+ language}, this.onEndGetLanguageContentDelegate, this.onGetLanguageContentCompletedDelegate, userState);
}
- public bool GetAllManageTask(out string errtext) {
- return base.Channel.GetAllManageTask(out errtext);
+ public wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText) {
+ return base.Channel.GetDevicesDic(out errorText);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetAllManageTask(callback, asyncState);
+ public System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDevicesDic(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndGetAllManageTask(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndGetAllManageTask(out errtext, result);
+ public wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result) {
+ return base.Channel.EndGetDevicesDic(out errorText, result);
}
- private System.IAsyncResult OnBeginGetAllManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetAllManageTask(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDevicesDic(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetDevicesDic(callback, asyncState);
}
- private object[] OnEndGetAllManageTask(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndGetAllManageTask(out errtext, result);
+ private object[] OnEndGetDevicesDic(System.IAsyncResult result) {
+ string errorText = this.GetDefaultValueForInitialization();
+ wcfControlMonitorClient.WcfControlMonitor.DevicesDic retVal = this.EndGetDevicesDic(out errorText, result);
return new object[] {
- errtext,
+ errorText,
retVal};
}
- private void OnGetAllManageTaskCompleted(object state) {
- if ((this.GetAllManageTaskCompleted != null)) {
+ private void OnGetDevicesDicCompleted(object state) {
+ if ((this.GetDevicesDicCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetAllManageTaskCompleted(this, new GetAllManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDevicesDicCompleted(this, new GetDevicesDicCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetAllManageTaskAsync() {
- this.GetAllManageTaskAsync(null);
+ public void GetDevicesDicAsync() {
+ this.GetDevicesDicAsync(null);
}
- public void GetAllManageTaskAsync(object userState) {
- if ((this.onBeginGetAllManageTaskDelegate == null)) {
- this.onBeginGetAllManageTaskDelegate = new BeginOperationDelegate(this.OnBeginGetAllManageTask);
+ public void GetDevicesDicAsync(object userState) {
+ if ((this.onBeginGetDevicesDicDelegate == null)) {
+ this.onBeginGetDevicesDicDelegate = new BeginOperationDelegate(this.OnBeginGetDevicesDic);
}
- if ((this.onEndGetAllManageTaskDelegate == null)) {
- this.onEndGetAllManageTaskDelegate = new EndOperationDelegate(this.OnEndGetAllManageTask);
+ if ((this.onEndGetDevicesDicDelegate == null)) {
+ this.onEndGetDevicesDicDelegate = new EndOperationDelegate(this.OnEndGetDevicesDic);
}
- if ((this.onGetAllManageTaskCompletedDelegate == null)) {
- this.onGetAllManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllManageTaskCompleted);
+ if ((this.onGetDevicesDicCompletedDelegate == null)) {
+ this.onGetDevicesDicCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDevicesDicCompleted);
}
- base.InvokeAsync(this.onBeginGetAllManageTaskDelegate, null, this.onEndGetAllManageTaskDelegate, this.onGetAllManageTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDevicesDicDelegate, null, this.onEndGetDevicesDicDelegate, this.onGetDevicesDicCompletedDelegate, userState);
}
- public bool DisassembleTask(out string errtext) {
- return base.Channel.DisassembleTask(out errtext);
+ public bool RefreshMonitoringMode() {
+ return base.Channel.RefreshMonitoringMode();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginDisassembleTask(callback, asyncState);
+ public System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginRefreshMonitoringMode(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndDisassembleTask(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndDisassembleTask(out errtext, result);
+ public bool EndRefreshMonitoringMode(System.IAsyncResult result) {
+ return base.Channel.EndRefreshMonitoringMode(result);
}
- private System.IAsyncResult OnBeginDisassembleTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginDisassembleTask(callback, asyncState);
+ private System.IAsyncResult OnBeginRefreshMonitoringMode(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginRefreshMonitoringMode(callback, asyncState);
}
- private object[] OnEndDisassembleTask(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndDisassembleTask(out errtext, result);
+ private object[] OnEndRefreshMonitoringMode(System.IAsyncResult result) {
+ bool retVal = this.EndRefreshMonitoringMode(result);
return new object[] {
- errtext,
retVal};
}
- private void OnDisassembleTaskCompleted(object state) {
- if ((this.DisassembleTaskCompleted != null)) {
+ private void OnRefreshMonitoringModeCompleted(object state) {
+ if ((this.RefreshMonitoringModeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.DisassembleTaskCompleted(this, new DisassembleTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.RefreshMonitoringModeCompleted(this, new RefreshMonitoringModeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void DisassembleTaskAsync() {
- this.DisassembleTaskAsync(null);
+ public void RefreshMonitoringModeAsync() {
+ this.RefreshMonitoringModeAsync(null);
}
- public void DisassembleTaskAsync(object userState) {
- if ((this.onBeginDisassembleTaskDelegate == null)) {
- this.onBeginDisassembleTaskDelegate = new BeginOperationDelegate(this.OnBeginDisassembleTask);
+ public void RefreshMonitoringModeAsync(object userState) {
+ if ((this.onBeginRefreshMonitoringModeDelegate == null)) {
+ this.onBeginRefreshMonitoringModeDelegate = new BeginOperationDelegate(this.OnBeginRefreshMonitoringMode);
}
- if ((this.onEndDisassembleTaskDelegate == null)) {
- this.onEndDisassembleTaskDelegate = new EndOperationDelegate(this.OnEndDisassembleTask);
+ if ((this.onEndRefreshMonitoringModeDelegate == null)) {
+ this.onEndRefreshMonitoringModeDelegate = new EndOperationDelegate(this.OnEndRefreshMonitoringMode);
}
- if ((this.onDisassembleTaskCompletedDelegate == null)) {
- this.onDisassembleTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisassembleTaskCompleted);
+ if ((this.onRefreshMonitoringModeCompletedDelegate == null)) {
+ this.onRefreshMonitoringModeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRefreshMonitoringModeCompleted);
}
- base.InvokeAsync(this.onBeginDisassembleTaskDelegate, null, this.onEndDisassembleTaskDelegate, this.onDisassembleTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginRefreshMonitoringModeDelegate, null, this.onEndRefreshMonitoringModeDelegate, this.onRefreshMonitoringModeCompletedDelegate, userState);
}
- public bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex) {
- return base.Channel.SetLogicHaveGoods(out errtext, ifHaveGoods, deviceindex);
+ public bool RegisterClient(out string errText, string userID, string userDescription) {
+ return base.Channel.RegisterClient(out errText, userID, userDescription);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
+ public System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginRegisterClient(userID, userDescription, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndSetLogicHaveGoods(out errtext, result);
+ public bool EndRegisterClient(out string errText, System.IAsyncResult result) {
+ return base.Channel.EndRegisterClient(out errText, result);
}
- private System.IAsyncResult OnBeginSetLogicHaveGoods(object[] inValues, System.AsyncCallback callback, object asyncState) {
- bool ifHaveGoods = ((bool)(inValues[0]));
- int deviceindex = ((int)(inValues[1]));
- return this.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
+ private System.IAsyncResult OnBeginRegisterClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string userID = ((string)(inValues[0]));
+ string userDescription = ((string)(inValues[1]));
+ return this.BeginRegisterClient(userID, userDescription, callback, asyncState);
}
- private object[] OnEndSetLogicHaveGoods(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetLogicHaveGoods(out errtext, result);
+ private object[] OnEndRegisterClient(System.IAsyncResult result) {
+ string errText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndRegisterClient(out errText, result);
return new object[] {
- errtext,
+ errText,
retVal};
}
- private void OnSetLogicHaveGoodsCompleted(object state) {
- if ((this.SetLogicHaveGoodsCompleted != null)) {
+ private void OnRegisterClientCompleted(object state) {
+ if ((this.RegisterClientCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetLogicHaveGoodsCompleted(this, new SetLogicHaveGoodsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.RegisterClientCompleted(this, new RegisterClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex) {
- this.SetLogicHaveGoodsAsync(ifHaveGoods, deviceindex, null);
+ public void RegisterClientAsync(string userID, string userDescription) {
+ this.RegisterClientAsync(userID, userDescription, null);
}
- public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex, object userState) {
- if ((this.onBeginSetLogicHaveGoodsDelegate == null)) {
- this.onBeginSetLogicHaveGoodsDelegate = new BeginOperationDelegate(this.OnBeginSetLogicHaveGoods);
+ public void RegisterClientAsync(string userID, string userDescription, object userState) {
+ if ((this.onBeginRegisterClientDelegate == null)) {
+ this.onBeginRegisterClientDelegate = new BeginOperationDelegate(this.OnBeginRegisterClient);
}
- if ((this.onEndSetLogicHaveGoodsDelegate == null)) {
- this.onEndSetLogicHaveGoodsDelegate = new EndOperationDelegate(this.OnEndSetLogicHaveGoods);
+ if ((this.onEndRegisterClientDelegate == null)) {
+ this.onEndRegisterClientDelegate = new EndOperationDelegate(this.OnEndRegisterClient);
}
- if ((this.onSetLogicHaveGoodsCompletedDelegate == null)) {
- this.onSetLogicHaveGoodsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetLogicHaveGoodsCompleted);
+ if ((this.onRegisterClientCompletedDelegate == null)) {
+ this.onRegisterClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRegisterClientCompleted);
}
- base.InvokeAsync(this.onBeginSetLogicHaveGoodsDelegate, new object[] {
- ifHaveGoods,
- deviceindex}, this.onEndSetLogicHaveGoodsDelegate, this.onSetLogicHaveGoodsCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginRegisterClientDelegate, new object[] {
+ userID,
+ userDescription}, this.onEndRegisterClientDelegate, this.onRegisterClientCompletedDelegate, userState);
}
- public bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
- return base.Channel.DealWithDeviceState(out errtext, deviceindex, splitbyteValue, devicestates);
+ public bool LogoutClient(out string errText, string userID) {
+ return base.Channel.LogoutClient(out errText, userID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
+ public System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginLogoutClient(userID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndDealWithDeviceState(out errtext, result);
+ public bool EndLogoutClient(out string errText, System.IAsyncResult result) {
+ return base.Channel.EndLogoutClient(out errText, result);
}
- private System.IAsyncResult OnBeginDealWithDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceindex = ((int)(inValues[0]));
- byte[] splitbyteValue = ((byte[])(inValues[1]));
- byte[] devicestates = ((byte[])(inValues[2]));
- return this.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
+ private System.IAsyncResult OnBeginLogoutClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string userID = ((string)(inValues[0]));
+ return this.BeginLogoutClient(userID, callback, asyncState);
}
- private object[] OnEndDealWithDeviceState(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndDealWithDeviceState(out errtext, result);
+ private object[] OnEndLogoutClient(System.IAsyncResult result) {
+ string errText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndLogoutClient(out errText, result);
return new object[] {
- errtext,
+ errText,
retVal};
}
- private void OnDealWithDeviceStateCompleted(object state) {
- if ((this.DealWithDeviceStateCompleted != null)) {
+ private void OnLogoutClientCompleted(object state) {
+ if ((this.LogoutClientCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.DealWithDeviceStateCompleted(this, new DealWithDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.LogoutClientCompleted(this, new LogoutClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
- this.DealWithDeviceStateAsync(deviceindex, splitbyteValue, devicestates, null);
+ public void LogoutClientAsync(string userID) {
+ this.LogoutClientAsync(userID, null);
}
- public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates, object userState) {
- if ((this.onBeginDealWithDeviceStateDelegate == null)) {
- this.onBeginDealWithDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginDealWithDeviceState);
+ public void LogoutClientAsync(string userID, object userState) {
+ if ((this.onBeginLogoutClientDelegate == null)) {
+ this.onBeginLogoutClientDelegate = new BeginOperationDelegate(this.OnBeginLogoutClient);
}
- if ((this.onEndDealWithDeviceStateDelegate == null)) {
- this.onEndDealWithDeviceStateDelegate = new EndOperationDelegate(this.OnEndDealWithDeviceState);
+ if ((this.onEndLogoutClientDelegate == null)) {
+ this.onEndLogoutClientDelegate = new EndOperationDelegate(this.OnEndLogoutClient);
}
- if ((this.onDealWithDeviceStateCompletedDelegate == null)) {
- this.onDealWithDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDealWithDeviceStateCompleted);
+ if ((this.onLogoutClientCompletedDelegate == null)) {
+ this.onLogoutClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutClientCompleted);
}
- base.InvokeAsync(this.onBeginDealWithDeviceStateDelegate, new object[] {
- deviceindex,
- splitbyteValue,
- devicestates}, this.onEndDealWithDeviceStateDelegate, this.onDealWithDeviceStateCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginLogoutClientDelegate, new object[] {
+ userID}, this.onEndLogoutClientDelegate, this.onLogoutClientCompletedDelegate, userState);
}
- public Model.MDevice SendAllDeviceStates(int device) {
- return base.Channel.SendAllDeviceStates(device);
+ public bool ObtainTask(string laneway, string Order) {
+ return base.Channel.ObtainTask(laneway, Order);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSendAllDeviceStates(device, callback, asyncState);
+ public System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginObtainTask(laneway, Order, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result) {
- return base.Channel.EndSendAllDeviceStates(result);
+ public bool EndObtainTask(System.IAsyncResult result) {
+ return base.Channel.EndObtainTask(result);
}
- private System.IAsyncResult OnBeginSendAllDeviceStates(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int device = ((int)(inValues[0]));
- return this.BeginSendAllDeviceStates(device, callback, asyncState);
+ private System.IAsyncResult OnBeginObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string laneway = ((string)(inValues[0]));
+ string Order = ((string)(inValues[1]));
+ return this.BeginObtainTask(laneway, Order, callback, asyncState);
}
- private object[] OnEndSendAllDeviceStates(System.IAsyncResult result) {
- Model.MDevice retVal = this.EndSendAllDeviceStates(result);
+ private object[] OnEndObtainTask(System.IAsyncResult result) {
+ bool retVal = this.EndObtainTask(result);
return new object[] {
retVal};
}
- private void OnSendAllDeviceStatesCompleted(object state) {
- if ((this.SendAllDeviceStatesCompleted != null)) {
+ private void OnObtainTaskCompleted(object state) {
+ if ((this.ObtainTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SendAllDeviceStatesCompleted(this, new SendAllDeviceStatesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ObtainTaskCompleted(this, new ObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SendAllDeviceStatesAsync(int device) {
- this.SendAllDeviceStatesAsync(device, null);
+ public void ObtainTaskAsync(string laneway, string Order) {
+ this.ObtainTaskAsync(laneway, Order, null);
}
- public void SendAllDeviceStatesAsync(int device, object userState) {
- if ((this.onBeginSendAllDeviceStatesDelegate == null)) {
- this.onBeginSendAllDeviceStatesDelegate = new BeginOperationDelegate(this.OnBeginSendAllDeviceStates);
+ public void ObtainTaskAsync(string laneway, string Order, object userState) {
+ if ((this.onBeginObtainTaskDelegate == null)) {
+ this.onBeginObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginObtainTask);
}
- if ((this.onEndSendAllDeviceStatesDelegate == null)) {
- this.onEndSendAllDeviceStatesDelegate = new EndOperationDelegate(this.OnEndSendAllDeviceStates);
+ if ((this.onEndObtainTaskDelegate == null)) {
+ this.onEndObtainTaskDelegate = new EndOperationDelegate(this.OnEndObtainTask);
}
- if ((this.onSendAllDeviceStatesCompletedDelegate == null)) {
- this.onSendAllDeviceStatesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendAllDeviceStatesCompleted);
+ if ((this.onObtainTaskCompletedDelegate == null)) {
+ this.onObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnObtainTaskCompleted);
}
- base.InvokeAsync(this.onBeginSendAllDeviceStatesDelegate, new object[] {
- device}, this.onEndSendAllDeviceStatesDelegate, this.onSendAllDeviceStatesCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginObtainTaskDelegate, new object[] {
+ laneway,
+ Order}, this.onEndObtainTaskDelegate, this.onObtainTaskCompletedDelegate, userState);
}
- public bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata) {
- return base.Channel.WriteDBData(out errtext, deviceIndex, DBBlock, Wdata);
+ public bool StopObtainTask() {
+ return base.Channel.StopObtainTask();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
+ public System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginStopObtainTask(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndWriteDBData(out string errtext, System.IAsyncResult result) {
- return base.Channel.EndWriteDBData(out errtext, result);
+ public bool EndStopObtainTask(System.IAsyncResult result) {
+ return base.Channel.EndStopObtainTask(result);
}
- private System.IAsyncResult OnBeginWriteDBData(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- string DBBlock = ((string)(inValues[1]));
- string Wdata = ((string)(inValues[2]));
- return this.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
+ private System.IAsyncResult OnBeginStopObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginStopObtainTask(callback, asyncState);
}
- private object[] OnEndWriteDBData(System.IAsyncResult result) {
- string errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndWriteDBData(out errtext, result);
+ private object[] OnEndStopObtainTask(System.IAsyncResult result) {
+ bool retVal = this.EndStopObtainTask(result);
return new object[] {
- errtext,
retVal};
}
- private void OnWriteDBDataCompleted(object state) {
- if ((this.WriteDBDataCompleted != null)) {
+ private void OnStopObtainTaskCompleted(object state) {
+ if ((this.StopObtainTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.WriteDBDataCompleted(this, new WriteDBDataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.StopObtainTaskCompleted(this, new StopObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata) {
- this.WriteDBDataAsync(deviceIndex, DBBlock, Wdata, null);
+ public void StopObtainTaskAsync() {
+ this.StopObtainTaskAsync(null);
}
- public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata, object userState) {
- if ((this.onBeginWriteDBDataDelegate == null)) {
- this.onBeginWriteDBDataDelegate = new BeginOperationDelegate(this.OnBeginWriteDBData);
+ public void StopObtainTaskAsync(object userState) {
+ if ((this.onBeginStopObtainTaskDelegate == null)) {
+ this.onBeginStopObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginStopObtainTask);
}
- if ((this.onEndWriteDBDataDelegate == null)) {
- this.onEndWriteDBDataDelegate = new EndOperationDelegate(this.OnEndWriteDBData);
+ if ((this.onEndStopObtainTaskDelegate == null)) {
+ this.onEndStopObtainTaskDelegate = new EndOperationDelegate(this.OnEndStopObtainTask);
}
- if ((this.onWriteDBDataCompletedDelegate == null)) {
- this.onWriteDBDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnWriteDBDataCompleted);
+ if ((this.onStopObtainTaskCompletedDelegate == null)) {
+ this.onStopObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStopObtainTaskCompleted);
}
- base.InvokeAsync(this.onBeginWriteDBDataDelegate, new object[] {
- deviceIndex,
- DBBlock,
- Wdata}, this.onEndWriteDBDataDelegate, this.onWriteDBDataCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginStopObtainTaskDelegate, null, this.onEndStopObtainTaskDelegate, this.onStopObtainTaskCompletedDelegate, userState);
}
- public bool ReConnectOPCServer() {
- return base.Channel.ReConnectOPCServer();
+ public bool OrderTurnOn() {
+ return base.Channel.OrderTurnOn();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginReConnectOPCServer(callback, asyncState);
+ public System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginOrderTurnOn(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndReConnectOPCServer(System.IAsyncResult result) {
- return base.Channel.EndReConnectOPCServer(result);
+ public bool EndOrderTurnOn(System.IAsyncResult result) {
+ return base.Channel.EndOrderTurnOn(result);
}
- private System.IAsyncResult OnBeginReConnectOPCServer(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginReConnectOPCServer(callback, asyncState);
+ private System.IAsyncResult OnBeginOrderTurnOn(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginOrderTurnOn(callback, asyncState);
}
- private object[] OnEndReConnectOPCServer(System.IAsyncResult result) {
- bool retVal = this.EndReConnectOPCServer(result);
+ private object[] OnEndOrderTurnOn(System.IAsyncResult result) {
+ bool retVal = this.EndOrderTurnOn(result);
return new object[] {
retVal};
}
- private void OnReConnectOPCServerCompleted(object state) {
- if ((this.ReConnectOPCServerCompleted != null)) {
+ private void OnOrderTurnOnCompleted(object state) {
+ if ((this.OrderTurnOnCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ReConnectOPCServerCompleted(this, new ReConnectOPCServerCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.OrderTurnOnCompleted(this, new OrderTurnOnCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ReConnectOPCServerAsync() {
- this.ReConnectOPCServerAsync(null);
+ public void OrderTurnOnAsync() {
+ this.OrderTurnOnAsync(null);
}
- public void ReConnectOPCServerAsync(object userState) {
- if ((this.onBeginReConnectOPCServerDelegate == null)) {
- this.onBeginReConnectOPCServerDelegate = new BeginOperationDelegate(this.OnBeginReConnectOPCServer);
+ public void OrderTurnOnAsync(object userState) {
+ if ((this.onBeginOrderTurnOnDelegate == null)) {
+ this.onBeginOrderTurnOnDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOn);
}
- if ((this.onEndReConnectOPCServerDelegate == null)) {
- this.onEndReConnectOPCServerDelegate = new EndOperationDelegate(this.OnEndReConnectOPCServer);
+ if ((this.onEndOrderTurnOnDelegate == null)) {
+ this.onEndOrderTurnOnDelegate = new EndOperationDelegate(this.OnEndOrderTurnOn);
}
- if ((this.onReConnectOPCServerCompletedDelegate == null)) {
- this.onReConnectOPCServerCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnReConnectOPCServerCompleted);
+ if ((this.onOrderTurnOnCompletedDelegate == null)) {
+ this.onOrderTurnOnCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOnCompleted);
}
- base.InvokeAsync(this.onBeginReConnectOPCServerDelegate, null, this.onEndReConnectOPCServerDelegate, this.onReConnectOPCServerCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginOrderTurnOnDelegate, null, this.onEndOrderTurnOnDelegate, this.onOrderTurnOnCompletedDelegate, userState);
}
- public bool BuildAutoTask(out string Errtext, Model.AutoTask Autotask) {
- return base.Channel.BuildAutoTask(out Errtext, Autotask);
+ public bool OrderTurnOff() {
+ return base.Channel.OrderTurnOff();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginBuildAutoTask(Model.AutoTask Autotask, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginBuildAutoTask(Autotask, callback, asyncState);
+ public System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginOrderTurnOff(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndBuildAutoTask(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndBuildAutoTask(out Errtext, result);
+ public bool EndOrderTurnOff(System.IAsyncResult result) {
+ return base.Channel.EndOrderTurnOff(result);
}
- private System.IAsyncResult OnBeginBuildAutoTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- Model.AutoTask Autotask = ((Model.AutoTask)(inValues[0]));
- return this.BeginBuildAutoTask(Autotask, callback, asyncState);
+ private System.IAsyncResult OnBeginOrderTurnOff(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginOrderTurnOff(callback, asyncState);
}
- private object[] OnEndBuildAutoTask(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndBuildAutoTask(out Errtext, result);
+ private object[] OnEndOrderTurnOff(System.IAsyncResult result) {
+ bool retVal = this.EndOrderTurnOff(result);
return new object[] {
- Errtext,
retVal};
}
- private void OnBuildAutoTaskCompleted(object state) {
- if ((this.BuildAutoTaskCompleted != null)) {
+ private void OnOrderTurnOffCompleted(object state) {
+ if ((this.OrderTurnOffCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.BuildAutoTaskCompleted(this, new BuildAutoTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.OrderTurnOffCompleted(this, new OrderTurnOffCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void BuildAutoTaskAsync(Model.AutoTask Autotask) {
- this.BuildAutoTaskAsync(Autotask, null);
+ public void OrderTurnOffAsync() {
+ this.OrderTurnOffAsync(null);
}
- public void BuildAutoTaskAsync(Model.AutoTask Autotask, object userState) {
- if ((this.onBeginBuildAutoTaskDelegate == null)) {
- this.onBeginBuildAutoTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildAutoTask);
+ public void OrderTurnOffAsync(object userState) {
+ if ((this.onBeginOrderTurnOffDelegate == null)) {
+ this.onBeginOrderTurnOffDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOff);
}
- if ((this.onEndBuildAutoTaskDelegate == null)) {
- this.onEndBuildAutoTaskDelegate = new EndOperationDelegate(this.OnEndBuildAutoTask);
+ if ((this.onEndOrderTurnOffDelegate == null)) {
+ this.onEndOrderTurnOffDelegate = new EndOperationDelegate(this.OnEndOrderTurnOff);
}
- if ((this.onBuildAutoTaskCompletedDelegate == null)) {
- this.onBuildAutoTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildAutoTaskCompleted);
+ if ((this.onOrderTurnOffCompletedDelegate == null)) {
+ this.onOrderTurnOffCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOffCompleted);
}
- base.InvokeAsync(this.onBeginBuildAutoTaskDelegate, new object[] {
- Autotask}, this.onEndBuildAutoTaskDelegate, this.onBuildAutoTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginOrderTurnOffDelegate, null, this.onEndOrderTurnOffDelegate, this.onOrderTurnOffCompletedDelegate, userState);
}
- public bool ModifyManageTask(out string Errtext, int ManKind, int ManagetaskID, int ActionID) {
- return base.Channel.ModifyManageTask(out Errtext, ManKind, ManagetaskID, ActionID);
+ public bool DeviceCommunicationInit(out string ErrText, string CommunicationType) {
+ return base.Channel.DeviceCommunicationInit(out ErrText, CommunicationType);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginModifyManageTask(int ManKind, int ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
+ public System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndModifyManageTask(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndModifyManageTask(out Errtext, result);
+ public bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result) {
+ return base.Channel.EndDeviceCommunicationInit(out ErrText, result);
}
- private System.IAsyncResult OnBeginModifyManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int ManKind = ((int)(inValues[0]));
- int ManagetaskID = ((int)(inValues[1]));
- int ActionID = ((int)(inValues[2]));
- return this.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
+ private System.IAsyncResult OnBeginDeviceCommunicationInit(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string CommunicationType = ((string)(inValues[0]));
+ return this.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
}
- private object[] OnEndModifyManageTask(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndModifyManageTask(out Errtext, result);
+ private object[] OnEndDeviceCommunicationInit(System.IAsyncResult result) {
+ string ErrText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndDeviceCommunicationInit(out ErrText, result);
return new object[] {
- Errtext,
+ ErrText,
retVal};
}
- private void OnModifyManageTaskCompleted(object state) {
- if ((this.ModifyManageTaskCompleted != null)) {
+ private void OnDeviceCommunicationInitCompleted(object state) {
+ if ((this.DeviceCommunicationInitCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ModifyManageTaskCompleted(this, new ModifyManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.DeviceCommunicationInitCompleted(this, new DeviceCommunicationInitCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ModifyManageTaskAsync(int ManKind, int ManagetaskID, int ActionID) {
- this.ModifyManageTaskAsync(ManKind, ManagetaskID, ActionID, null);
+ public void DeviceCommunicationInitAsync(string CommunicationType) {
+ this.DeviceCommunicationInitAsync(CommunicationType, null);
}
- public void ModifyManageTaskAsync(int ManKind, int ManagetaskID, int ActionID, object userState) {
- if ((this.onBeginModifyManageTaskDelegate == null)) {
- this.onBeginModifyManageTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTask);
+ public void DeviceCommunicationInitAsync(string CommunicationType, object userState) {
+ if ((this.onBeginDeviceCommunicationInitDelegate == null)) {
+ this.onBeginDeviceCommunicationInitDelegate = new BeginOperationDelegate(this.OnBeginDeviceCommunicationInit);
}
- if ((this.onEndModifyManageTaskDelegate == null)) {
- this.onEndModifyManageTaskDelegate = new EndOperationDelegate(this.OnEndModifyManageTask);
+ if ((this.onEndDeviceCommunicationInitDelegate == null)) {
+ this.onEndDeviceCommunicationInitDelegate = new EndOperationDelegate(this.OnEndDeviceCommunicationInit);
}
- if ((this.onModifyManageTaskCompletedDelegate == null)) {
- this.onModifyManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskCompleted);
+ if ((this.onDeviceCommunicationInitCompletedDelegate == null)) {
+ this.onDeviceCommunicationInitCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeviceCommunicationInitCompleted);
}
- base.InvokeAsync(this.onBeginModifyManageTaskDelegate, new object[] {
- ManKind,
- ManagetaskID,
- ActionID}, this.onEndModifyManageTaskDelegate, this.onModifyManageTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginDeviceCommunicationInitDelegate, new object[] {
+ CommunicationType}, this.onEndDeviceCommunicationInitDelegate, this.onDeviceCommunicationInitCompletedDelegate, userState);
}
- public bool ModifyMonitorTask(out string Errtext, int DeviceIndex, int MonitortaskID, int ActionID) {
- return base.Channel.ModifyMonitorTask(out Errtext, DeviceIndex, MonitortaskID, ActionID);
+ public System.Data.DataTable GetUsers(out string Errtext) {
+ return base.Channel.GetUsers(out Errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginModifyMonitorTask(int DeviceIndex, int MonitortaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
+ public System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetUsers(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndModifyMonitorTask(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndModifyMonitorTask(out Errtext, result);
+ public System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetUsers(out Errtext, result);
}
- private System.IAsyncResult OnBeginModifyMonitorTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int DeviceIndex = ((int)(inValues[0]));
- int MonitortaskID = ((int)(inValues[1]));
- int ActionID = ((int)(inValues[2]));
- return this.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
+ private System.IAsyncResult OnBeginGetUsers(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetUsers(callback, asyncState);
}
- private object[] OnEndModifyMonitorTask(System.IAsyncResult result) {
+ private object[] OnEndGetUsers(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndModifyMonitorTask(out Errtext, result);
+ System.Data.DataTable retVal = this.EndGetUsers(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnModifyMonitorTaskCompleted(object state) {
- if ((this.ModifyMonitorTaskCompleted != null)) {
+ private void OnGetUsersCompleted(object state) {
+ if ((this.GetUsersCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ModifyMonitorTaskCompleted(this, new ModifyMonitorTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetUsersCompleted(this, new GetUsersCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID) {
- this.ModifyMonitorTaskAsync(DeviceIndex, MonitortaskID, ActionID, null);
+ public void GetUsersAsync() {
+ this.GetUsersAsync(null);
}
- public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID, object userState) {
- if ((this.onBeginModifyMonitorTaskDelegate == null)) {
- this.onBeginModifyMonitorTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyMonitorTask);
+ public void GetUsersAsync(object userState) {
+ if ((this.onBeginGetUsersDelegate == null)) {
+ this.onBeginGetUsersDelegate = new BeginOperationDelegate(this.OnBeginGetUsers);
}
- if ((this.onEndModifyMonitorTaskDelegate == null)) {
- this.onEndModifyMonitorTaskDelegate = new EndOperationDelegate(this.OnEndModifyMonitorTask);
+ if ((this.onEndGetUsersDelegate == null)) {
+ this.onEndGetUsersDelegate = new EndOperationDelegate(this.OnEndGetUsers);
}
- if ((this.onModifyMonitorTaskCompletedDelegate == null)) {
- this.onModifyMonitorTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyMonitorTaskCompleted);
+ if ((this.onGetUsersCompletedDelegate == null)) {
+ this.onGetUsersCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUsersCompleted);
}
- base.InvokeAsync(this.onBeginModifyMonitorTaskDelegate, new object[] {
- DeviceIndex,
- MonitortaskID,
- ActionID}, this.onEndModifyMonitorTaskDelegate, this.onModifyMonitorTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetUsersDelegate, null, this.onEndGetUsersDelegate, this.onGetUsersCompletedDelegate, userState);
}
- public bool ModifyManageTaskFork(out string Errtext, int Flag, int FarForkTaskID, int NearForkTaskID) {
- return base.Channel.ModifyManageTaskFork(out Errtext, Flag, FarForkTaskID, NearForkTaskID);
+ public bool BuildHandTask(out string Errtext, Model.HandTask Handtask) {
+ return base.Channel.BuildHandTask(out Errtext, Handtask);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginModifyManageTaskFork(int Flag, int FarForkTaskID, int NearForkTaskID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
+ public System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginBuildHandTask(Handtask, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndModifyManageTaskFork(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndModifyManageTaskFork(out Errtext, result);
+ public bool EndBuildHandTask(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndBuildHandTask(out Errtext, result);
}
- private System.IAsyncResult OnBeginModifyManageTaskFork(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int Flag = ((int)(inValues[0]));
- int FarForkTaskID = ((int)(inValues[1]));
- int NearForkTaskID = ((int)(inValues[2]));
- return this.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
+ private System.IAsyncResult OnBeginBuildHandTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ Model.HandTask Handtask = ((Model.HandTask)(inValues[0]));
+ return this.BeginBuildHandTask(Handtask, callback, asyncState);
}
- private object[] OnEndModifyManageTaskFork(System.IAsyncResult result) {
+ private object[] OnEndBuildHandTask(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndModifyManageTaskFork(out Errtext, result);
+ bool retVal = this.EndBuildHandTask(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnModifyManageTaskForkCompleted(object state) {
- if ((this.ModifyManageTaskForkCompleted != null)) {
+ private void OnBuildHandTaskCompleted(object state) {
+ if ((this.BuildHandTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ModifyManageTaskForkCompleted(this, new ModifyManageTaskForkCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.BuildHandTaskCompleted(this, new BuildHandTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID) {
- this.ModifyManageTaskForkAsync(Flag, FarForkTaskID, NearForkTaskID, null);
+ public void BuildHandTaskAsync(Model.HandTask Handtask) {
+ this.BuildHandTaskAsync(Handtask, null);
}
- public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID, object userState) {
- if ((this.onBeginModifyManageTaskForkDelegate == null)) {
- this.onBeginModifyManageTaskForkDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTaskFork);
+ public void BuildHandTaskAsync(Model.HandTask Handtask, object userState) {
+ if ((this.onBeginBuildHandTaskDelegate == null)) {
+ this.onBeginBuildHandTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandTask);
}
- if ((this.onEndModifyManageTaskForkDelegate == null)) {
- this.onEndModifyManageTaskForkDelegate = new EndOperationDelegate(this.OnEndModifyManageTaskFork);
+ if ((this.onEndBuildHandTaskDelegate == null)) {
+ this.onEndBuildHandTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandTask);
}
- if ((this.onModifyManageTaskForkCompletedDelegate == null)) {
- this.onModifyManageTaskForkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskForkCompleted);
+ if ((this.onBuildHandTaskCompletedDelegate == null)) {
+ this.onBuildHandTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandTaskCompleted);
}
- base.InvokeAsync(this.onBeginModifyManageTaskForkDelegate, new object[] {
- Flag,
- FarForkTaskID,
- NearForkTaskID}, this.onEndModifyManageTaskForkDelegate, this.onModifyManageTaskForkCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginBuildHandTaskDelegate, new object[] {
+ Handtask}, this.onEndBuildHandTaskDelegate, this.onBuildHandTaskCompletedDelegate, userState);
}
- public bool SetDeviceState(out string Errtext, Model.MDevice Devinfo) {
- return base.Channel.SetDeviceState(out Errtext, Devinfo);
+ public bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
+ return base.Channel.BuildHandAssociateTask(out Errtext, ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetDeviceState(Model.MDevice Devinfo, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetDeviceState(Devinfo, callback, asyncState);
+ public System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetDeviceState(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetDeviceState(out Errtext, result);
+ public bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndBuildHandAssociateTask(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
- Model.MDevice Devinfo = ((Model.MDevice)(inValues[0]));
- return this.BeginSetDeviceState(Devinfo, callback, asyncState);
+ private System.IAsyncResult OnBeginBuildHandAssociateTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int ConveyorIndex = ((int)(inValues[0]));
+ int ConveyorOrder = ((int)(inValues[1]));
+ int RgvIndex = ((int)(inValues[2]));
+ int RgvOrder = ((int)(inValues[3]));
+ string RgvOrderName = ((string)(inValues[4]));
+ return this.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
}
- private object[] OnEndSetDeviceState(System.IAsyncResult result) {
+ private object[] OnEndBuildHandAssociateTask(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetDeviceState(out Errtext, result);
+ bool retVal = this.EndBuildHandAssociateTask(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetDeviceStateCompleted(object state) {
- if ((this.SetDeviceStateCompleted != null)) {
+ private void OnBuildHandAssociateTaskCompleted(object state) {
+ if ((this.BuildHandAssociateTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetDeviceStateCompleted(this, new SetDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.BuildHandAssociateTaskCompleted(this, new BuildHandAssociateTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetDeviceStateAsync(Model.MDevice Devinfo) {
- this.SetDeviceStateAsync(Devinfo, null);
+ public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
+ this.BuildHandAssociateTaskAsync(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, null);
}
- public void SetDeviceStateAsync(Model.MDevice Devinfo, object userState) {
- if ((this.onBeginSetDeviceStateDelegate == null)) {
- this.onBeginSetDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceState);
+ public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, object userState) {
+ if ((this.onBeginBuildHandAssociateTaskDelegate == null)) {
+ this.onBeginBuildHandAssociateTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandAssociateTask);
}
- if ((this.onEndSetDeviceStateDelegate == null)) {
- this.onEndSetDeviceStateDelegate = new EndOperationDelegate(this.OnEndSetDeviceState);
+ if ((this.onEndBuildHandAssociateTaskDelegate == null)) {
+ this.onEndBuildHandAssociateTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandAssociateTask);
}
- if ((this.onSetDeviceStateCompletedDelegate == null)) {
- this.onSetDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateCompleted);
+ if ((this.onBuildHandAssociateTaskCompletedDelegate == null)) {
+ this.onBuildHandAssociateTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandAssociateTaskCompleted);
}
- base.InvokeAsync(this.onBeginSetDeviceStateDelegate, new object[] {
- Devinfo}, this.onEndSetDeviceStateDelegate, this.onSetDeviceStateCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginBuildHandAssociateTaskDelegate, new object[] {
+ ConveyorIndex,
+ ConveyorOrder,
+ RgvIndex,
+ RgvOrder,
+ RgvOrderName}, this.onEndBuildHandAssociateTaskDelegate, this.onBuildHandAssociateTaskCompletedDelegate, userState);
}
- public Model.MDevice GetDeviceInfo(out string Errtext, int Deviceindex) {
- return base.Channel.GetDeviceInfo(out Errtext, Deviceindex);
+ public bool BuildAutoTask(out string Errtext, Model.AutoTask Autotask) {
+ return base.Channel.BuildAutoTask(out Errtext, Autotask);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceInfo(int Deviceindex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
+ public System.IAsyncResult BeginBuildAutoTask(Model.AutoTask Autotask, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginBuildAutoTask(Autotask, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MDevice EndGetDeviceInfo(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceInfo(out Errtext, result);
+ public bool EndBuildAutoTask(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndBuildAutoTask(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDeviceInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int Deviceindex = ((int)(inValues[0]));
- return this.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
+ private System.IAsyncResult OnBeginBuildAutoTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ Model.AutoTask Autotask = ((Model.AutoTask)(inValues[0]));
+ return this.BeginBuildAutoTask(Autotask, callback, asyncState);
}
- private object[] OnEndGetDeviceInfo(System.IAsyncResult result) {
+ private object[] OnEndBuildAutoTask(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- Model.MDevice retVal = this.EndGetDeviceInfo(out Errtext, result);
+ bool retVal = this.EndBuildAutoTask(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetDeviceInfoCompleted(object state) {
- if ((this.GetDeviceInfoCompleted != null)) {
+ private void OnBuildAutoTaskCompleted(object state) {
+ if ((this.BuildAutoTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceInfoCompleted(this, new GetDeviceInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.BuildAutoTaskCompleted(this, new BuildAutoTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceInfoAsync(int Deviceindex) {
- this.GetDeviceInfoAsync(Deviceindex, null);
+ public void BuildAutoTaskAsync(Model.AutoTask Autotask) {
+ this.BuildAutoTaskAsync(Autotask, null);
}
- public void GetDeviceInfoAsync(int Deviceindex, object userState) {
- if ((this.onBeginGetDeviceInfoDelegate == null)) {
- this.onBeginGetDeviceInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfo);
+ public void BuildAutoTaskAsync(Model.AutoTask Autotask, object userState) {
+ if ((this.onBeginBuildAutoTaskDelegate == null)) {
+ this.onBeginBuildAutoTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildAutoTask);
}
- if ((this.onEndGetDeviceInfoDelegate == null)) {
- this.onEndGetDeviceInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfo);
+ if ((this.onEndBuildAutoTaskDelegate == null)) {
+ this.onEndBuildAutoTaskDelegate = new EndOperationDelegate(this.OnEndBuildAutoTask);
}
- if ((this.onGetDeviceInfoCompletedDelegate == null)) {
- this.onGetDeviceInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfoCompleted);
+ if ((this.onBuildAutoTaskCompletedDelegate == null)) {
+ this.onBuildAutoTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildAutoTaskCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceInfoDelegate, new object[] {
- Deviceindex}, this.onEndGetDeviceInfoDelegate, this.onGetDeviceInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginBuildAutoTaskDelegate, new object[] {
+ Autotask}, this.onEndBuildAutoTaskDelegate, this.onBuildAutoTaskCompletedDelegate, userState);
}
- public System.Data.DataTable GetDeviceInfos(out string Errtext, string erroecode) {
- return base.Channel.GetDeviceInfos(out Errtext, erroecode);
+ public bool ModifyManageTask(out string Errtext, int ManKind, long ManagetaskID, int ActionID) {
+ return base.Channel.ModifyManageTask(out Errtext, ManKind, ManagetaskID, ActionID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceInfos(string erroecode, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceInfos(erroecode, callback, asyncState);
+ public System.IAsyncResult BeginModifyManageTask(int ManKind, long ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.Data.DataTable EndGetDeviceInfos(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceInfos(out Errtext, result);
+ public bool EndModifyManageTask(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndModifyManageTask(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDeviceInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string erroecode = ((string)(inValues[0]));
- return this.BeginGetDeviceInfos(erroecode, callback, asyncState);
+ private System.IAsyncResult OnBeginModifyManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int ManKind = ((int)(inValues[0]));
+ long ManagetaskID = ((long)(inValues[1]));
+ int ActionID = ((int)(inValues[2]));
+ return this.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
}
- private object[] OnEndGetDeviceInfos(System.IAsyncResult result) {
+ private object[] OnEndModifyManageTask(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- System.Data.DataTable retVal = this.EndGetDeviceInfos(out Errtext, result);
+ bool retVal = this.EndModifyManageTask(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetDeviceInfosCompleted(object state) {
- if ((this.GetDeviceInfosCompleted != null)) {
+ private void OnModifyManageTaskCompleted(object state) {
+ if ((this.ModifyManageTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceInfosCompleted(this, new GetDeviceInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ModifyManageTaskCompleted(this, new ModifyManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceInfosAsync(string erroecode) {
- this.GetDeviceInfosAsync(erroecode, null);
+ public void ModifyManageTaskAsync(int ManKind, long ManagetaskID, int ActionID) {
+ this.ModifyManageTaskAsync(ManKind, ManagetaskID, ActionID, null);
}
- public void GetDeviceInfosAsync(string erroecode, object userState) {
- if ((this.onBeginGetDeviceInfosDelegate == null)) {
- this.onBeginGetDeviceInfosDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfos);
+ public void ModifyManageTaskAsync(int ManKind, long ManagetaskID, int ActionID, object userState) {
+ if ((this.onBeginModifyManageTaskDelegate == null)) {
+ this.onBeginModifyManageTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTask);
}
- if ((this.onEndGetDeviceInfosDelegate == null)) {
- this.onEndGetDeviceInfosDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfos);
+ if ((this.onEndModifyManageTaskDelegate == null)) {
+ this.onEndModifyManageTaskDelegate = new EndOperationDelegate(this.OnEndModifyManageTask);
}
- if ((this.onGetDeviceInfosCompletedDelegate == null)) {
- this.onGetDeviceInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfosCompleted);
+ if ((this.onModifyManageTaskCompletedDelegate == null)) {
+ this.onModifyManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceInfosDelegate, new object[] {
- erroecode}, this.onEndGetDeviceInfosDelegate, this.onGetDeviceInfosCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginModifyManageTaskDelegate, new object[] {
+ ManKind,
+ ManagetaskID,
+ ActionID}, this.onEndModifyManageTaskDelegate, this.onModifyManageTaskCompletedDelegate, userState);
}
- public bool SetRouteState(out string Errtext, Model.MRoute Routeinfo) {
- return base.Channel.SetRouteState(out Errtext, Routeinfo);
+ public bool ModifyMonitorTask(out string Errtext, int DeviceIndex, int MonitortaskID, int ActionID) {
+ return base.Channel.ModifyMonitorTask(out Errtext, DeviceIndex, MonitortaskID, ActionID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetRouteState(Model.MRoute Routeinfo, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetRouteState(Routeinfo, callback, asyncState);
+ public System.IAsyncResult BeginModifyMonitorTask(int DeviceIndex, int MonitortaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetRouteState(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetRouteState(out Errtext, result);
+ public bool EndModifyMonitorTask(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndModifyMonitorTask(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetRouteState(object[] inValues, System.AsyncCallback callback, object asyncState) {
- Model.MRoute Routeinfo = ((Model.MRoute)(inValues[0]));
- return this.BeginSetRouteState(Routeinfo, callback, asyncState);
+ private System.IAsyncResult OnBeginModifyMonitorTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int DeviceIndex = ((int)(inValues[0]));
+ int MonitortaskID = ((int)(inValues[1]));
+ int ActionID = ((int)(inValues[2]));
+ return this.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
}
- private object[] OnEndSetRouteState(System.IAsyncResult result) {
+ private object[] OnEndModifyMonitorTask(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetRouteState(out Errtext, result);
+ bool retVal = this.EndModifyMonitorTask(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetRouteStateCompleted(object state) {
- if ((this.SetRouteStateCompleted != null)) {
+ private void OnModifyMonitorTaskCompleted(object state) {
+ if ((this.ModifyMonitorTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetRouteStateCompleted(this, new SetRouteStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ModifyMonitorTaskCompleted(this, new ModifyMonitorTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetRouteStateAsync(Model.MRoute Routeinfo) {
- this.SetRouteStateAsync(Routeinfo, null);
+ public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID) {
+ this.ModifyMonitorTaskAsync(DeviceIndex, MonitortaskID, ActionID, null);
}
- public void SetRouteStateAsync(Model.MRoute Routeinfo, object userState) {
- if ((this.onBeginSetRouteStateDelegate == null)) {
- this.onBeginSetRouteStateDelegate = new BeginOperationDelegate(this.OnBeginSetRouteState);
+ public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID, object userState) {
+ if ((this.onBeginModifyMonitorTaskDelegate == null)) {
+ this.onBeginModifyMonitorTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyMonitorTask);
}
- if ((this.onEndSetRouteStateDelegate == null)) {
- this.onEndSetRouteStateDelegate = new EndOperationDelegate(this.OnEndSetRouteState);
+ if ((this.onEndModifyMonitorTaskDelegate == null)) {
+ this.onEndModifyMonitorTaskDelegate = new EndOperationDelegate(this.OnEndModifyMonitorTask);
}
- if ((this.onSetRouteStateCompletedDelegate == null)) {
- this.onSetRouteStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateCompleted);
+ if ((this.onModifyMonitorTaskCompletedDelegate == null)) {
+ this.onModifyMonitorTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyMonitorTaskCompleted);
}
- base.InvokeAsync(this.onBeginSetRouteStateDelegate, new object[] {
- Routeinfo}, this.onEndSetRouteStateDelegate, this.onSetRouteStateCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginModifyMonitorTaskDelegate, new object[] {
+ DeviceIndex,
+ MonitortaskID,
+ ActionID}, this.onEndModifyMonitorTaskDelegate, this.onModifyMonitorTaskCompletedDelegate, userState);
}
- public Model.MRoute GetRouteInfo(out string Errtext, decimal RouteID) {
- return base.Channel.GetRouteInfo(out Errtext, RouteID);
+ public bool ModifyManageTaskFork(out string Errtext, int Flag, int FarForkTaskID, int NearForkTaskID) {
+ return base.Channel.ModifyManageTaskFork(out Errtext, Flag, FarForkTaskID, NearForkTaskID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetRouteInfo(decimal RouteID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetRouteInfo(RouteID, callback, asyncState);
+ public System.IAsyncResult BeginModifyManageTaskFork(int Flag, int FarForkTaskID, int NearForkTaskID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MRoute EndGetRouteInfo(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetRouteInfo(out Errtext, result);
+ public bool EndModifyManageTaskFork(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndModifyManageTaskFork(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetRouteInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- decimal RouteID = ((decimal)(inValues[0]));
- return this.BeginGetRouteInfo(RouteID, callback, asyncState);
+ private System.IAsyncResult OnBeginModifyManageTaskFork(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int Flag = ((int)(inValues[0]));
+ int FarForkTaskID = ((int)(inValues[1]));
+ int NearForkTaskID = ((int)(inValues[2]));
+ return this.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
}
- private object[] OnEndGetRouteInfo(System.IAsyncResult result) {
+ private object[] OnEndModifyManageTaskFork(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- Model.MRoute retVal = this.EndGetRouteInfo(out Errtext, result);
+ bool retVal = this.EndModifyManageTaskFork(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetRouteInfoCompleted(object state) {
- if ((this.GetRouteInfoCompleted != null)) {
+ private void OnModifyManageTaskForkCompleted(object state) {
+ if ((this.ModifyManageTaskForkCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetRouteInfoCompleted(this, new GetRouteInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ModifyManageTaskForkCompleted(this, new ModifyManageTaskForkCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetRouteInfoAsync(decimal RouteID) {
- this.GetRouteInfoAsync(RouteID, null);
+ public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID) {
+ this.ModifyManageTaskForkAsync(Flag, FarForkTaskID, NearForkTaskID, null);
}
- public void GetRouteInfoAsync(decimal RouteID, object userState) {
- if ((this.onBeginGetRouteInfoDelegate == null)) {
- this.onBeginGetRouteInfoDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfo);
+ public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID, object userState) {
+ if ((this.onBeginModifyManageTaskForkDelegate == null)) {
+ this.onBeginModifyManageTaskForkDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTaskFork);
}
- if ((this.onEndGetRouteInfoDelegate == null)) {
- this.onEndGetRouteInfoDelegate = new EndOperationDelegate(this.OnEndGetRouteInfo);
+ if ((this.onEndModifyManageTaskForkDelegate == null)) {
+ this.onEndModifyManageTaskForkDelegate = new EndOperationDelegate(this.OnEndModifyManageTaskFork);
}
- if ((this.onGetRouteInfoCompletedDelegate == null)) {
- this.onGetRouteInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfoCompleted);
+ if ((this.onModifyManageTaskForkCompletedDelegate == null)) {
+ this.onModifyManageTaskForkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskForkCompleted);
}
- base.InvokeAsync(this.onBeginGetRouteInfoDelegate, new object[] {
- RouteID}, this.onEndGetRouteInfoDelegate, this.onGetRouteInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginModifyManageTaskForkDelegate, new object[] {
+ Flag,
+ FarForkTaskID,
+ NearForkTaskID}, this.onEndModifyManageTaskForkDelegate, this.onModifyManageTaskForkCompletedDelegate, userState);
}
- public Model.MRoute[] GetRouteInfos(out string Errtext, int RouteState) {
- return base.Channel.GetRouteInfos(out Errtext, RouteState);
+ public bool SetDeviceState(out string Errtext, Model.MDevice Devinfo) {
+ return base.Channel.SetDeviceState(out Errtext, Devinfo);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetRouteInfos(int RouteState, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetRouteInfos(RouteState, callback, asyncState);
+ public System.IAsyncResult BeginSetDeviceState(Model.MDevice Devinfo, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetDeviceState(Devinfo, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MRoute[] EndGetRouteInfos(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetRouteInfos(out Errtext, result);
+ public bool EndSetDeviceState(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetDeviceState(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetRouteInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int RouteState = ((int)(inValues[0]));
- return this.BeginGetRouteInfos(RouteState, callback, asyncState);
+ private System.IAsyncResult OnBeginSetDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ Model.MDevice Devinfo = ((Model.MDevice)(inValues[0]));
+ return this.BeginSetDeviceState(Devinfo, callback, asyncState);
}
- private object[] OnEndGetRouteInfos(System.IAsyncResult result) {
+ private object[] OnEndSetDeviceState(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- Model.MRoute[] retVal = this.EndGetRouteInfos(out Errtext, result);
+ bool retVal = this.EndSetDeviceState(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetRouteInfosCompleted(object state) {
- if ((this.GetRouteInfosCompleted != null)) {
+ private void OnSetDeviceStateCompleted(object state) {
+ if ((this.SetDeviceStateCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetRouteInfosCompleted(this, new GetRouteInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetDeviceStateCompleted(this, new SetDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetRouteInfosAsync(int RouteState) {
- this.GetRouteInfosAsync(RouteState, null);
+ public void SetDeviceStateAsync(Model.MDevice Devinfo) {
+ this.SetDeviceStateAsync(Devinfo, null);
}
- public void GetRouteInfosAsync(int RouteState, object userState) {
- if ((this.onBeginGetRouteInfosDelegate == null)) {
- this.onBeginGetRouteInfosDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfos);
+ public void SetDeviceStateAsync(Model.MDevice Devinfo, object userState) {
+ if ((this.onBeginSetDeviceStateDelegate == null)) {
+ this.onBeginSetDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceState);
}
- if ((this.onEndGetRouteInfosDelegate == null)) {
- this.onEndGetRouteInfosDelegate = new EndOperationDelegate(this.OnEndGetRouteInfos);
+ if ((this.onEndSetDeviceStateDelegate == null)) {
+ this.onEndSetDeviceStateDelegate = new EndOperationDelegate(this.OnEndSetDeviceState);
}
- if ((this.onGetRouteInfosCompletedDelegate == null)) {
- this.onGetRouteInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfosCompleted);
+ if ((this.onSetDeviceStateCompletedDelegate == null)) {
+ this.onSetDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateCompleted);
}
- base.InvokeAsync(this.onBeginGetRouteInfosDelegate, new object[] {
- RouteState}, this.onEndGetRouteInfosDelegate, this.onGetRouteInfosCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetDeviceStateDelegate, new object[] {
+ Devinfo}, this.onEndSetDeviceStateDelegate, this.onSetDeviceStateCompletedDelegate, userState);
}
- public bool SetForkCombinWaitTime(out string Errtext, int WaitTime) {
- return base.Channel.SetForkCombinWaitTime(out Errtext, WaitTime);
+ public Model.MDevice GetDeviceInfo(out string Errtext, int Deviceindex) {
+ return base.Channel.GetDeviceInfo(out Errtext, Deviceindex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetForkCombinWaitTime(int WaitTime, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceInfo(int Deviceindex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetForkCombinWaitTime(out Errtext, result);
+ public Model.MDevice EndGetDeviceInfo(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceInfo(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int WaitTime = ((int)(inValues[0]));
- return this.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
+ private System.IAsyncResult OnBeginGetDeviceInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int Deviceindex = ((int)(inValues[0]));
+ return this.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
}
- private object[] OnEndSetForkCombinWaitTime(System.IAsyncResult result) {
+ private object[] OnEndGetDeviceInfo(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetForkCombinWaitTime(out Errtext, result);
+ Model.MDevice retVal = this.EndGetDeviceInfo(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetForkCombinWaitTimeCompleted(object state) {
- if ((this.SetForkCombinWaitTimeCompleted != null)) {
+ private void OnGetDeviceInfoCompleted(object state) {
+ if ((this.GetDeviceInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetForkCombinWaitTimeCompleted(this, new SetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceInfoCompleted(this, new GetDeviceInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetForkCombinWaitTimeAsync(int WaitTime) {
- this.SetForkCombinWaitTimeAsync(WaitTime, null);
+ public void GetDeviceInfoAsync(int Deviceindex) {
+ this.GetDeviceInfoAsync(Deviceindex, null);
}
- public void SetForkCombinWaitTimeAsync(int WaitTime, object userState) {
- if ((this.onBeginSetForkCombinWaitTimeDelegate == null)) {
- this.onBeginSetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginSetForkCombinWaitTime);
+ public void GetDeviceInfoAsync(int Deviceindex, object userState) {
+ if ((this.onBeginGetDeviceInfoDelegate == null)) {
+ this.onBeginGetDeviceInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfo);
}
- if ((this.onEndSetForkCombinWaitTimeDelegate == null)) {
- this.onEndSetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndSetForkCombinWaitTime);
+ if ((this.onEndGetDeviceInfoDelegate == null)) {
+ this.onEndGetDeviceInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfo);
}
- if ((this.onSetForkCombinWaitTimeCompletedDelegate == null)) {
- this.onSetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetForkCombinWaitTimeCompleted);
+ if ((this.onGetDeviceInfoCompletedDelegate == null)) {
+ this.onGetDeviceInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfoCompleted);
}
- base.InvokeAsync(this.onBeginSetForkCombinWaitTimeDelegate, new object[] {
- WaitTime}, this.onEndSetForkCombinWaitTimeDelegate, this.onSetForkCombinWaitTimeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceInfoDelegate, new object[] {
+ Deviceindex}, this.onEndGetDeviceInfoDelegate, this.onGetDeviceInfoCompletedDelegate, userState);
}
- public int GetForkCombinWaitTime(out string Errtext) {
- return base.Channel.GetForkCombinWaitTime(out Errtext);
+ public System.Data.DataTable GetDeviceInfos(out string Errtext, string erroecode) {
+ return base.Channel.GetDeviceInfos(out Errtext, erroecode);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetForkCombinWaitTime(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetForkCombinWaitTime(callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceInfos(string erroecode, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceInfos(erroecode, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndGetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetForkCombinWaitTime(out Errtext, result);
+ public System.Data.DataTable EndGetDeviceInfos(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceInfos(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetForkCombinWaitTime(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDeviceInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string erroecode = ((string)(inValues[0]));
+ return this.BeginGetDeviceInfos(erroecode, callback, asyncState);
}
- private object[] OnEndGetForkCombinWaitTime(System.IAsyncResult result) {
+ private object[] OnEndGetDeviceInfos(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndGetForkCombinWaitTime(out Errtext, result);
+ System.Data.DataTable retVal = this.EndGetDeviceInfos(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetForkCombinWaitTimeCompleted(object state) {
- if ((this.GetForkCombinWaitTimeCompleted != null)) {
+ private void OnGetDeviceInfosCompleted(object state) {
+ if ((this.GetDeviceInfosCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetForkCombinWaitTimeCompleted(this, new GetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceInfosCompleted(this, new GetDeviceInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetForkCombinWaitTimeAsync() {
- this.GetForkCombinWaitTimeAsync(null);
+ public void GetDeviceInfosAsync(string erroecode) {
+ this.GetDeviceInfosAsync(erroecode, null);
}
- public void GetForkCombinWaitTimeAsync(object userState) {
- if ((this.onBeginGetForkCombinWaitTimeDelegate == null)) {
- this.onBeginGetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginGetForkCombinWaitTime);
+ public void GetDeviceInfosAsync(string erroecode, object userState) {
+ if ((this.onBeginGetDeviceInfosDelegate == null)) {
+ this.onBeginGetDeviceInfosDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfos);
}
- if ((this.onEndGetForkCombinWaitTimeDelegate == null)) {
- this.onEndGetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndGetForkCombinWaitTime);
+ if ((this.onEndGetDeviceInfosDelegate == null)) {
+ this.onEndGetDeviceInfosDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfos);
}
- if ((this.onGetForkCombinWaitTimeCompletedDelegate == null)) {
- this.onGetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetForkCombinWaitTimeCompleted);
+ if ((this.onGetDeviceInfosCompletedDelegate == null)) {
+ this.onGetDeviceInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfosCompleted);
}
- base.InvokeAsync(this.onBeginGetForkCombinWaitTimeDelegate, null, this.onEndGetForkCombinWaitTimeDelegate, this.onGetForkCombinWaitTimeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceInfosDelegate, new object[] {
+ erroecode}, this.onEndGetDeviceInfosDelegate, this.onGetDeviceInfosCompletedDelegate, userState);
}
- public bool SetConveyorTimeOutTime(out string Errtext, int Timeout) {
- return base.Channel.SetConveyorTimeOutTime(out Errtext, Timeout);
+ public bool SetRouteState(out string Errtext, Model.MRoute Routeinfo) {
+ return base.Channel.SetRouteState(out Errtext, Routeinfo);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetConveyorTimeOutTime(int Timeout, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
+ public System.IAsyncResult BeginSetRouteState(Model.MRoute Routeinfo, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetRouteState(Routeinfo, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetConveyorTimeOutTime(out Errtext, result);
+ public bool EndSetRouteState(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetRouteState(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int Timeout = ((int)(inValues[0]));
- return this.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
+ private System.IAsyncResult OnBeginSetRouteState(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ Model.MRoute Routeinfo = ((Model.MRoute)(inValues[0]));
+ return this.BeginSetRouteState(Routeinfo, callback, asyncState);
}
- private object[] OnEndSetConveyorTimeOutTime(System.IAsyncResult result) {
+ private object[] OnEndSetRouteState(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetConveyorTimeOutTime(out Errtext, result);
+ bool retVal = this.EndSetRouteState(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetConveyorTimeOutTimeCompleted(object state) {
- if ((this.SetConveyorTimeOutTimeCompleted != null)) {
+ private void OnSetRouteStateCompleted(object state) {
+ if ((this.SetRouteStateCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetConveyorTimeOutTimeCompleted(this, new SetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetRouteStateCompleted(this, new SetRouteStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetConveyorTimeOutTimeAsync(int Timeout) {
- this.SetConveyorTimeOutTimeAsync(Timeout, null);
+ public void SetRouteStateAsync(Model.MRoute Routeinfo) {
+ this.SetRouteStateAsync(Routeinfo, null);
}
- public void SetConveyorTimeOutTimeAsync(int Timeout, object userState) {
- if ((this.onBeginSetConveyorTimeOutTimeDelegate == null)) {
- this.onBeginSetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginSetConveyorTimeOutTime);
+ public void SetRouteStateAsync(Model.MRoute Routeinfo, object userState) {
+ if ((this.onBeginSetRouteStateDelegate == null)) {
+ this.onBeginSetRouteStateDelegate = new BeginOperationDelegate(this.OnBeginSetRouteState);
}
- if ((this.onEndSetConveyorTimeOutTimeDelegate == null)) {
- this.onEndSetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndSetConveyorTimeOutTime);
+ if ((this.onEndSetRouteStateDelegate == null)) {
+ this.onEndSetRouteStateDelegate = new EndOperationDelegate(this.OnEndSetRouteState);
}
- if ((this.onSetConveyorTimeOutTimeCompletedDelegate == null)) {
- this.onSetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConveyorTimeOutTimeCompleted);
+ if ((this.onSetRouteStateCompletedDelegate == null)) {
+ this.onSetRouteStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateCompleted);
}
- base.InvokeAsync(this.onBeginSetConveyorTimeOutTimeDelegate, new object[] {
- Timeout}, this.onEndSetConveyorTimeOutTimeDelegate, this.onSetConveyorTimeOutTimeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetRouteStateDelegate, new object[] {
+ Routeinfo}, this.onEndSetRouteStateDelegate, this.onSetRouteStateCompletedDelegate, userState);
}
- public int GetConveyorTimeOutTime(out string Errtext) {
- return base.Channel.GetConveyorTimeOutTime(out Errtext);
+ public Model.MRoute GetRouteInfo(out string Errtext, decimal RouteID) {
+ return base.Channel.GetRouteInfo(out Errtext, RouteID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetConveyorTimeOutTime(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetConveyorTimeOutTime(callback, asyncState);
+ public System.IAsyncResult BeginGetRouteInfo(decimal RouteID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetRouteInfo(RouteID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public int EndGetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetConveyorTimeOutTime(out Errtext, result);
+ public Model.MRoute EndGetRouteInfo(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetRouteInfo(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetConveyorTimeOutTime(callback, asyncState);
+ private System.IAsyncResult OnBeginGetRouteInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ decimal RouteID = ((decimal)(inValues[0]));
+ return this.BeginGetRouteInfo(RouteID, callback, asyncState);
}
- private object[] OnEndGetConveyorTimeOutTime(System.IAsyncResult result) {
+ private object[] OnEndGetRouteInfo(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- int retVal = this.EndGetConveyorTimeOutTime(out Errtext, result);
+ Model.MRoute retVal = this.EndGetRouteInfo(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetConveyorTimeOutTimeCompleted(object state) {
- if ((this.GetConveyorTimeOutTimeCompleted != null)) {
+ private void OnGetRouteInfoCompleted(object state) {
+ if ((this.GetRouteInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetConveyorTimeOutTimeCompleted(this, new GetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetRouteInfoCompleted(this, new GetRouteInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetConveyorTimeOutTimeAsync() {
- this.GetConveyorTimeOutTimeAsync(null);
+ public void GetRouteInfoAsync(decimal RouteID) {
+ this.GetRouteInfoAsync(RouteID, null);
}
- public void GetConveyorTimeOutTimeAsync(object userState) {
- if ((this.onBeginGetConveyorTimeOutTimeDelegate == null)) {
- this.onBeginGetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginGetConveyorTimeOutTime);
+ public void GetRouteInfoAsync(decimal RouteID, object userState) {
+ if ((this.onBeginGetRouteInfoDelegate == null)) {
+ this.onBeginGetRouteInfoDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfo);
}
- if ((this.onEndGetConveyorTimeOutTimeDelegate == null)) {
- this.onEndGetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndGetConveyorTimeOutTime);
+ if ((this.onEndGetRouteInfoDelegate == null)) {
+ this.onEndGetRouteInfoDelegate = new EndOperationDelegate(this.OnEndGetRouteInfo);
}
- if ((this.onGetConveyorTimeOutTimeCompletedDelegate == null)) {
- this.onGetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConveyorTimeOutTimeCompleted);
+ if ((this.onGetRouteInfoCompletedDelegate == null)) {
+ this.onGetRouteInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfoCompleted);
}
- base.InvokeAsync(this.onBeginGetConveyorTimeOutTimeDelegate, null, this.onEndGetConveyorTimeOutTimeDelegate, this.onGetConveyorTimeOutTimeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetRouteInfoDelegate, new object[] {
+ RouteID}, this.onEndGetRouteInfoDelegate, this.onGetRouteInfoCompletedDelegate, userState);
}
- public bool SetDBConnection(out string Errtext, string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
- return base.Channel.SetDBConnection(out Errtext, MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password);
+ public Model.MRoute[] GetRouteInfos(out string Errtext, int RouteState) {
+ return base.Channel.GetRouteInfos(out Errtext, RouteState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetDBConnection(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
+ public System.IAsyncResult BeginGetRouteInfos(int RouteState, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetRouteInfos(RouteState, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetDBConnection(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetDBConnection(out Errtext, result);
+ public Model.MRoute[] EndGetRouteInfos(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetRouteInfos(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string MonitorOrManageDB = ((string)(inValues[0]));
- string ServerHostName = ((string)(inValues[1]));
- string DBServiceName = ((string)(inValues[2]));
- string Username = ((string)(inValues[3]));
- string Password = ((string)(inValues[4]));
- return this.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
+ private System.IAsyncResult OnBeginGetRouteInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int RouteState = ((int)(inValues[0]));
+ return this.BeginGetRouteInfos(RouteState, callback, asyncState);
}
- private object[] OnEndSetDBConnection(System.IAsyncResult result) {
+ private object[] OnEndGetRouteInfos(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetDBConnection(out Errtext, result);
+ Model.MRoute[] retVal = this.EndGetRouteInfos(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetDBConnectionCompleted(object state) {
- if ((this.SetDBConnectionCompleted != null)) {
+ private void OnGetRouteInfosCompleted(object state) {
+ if ((this.GetRouteInfosCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetDBConnectionCompleted(this, new SetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetRouteInfosCompleted(this, new GetRouteInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
- this.SetDBConnectionAsync(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, null);
+ public void GetRouteInfosAsync(int RouteState) {
+ this.GetRouteInfosAsync(RouteState, null);
}
- public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, object userState) {
- if ((this.onBeginSetDBConnectionDelegate == null)) {
- this.onBeginSetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetDBConnection);
+ public void GetRouteInfosAsync(int RouteState, object userState) {
+ if ((this.onBeginGetRouteInfosDelegate == null)) {
+ this.onBeginGetRouteInfosDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfos);
}
- if ((this.onEndSetDBConnectionDelegate == null)) {
- this.onEndSetDBConnectionDelegate = new EndOperationDelegate(this.OnEndSetDBConnection);
+ if ((this.onEndGetRouteInfosDelegate == null)) {
+ this.onEndGetRouteInfosDelegate = new EndOperationDelegate(this.OnEndGetRouteInfos);
}
- if ((this.onSetDBConnectionCompletedDelegate == null)) {
- this.onSetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDBConnectionCompleted);
+ if ((this.onGetRouteInfosCompletedDelegate == null)) {
+ this.onGetRouteInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfosCompleted);
}
- base.InvokeAsync(this.onBeginSetDBConnectionDelegate, new object[] {
- MonitorOrManageDB,
- ServerHostName,
- DBServiceName,
- Username,
- Password}, this.onEndSetDBConnectionDelegate, this.onSetDBConnectionCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetRouteInfosDelegate, new object[] {
+ RouteState}, this.onEndGetRouteInfosDelegate, this.onGetRouteInfosCompletedDelegate, userState);
}
- public bool GetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, string MonitorOrManageDB) {
- return base.Channel.GetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, MonitorOrManageDB);
+ public bool SetForkCombinWaitTime(out string Errtext, int WaitTime) {
+ return base.Channel.SetForkCombinWaitTime(out Errtext, WaitTime);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDBConnection(string MonitorOrManageDB, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
+ public System.IAsyncResult BeginSetForkCombinWaitTime(int WaitTime, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndGetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
+ public bool EndSetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetForkCombinWaitTime(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string MonitorOrManageDB = ((string)(inValues[0]));
- return this.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
+ private System.IAsyncResult OnBeginSetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int WaitTime = ((int)(inValues[0]));
+ return this.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
}
- private object[] OnEndGetDBConnection(System.IAsyncResult result) {
- string ServerHostName = this.GetDefaultValueForInitialization();
- string DBServiceName = this.GetDefaultValueForInitialization();
- string Username = this.GetDefaultValueForInitialization();
- string Password = this.GetDefaultValueForInitialization();
+ private object[] OnEndSetForkCombinWaitTime(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
+ bool retVal = this.EndSetForkCombinWaitTime(out Errtext, result);
return new object[] {
- ServerHostName,
- DBServiceName,
- Username,
- Password,
Errtext,
retVal};
}
- private void OnGetDBConnectionCompleted(object state) {
- if ((this.GetDBConnectionCompleted != null)) {
+ private void OnSetForkCombinWaitTimeCompleted(object state) {
+ if ((this.SetForkCombinWaitTimeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDBConnectionCompleted(this, new GetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetForkCombinWaitTimeCompleted(this, new SetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDBConnectionAsync(string MonitorOrManageDB) {
- this.GetDBConnectionAsync(MonitorOrManageDB, null);
+ public void SetForkCombinWaitTimeAsync(int WaitTime) {
+ this.SetForkCombinWaitTimeAsync(WaitTime, null);
}
- public void GetDBConnectionAsync(string MonitorOrManageDB, object userState) {
- if ((this.onBeginGetDBConnectionDelegate == null)) {
- this.onBeginGetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetDBConnection);
- }
- if ((this.onEndGetDBConnectionDelegate == null)) {
- this.onEndGetDBConnectionDelegate = new EndOperationDelegate(this.OnEndGetDBConnection);
+ public void SetForkCombinWaitTimeAsync(int WaitTime, object userState) {
+ if ((this.onBeginSetForkCombinWaitTimeDelegate == null)) {
+ this.onBeginSetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginSetForkCombinWaitTime);
}
- if ((this.onGetDBConnectionCompletedDelegate == null)) {
- this.onGetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDBConnectionCompleted);
+ if ((this.onEndSetForkCombinWaitTimeDelegate == null)) {
+ this.onEndSetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndSetForkCombinWaitTime);
}
- base.InvokeAsync(this.onBeginGetDBConnectionDelegate, new object[] {
- MonitorOrManageDB}, this.onEndGetDBConnectionDelegate, this.onGetDBConnectionCompletedDelegate, userState);
+ if ((this.onSetForkCombinWaitTimeCompletedDelegate == null)) {
+ this.onSetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetForkCombinWaitTimeCompleted);
+ }
+ base.InvokeAsync(this.onBeginSetForkCombinWaitTimeDelegate, new object[] {
+ WaitTime}, this.onEndSetForkCombinWaitTimeDelegate, this.onSetForkCombinWaitTimeCompletedDelegate, userState);
}
- public bool SetIOStationProperty(out string Errtext, int deviceIndex, int IOStationProperty) {
- return base.Channel.SetIOStationProperty(out Errtext, deviceIndex, IOStationProperty);
+ public int GetForkCombinWaitTime(out string Errtext) {
+ return base.Channel.GetForkCombinWaitTime(out Errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetIOStationProperty(int deviceIndex, int IOStationProperty, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
+ public System.IAsyncResult BeginGetForkCombinWaitTime(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetForkCombinWaitTime(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetIOStationProperty(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetIOStationProperty(out Errtext, result);
+ public int EndGetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetForkCombinWaitTime(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetIOStationProperty(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- int IOStationProperty = ((int)(inValues[1]));
- return this.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
+ private System.IAsyncResult OnBeginGetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetForkCombinWaitTime(callback, asyncState);
}
- private object[] OnEndSetIOStationProperty(System.IAsyncResult result) {
+ private object[] OnEndGetForkCombinWaitTime(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetIOStationProperty(out Errtext, result);
+ int retVal = this.EndGetForkCombinWaitTime(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetIOStationPropertyCompleted(object state) {
- if ((this.SetIOStationPropertyCompleted != null)) {
+ private void OnGetForkCombinWaitTimeCompleted(object state) {
+ if ((this.GetForkCombinWaitTimeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetIOStationPropertyCompleted(this, new SetIOStationPropertyCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetForkCombinWaitTimeCompleted(this, new GetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty) {
- this.SetIOStationPropertyAsync(deviceIndex, IOStationProperty, null);
+ public void GetForkCombinWaitTimeAsync() {
+ this.GetForkCombinWaitTimeAsync(null);
}
- public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty, object userState) {
- if ((this.onBeginSetIOStationPropertyDelegate == null)) {
- this.onBeginSetIOStationPropertyDelegate = new BeginOperationDelegate(this.OnBeginSetIOStationProperty);
+ public void GetForkCombinWaitTimeAsync(object userState) {
+ if ((this.onBeginGetForkCombinWaitTimeDelegate == null)) {
+ this.onBeginGetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginGetForkCombinWaitTime);
}
- if ((this.onEndSetIOStationPropertyDelegate == null)) {
- this.onEndSetIOStationPropertyDelegate = new EndOperationDelegate(this.OnEndSetIOStationProperty);
+ if ((this.onEndGetForkCombinWaitTimeDelegate == null)) {
+ this.onEndGetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndGetForkCombinWaitTime);
}
- if ((this.onSetIOStationPropertyCompletedDelegate == null)) {
- this.onSetIOStationPropertyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetIOStationPropertyCompleted);
+ if ((this.onGetForkCombinWaitTimeCompletedDelegate == null)) {
+ this.onGetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetForkCombinWaitTimeCompleted);
}
- base.InvokeAsync(this.onBeginSetIOStationPropertyDelegate, new object[] {
- deviceIndex,
- IOStationProperty}, this.onEndSetIOStationPropertyDelegate, this.onSetIOStationPropertyCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetForkCombinWaitTimeDelegate, null, this.onEndGetForkCombinWaitTimeDelegate, this.onGetForkCombinWaitTimeCompletedDelegate, userState);
}
- public bool SetBlackBoxParameter(out string Errtext, int FileCount, int FileSize) {
- return base.Channel.SetBlackBoxParameter(out Errtext, FileCount, FileSize);
+ public bool SetConveyorTimeOutTime(out string Errtext, int Timeout) {
+ return base.Channel.SetConveyorTimeOutTime(out Errtext, Timeout);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetBlackBoxParameter(int FileCount, int FileSize, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
+ public System.IAsyncResult BeginSetConveyorTimeOutTime(int Timeout, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetBlackBoxParameter(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetBlackBoxParameter(out Errtext, result);
+ public bool EndSetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetConveyorTimeOutTime(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetBlackBoxParameter(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int FileCount = ((int)(inValues[0]));
- int FileSize = ((int)(inValues[1]));
- return this.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
+ private System.IAsyncResult OnBeginSetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int Timeout = ((int)(inValues[0]));
+ return this.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
}
- private object[] OnEndSetBlackBoxParameter(System.IAsyncResult result) {
+ private object[] OnEndSetConveyorTimeOutTime(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetBlackBoxParameter(out Errtext, result);
+ bool retVal = this.EndSetConveyorTimeOutTime(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetBlackBoxParameterCompleted(object state) {
- if ((this.SetBlackBoxParameterCompleted != null)) {
+ private void OnSetConveyorTimeOutTimeCompleted(object state) {
+ if ((this.SetConveyorTimeOutTimeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetBlackBoxParameterCompleted(this, new SetBlackBoxParameterCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetConveyorTimeOutTimeCompleted(this, new SetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetBlackBoxParameterAsync(int FileCount, int FileSize) {
- this.SetBlackBoxParameterAsync(FileCount, FileSize, null);
+ public void SetConveyorTimeOutTimeAsync(int Timeout) {
+ this.SetConveyorTimeOutTimeAsync(Timeout, null);
}
- public void SetBlackBoxParameterAsync(int FileCount, int FileSize, object userState) {
- if ((this.onBeginSetBlackBoxParameterDelegate == null)) {
- this.onBeginSetBlackBoxParameterDelegate = new BeginOperationDelegate(this.OnBeginSetBlackBoxParameter);
+ public void SetConveyorTimeOutTimeAsync(int Timeout, object userState) {
+ if ((this.onBeginSetConveyorTimeOutTimeDelegate == null)) {
+ this.onBeginSetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginSetConveyorTimeOutTime);
}
- if ((this.onEndSetBlackBoxParameterDelegate == null)) {
- this.onEndSetBlackBoxParameterDelegate = new EndOperationDelegate(this.OnEndSetBlackBoxParameter);
+ if ((this.onEndSetConveyorTimeOutTimeDelegate == null)) {
+ this.onEndSetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndSetConveyorTimeOutTime);
}
- if ((this.onSetBlackBoxParameterCompletedDelegate == null)) {
- this.onSetBlackBoxParameterCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetBlackBoxParameterCompleted);
+ if ((this.onSetConveyorTimeOutTimeCompletedDelegate == null)) {
+ this.onSetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConveyorTimeOutTimeCompleted);
}
- base.InvokeAsync(this.onBeginSetBlackBoxParameterDelegate, new object[] {
- FileCount,
- FileSize}, this.onEndSetBlackBoxParameterDelegate, this.onSetBlackBoxParameterCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetConveyorTimeOutTimeDelegate, new object[] {
+ Timeout}, this.onEndSetConveyorTimeOutTimeDelegate, this.onSetConveyorTimeOutTimeCompletedDelegate, userState);
}
- public string GetBlackBoxInfo(out string Errtext, string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
- return base.Channel.GetBlackBoxInfo(out Errtext, deviceIndex, BeginTime, EndTime);
+ public int GetConveyorTimeOutTime(out string Errtext) {
+ return base.Channel.GetConveyorTimeOutTime(out Errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetBlackBoxInfo(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
+ public System.IAsyncResult BeginGetConveyorTimeOutTime(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetConveyorTimeOutTime(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public string EndGetBlackBoxInfo(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetBlackBoxInfo(out Errtext, result);
+ public int EndGetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetConveyorTimeOutTime(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetBlackBoxInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string deviceIndex = ((string)(inValues[0]));
- System.DateTime BeginTime = ((System.DateTime)(inValues[1]));
- System.DateTime EndTime = ((System.DateTime)(inValues[2]));
- return this.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
+ private System.IAsyncResult OnBeginGetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetConveyorTimeOutTime(callback, asyncState);
}
- private object[] OnEndGetBlackBoxInfo(System.IAsyncResult result) {
+ private object[] OnEndGetConveyorTimeOutTime(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- string retVal = this.EndGetBlackBoxInfo(out Errtext, result);
+ int retVal = this.EndGetConveyorTimeOutTime(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetBlackBoxInfoCompleted(object state) {
- if ((this.GetBlackBoxInfoCompleted != null)) {
+ private void OnGetConveyorTimeOutTimeCompleted(object state) {
+ if ((this.GetConveyorTimeOutTimeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetBlackBoxInfoCompleted(this, new GetBlackBoxInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetConveyorTimeOutTimeCompleted(this, new GetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
- this.GetBlackBoxInfoAsync(deviceIndex, BeginTime, EndTime, null);
+ public void GetConveyorTimeOutTimeAsync() {
+ this.GetConveyorTimeOutTimeAsync(null);
}
- public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, object userState) {
- if ((this.onBeginGetBlackBoxInfoDelegate == null)) {
- this.onBeginGetBlackBoxInfoDelegate = new BeginOperationDelegate(this.OnBeginGetBlackBoxInfo);
+ public void GetConveyorTimeOutTimeAsync(object userState) {
+ if ((this.onBeginGetConveyorTimeOutTimeDelegate == null)) {
+ this.onBeginGetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginGetConveyorTimeOutTime);
}
- if ((this.onEndGetBlackBoxInfoDelegate == null)) {
- this.onEndGetBlackBoxInfoDelegate = new EndOperationDelegate(this.OnEndGetBlackBoxInfo);
+ if ((this.onEndGetConveyorTimeOutTimeDelegate == null)) {
+ this.onEndGetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndGetConveyorTimeOutTime);
}
- if ((this.onGetBlackBoxInfoCompletedDelegate == null)) {
- this.onGetBlackBoxInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetBlackBoxInfoCompleted);
+ if ((this.onGetConveyorTimeOutTimeCompletedDelegate == null)) {
+ this.onGetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConveyorTimeOutTimeCompleted);
}
- base.InvokeAsync(this.onBeginGetBlackBoxInfoDelegate, new object[] {
- deviceIndex,
- BeginTime,
- EndTime}, this.onEndGetBlackBoxInfoDelegate, this.onGetBlackBoxInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetConveyorTimeOutTimeDelegate, null, this.onEndGetConveyorTimeOutTimeDelegate, this.onGetConveyorTimeOutTimeCompletedDelegate, userState);
}
- public System.Data.DataTable GetAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
- return base.Channel.GetAutoTaskHistory(out Errtext, BeginTime, EndTime);
+ public bool SetDBConnection(out string Errtext, string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
+ return base.Channel.SetDBConnection(out Errtext, MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
+ public System.IAsyncResult BeginSetDBConnection(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.Data.DataTable EndGetAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetAutoTaskHistory(out Errtext, result);
+ public bool EndSetDBConnection(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetDBConnection(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
- System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
- System.DateTime EndTime = ((System.DateTime)(inValues[1]));
- return this.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
+ private System.IAsyncResult OnBeginSetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string MonitorOrManageDB = ((string)(inValues[0]));
+ string ServerHostName = ((string)(inValues[1]));
+ string DBServiceName = ((string)(inValues[2]));
+ string Username = ((string)(inValues[3]));
+ string Password = ((string)(inValues[4]));
+ return this.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
}
- private object[] OnEndGetAutoTaskHistory(System.IAsyncResult result) {
+ private object[] OnEndSetDBConnection(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- System.Data.DataTable retVal = this.EndGetAutoTaskHistory(out Errtext, result);
+ bool retVal = this.EndSetDBConnection(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetAutoTaskHistoryCompleted(object state) {
- if ((this.GetAutoTaskHistoryCompleted != null)) {
+ private void OnSetDBConnectionCompleted(object state) {
+ if ((this.SetDBConnectionCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetAutoTaskHistoryCompleted(this, new GetAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetDBConnectionCompleted(this, new SetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
- this.GetAutoTaskHistoryAsync(BeginTime, EndTime, null);
+ public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
+ this.SetDBConnectionAsync(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, null);
}
- public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
- if ((this.onBeginGetAutoTaskHistoryDelegate == null)) {
- this.onBeginGetAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginGetAutoTaskHistory);
+ public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, object userState) {
+ if ((this.onBeginSetDBConnectionDelegate == null)) {
+ this.onBeginSetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetDBConnection);
}
- if ((this.onEndGetAutoTaskHistoryDelegate == null)) {
- this.onEndGetAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndGetAutoTaskHistory);
+ if ((this.onEndSetDBConnectionDelegate == null)) {
+ this.onEndSetDBConnectionDelegate = new EndOperationDelegate(this.OnEndSetDBConnection);
}
- if ((this.onGetAutoTaskHistoryCompletedDelegate == null)) {
- this.onGetAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAutoTaskHistoryCompleted);
+ if ((this.onSetDBConnectionCompletedDelegate == null)) {
+ this.onSetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDBConnectionCompleted);
}
- base.InvokeAsync(this.onBeginGetAutoTaskHistoryDelegate, new object[] {
- BeginTime,
- EndTime}, this.onEndGetAutoTaskHistoryDelegate, this.onGetAutoTaskHistoryCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetDBConnectionDelegate, new object[] {
+ MonitorOrManageDB,
+ ServerHostName,
+ DBServiceName,
+ Username,
+ Password}, this.onEndSetDBConnectionDelegate, this.onSetDBConnectionCompletedDelegate, userState);
}
- public bool DeleteAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
- return base.Channel.DeleteAutoTaskHistory(out Errtext, BeginTime, EndTime);
+ public bool GetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, string MonitorOrManageDB) {
+ return base.Channel.GetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, MonitorOrManageDB);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginDeleteAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
+ public System.IAsyncResult BeginGetDBConnection(string MonitorOrManageDB, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndDeleteAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndDeleteAutoTaskHistory(out Errtext, result);
+ public bool EndGetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
}
- private System.IAsyncResult OnBeginDeleteAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
- System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
- System.DateTime EndTime = ((System.DateTime)(inValues[1]));
- return this.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
+ private System.IAsyncResult OnBeginGetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string MonitorOrManageDB = ((string)(inValues[0]));
+ return this.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
}
- private object[] OnEndDeleteAutoTaskHistory(System.IAsyncResult result) {
+ private object[] OnEndGetDBConnection(System.IAsyncResult result) {
+ string ServerHostName = this.GetDefaultValueForInitialization();
+ string DBServiceName = this.GetDefaultValueForInitialization();
+ string Username = this.GetDefaultValueForInitialization();
+ string Password = this.GetDefaultValueForInitialization();
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndDeleteAutoTaskHistory(out Errtext, result);
+ bool retVal = this.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
return new object[] {
+ ServerHostName,
+ DBServiceName,
+ Username,
+ Password,
Errtext,
retVal};
}
- private void OnDeleteAutoTaskHistoryCompleted(object state) {
- if ((this.DeleteAutoTaskHistoryCompleted != null)) {
+ private void OnGetDBConnectionCompleted(object state) {
+ if ((this.GetDBConnectionCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.DeleteAutoTaskHistoryCompleted(this, new DeleteAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDBConnectionCompleted(this, new GetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
- this.DeleteAutoTaskHistoryAsync(BeginTime, EndTime, null);
+ public void GetDBConnectionAsync(string MonitorOrManageDB) {
+ this.GetDBConnectionAsync(MonitorOrManageDB, null);
}
- public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
- if ((this.onBeginDeleteAutoTaskHistoryDelegate == null)) {
- this.onBeginDeleteAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginDeleteAutoTaskHistory);
+ public void GetDBConnectionAsync(string MonitorOrManageDB, object userState) {
+ if ((this.onBeginGetDBConnectionDelegate == null)) {
+ this.onBeginGetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetDBConnection);
}
- if ((this.onEndDeleteAutoTaskHistoryDelegate == null)) {
- this.onEndDeleteAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndDeleteAutoTaskHistory);
+ if ((this.onEndGetDBConnectionDelegate == null)) {
+ this.onEndGetDBConnectionDelegate = new EndOperationDelegate(this.OnEndGetDBConnection);
}
- if ((this.onDeleteAutoTaskHistoryCompletedDelegate == null)) {
- this.onDeleteAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteAutoTaskHistoryCompleted);
+ if ((this.onGetDBConnectionCompletedDelegate == null)) {
+ this.onGetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDBConnectionCompleted);
}
- base.InvokeAsync(this.onBeginDeleteAutoTaskHistoryDelegate, new object[] {
- BeginTime,
- EndTime}, this.onEndDeleteAutoTaskHistoryDelegate, this.onDeleteAutoTaskHistoryCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDBConnectionDelegate, new object[] {
+ MonitorOrManageDB}, this.onEndGetDBConnectionDelegate, this.onGetDBConnectionCompletedDelegate, userState);
}
- public bool SetUserAndPurview(out string Errtext, string UserID, string UserName, string Password, string Purview) {
- return base.Channel.SetUserAndPurview(out Errtext, UserID, UserName, Password, Purview);
+ public bool SetIOStationProperty(out string Errtext, int deviceIndex, int IOStationProperty) {
+ return base.Channel.SetIOStationProperty(out Errtext, deviceIndex, IOStationProperty);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetUserAndPurview(string UserID, string UserName, string Password, string Purview, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
+ public System.IAsyncResult BeginSetIOStationProperty(int deviceIndex, int IOStationProperty, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetUserAndPurview(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetUserAndPurview(out Errtext, result);
+ public bool EndSetIOStationProperty(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetIOStationProperty(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string UserID = ((string)(inValues[0]));
- string UserName = ((string)(inValues[1]));
- string Password = ((string)(inValues[2]));
- string Purview = ((string)(inValues[3]));
- return this.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
+ private System.IAsyncResult OnBeginSetIOStationProperty(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ int IOStationProperty = ((int)(inValues[1]));
+ return this.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
}
- private object[] OnEndSetUserAndPurview(System.IAsyncResult result) {
+ private object[] OnEndSetIOStationProperty(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetUserAndPurview(out Errtext, result);
+ bool retVal = this.EndSetIOStationProperty(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetUserAndPurviewCompleted(object state) {
- if ((this.SetUserAndPurviewCompleted != null)) {
+ private void OnSetIOStationPropertyCompleted(object state) {
+ if ((this.SetIOStationPropertyCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetUserAndPurviewCompleted(this, new SetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetIOStationPropertyCompleted(this, new SetIOStationPropertyCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview) {
- this.SetUserAndPurviewAsync(UserID, UserName, Password, Purview, null);
+ public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty) {
+ this.SetIOStationPropertyAsync(deviceIndex, IOStationProperty, null);
}
- public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview, object userState) {
- if ((this.onBeginSetUserAndPurviewDelegate == null)) {
- this.onBeginSetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginSetUserAndPurview);
+ public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty, object userState) {
+ if ((this.onBeginSetIOStationPropertyDelegate == null)) {
+ this.onBeginSetIOStationPropertyDelegate = new BeginOperationDelegate(this.OnBeginSetIOStationProperty);
}
- if ((this.onEndSetUserAndPurviewDelegate == null)) {
- this.onEndSetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndSetUserAndPurview);
+ if ((this.onEndSetIOStationPropertyDelegate == null)) {
+ this.onEndSetIOStationPropertyDelegate = new EndOperationDelegate(this.OnEndSetIOStationProperty);
}
- if ((this.onSetUserAndPurviewCompletedDelegate == null)) {
- this.onSetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserAndPurviewCompleted);
+ if ((this.onSetIOStationPropertyCompletedDelegate == null)) {
+ this.onSetIOStationPropertyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetIOStationPropertyCompleted);
}
- base.InvokeAsync(this.onBeginSetUserAndPurviewDelegate, new object[] {
- UserID,
- UserName,
- Password,
- Purview}, this.onEndSetUserAndPurviewDelegate, this.onSetUserAndPurviewCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetIOStationPropertyDelegate, new object[] {
+ deviceIndex,
+ IOStationProperty}, this.onEndSetIOStationPropertyDelegate, this.onSetIOStationPropertyCompletedDelegate, userState);
}
- public bool GetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, string UserID) {
- return base.Channel.GetUserAndPurview(out UserName, out Password, out Purview, out Errtext, UserID);
+ public bool SetBlackBoxParameter(out string Errtext, int FileCount, int FileSize) {
+ return base.Channel.SetBlackBoxParameter(out Errtext, FileCount, FileSize);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetUserAndPurview(string UserID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetUserAndPurview(UserID, callback, asyncState);
+ public System.IAsyncResult BeginSetBlackBoxParameter(int FileCount, int FileSize, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndGetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
+ public bool EndSetBlackBoxParameter(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetBlackBoxParameter(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string UserID = ((string)(inValues[0]));
- return this.BeginGetUserAndPurview(UserID, callback, asyncState);
+ private System.IAsyncResult OnBeginSetBlackBoxParameter(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int FileCount = ((int)(inValues[0]));
+ int FileSize = ((int)(inValues[1]));
+ return this.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
}
- private object[] OnEndGetUserAndPurview(System.IAsyncResult result) {
- string UserName = this.GetDefaultValueForInitialization();
- string Password = this.GetDefaultValueForInitialization();
- string Purview = this.GetDefaultValueForInitialization();
+ private object[] OnEndSetBlackBoxParameter(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
+ bool retVal = this.EndSetBlackBoxParameter(out Errtext, result);
return new object[] {
- UserName,
- Password,
- Purview,
Errtext,
retVal};
}
- private void OnGetUserAndPurviewCompleted(object state) {
- if ((this.GetUserAndPurviewCompleted != null)) {
+ private void OnSetBlackBoxParameterCompleted(object state) {
+ if ((this.SetBlackBoxParameterCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetUserAndPurviewCompleted(this, new GetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetBlackBoxParameterCompleted(this, new SetBlackBoxParameterCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetUserAndPurviewAsync(string UserID) {
- this.GetUserAndPurviewAsync(UserID, null);
+ public void SetBlackBoxParameterAsync(int FileCount, int FileSize) {
+ this.SetBlackBoxParameterAsync(FileCount, FileSize, null);
}
- public void GetUserAndPurviewAsync(string UserID, object userState) {
- if ((this.onBeginGetUserAndPurviewDelegate == null)) {
- this.onBeginGetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginGetUserAndPurview);
+ public void SetBlackBoxParameterAsync(int FileCount, int FileSize, object userState) {
+ if ((this.onBeginSetBlackBoxParameterDelegate == null)) {
+ this.onBeginSetBlackBoxParameterDelegate = new BeginOperationDelegate(this.OnBeginSetBlackBoxParameter);
}
- if ((this.onEndGetUserAndPurviewDelegate == null)) {
- this.onEndGetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndGetUserAndPurview);
+ if ((this.onEndSetBlackBoxParameterDelegate == null)) {
+ this.onEndSetBlackBoxParameterDelegate = new EndOperationDelegate(this.OnEndSetBlackBoxParameter);
}
- if ((this.onGetUserAndPurviewCompletedDelegate == null)) {
- this.onGetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserAndPurviewCompleted);
+ if ((this.onSetBlackBoxParameterCompletedDelegate == null)) {
+ this.onSetBlackBoxParameterCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetBlackBoxParameterCompleted);
}
- base.InvokeAsync(this.onBeginGetUserAndPurviewDelegate, new object[] {
- UserID}, this.onEndGetUserAndPurviewDelegate, this.onGetUserAndPurviewCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetBlackBoxParameterDelegate, new object[] {
+ FileCount,
+ FileSize}, this.onEndSetBlackBoxParameterDelegate, this.onSetBlackBoxParameterCompletedDelegate, userState);
}
- public bool SetUserPassword(out string Errtext, string UserID, string Password) {
- return base.Channel.SetUserPassword(out Errtext, UserID, Password);
+ public string GetBlackBoxInfo(out string Errtext, string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
+ return base.Channel.GetBlackBoxInfo(out Errtext, deviceIndex, BeginTime, EndTime);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetUserPassword(string UserID, string Password, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetUserPassword(UserID, Password, callback, asyncState);
+ public System.IAsyncResult BeginGetBlackBoxInfo(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetUserPassword(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndSetUserPassword(out Errtext, result);
+ public string EndGetBlackBoxInfo(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetBlackBoxInfo(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string UserID = ((string)(inValues[0]));
- string Password = ((string)(inValues[1]));
- return this.BeginSetUserPassword(UserID, Password, callback, asyncState);
+ private System.IAsyncResult OnBeginGetBlackBoxInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string deviceIndex = ((string)(inValues[0]));
+ System.DateTime BeginTime = ((System.DateTime)(inValues[1]));
+ System.DateTime EndTime = ((System.DateTime)(inValues[2]));
+ return this.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
}
- private object[] OnEndSetUserPassword(System.IAsyncResult result) {
+ private object[] OnEndGetBlackBoxInfo(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetUserPassword(out Errtext, result);
+ string retVal = this.EndGetBlackBoxInfo(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnSetUserPasswordCompleted(object state) {
- if ((this.SetUserPasswordCompleted != null)) {
+ private void OnGetBlackBoxInfoCompleted(object state) {
+ if ((this.GetBlackBoxInfoCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetUserPasswordCompleted(this, new SetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetBlackBoxInfoCompleted(this, new GetBlackBoxInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetUserPasswordAsync(string UserID, string Password) {
- this.SetUserPasswordAsync(UserID, Password, null);
+ public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
+ this.GetBlackBoxInfoAsync(deviceIndex, BeginTime, EndTime, null);
}
- public void SetUserPasswordAsync(string UserID, string Password, object userState) {
- if ((this.onBeginSetUserPasswordDelegate == null)) {
- this.onBeginSetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginSetUserPassword);
+ public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, object userState) {
+ if ((this.onBeginGetBlackBoxInfoDelegate == null)) {
+ this.onBeginGetBlackBoxInfoDelegate = new BeginOperationDelegate(this.OnBeginGetBlackBoxInfo);
}
- if ((this.onEndSetUserPasswordDelegate == null)) {
- this.onEndSetUserPasswordDelegate = new EndOperationDelegate(this.OnEndSetUserPassword);
+ if ((this.onEndGetBlackBoxInfoDelegate == null)) {
+ this.onEndGetBlackBoxInfoDelegate = new EndOperationDelegate(this.OnEndGetBlackBoxInfo);
}
- if ((this.onSetUserPasswordCompletedDelegate == null)) {
- this.onSetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserPasswordCompleted);
+ if ((this.onGetBlackBoxInfoCompletedDelegate == null)) {
+ this.onGetBlackBoxInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetBlackBoxInfoCompleted);
}
- base.InvokeAsync(this.onBeginSetUserPasswordDelegate, new object[] {
- UserID,
- Password}, this.onEndSetUserPasswordDelegate, this.onSetUserPasswordCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetBlackBoxInfoDelegate, new object[] {
+ deviceIndex,
+ BeginTime,
+ EndTime}, this.onEndGetBlackBoxInfoDelegate, this.onGetBlackBoxInfoCompletedDelegate, userState);
}
- public string GetUserPassword(out string Errtext, string UserID) {
- return base.Channel.GetUserPassword(out Errtext, UserID);
+ public System.Data.DataTable GetAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
+ return base.Channel.GetAutoTaskHistory(out Errtext, BeginTime, EndTime);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetUserPassword(string UserID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetUserPassword(UserID, callback, asyncState);
+ public System.IAsyncResult BeginGetAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public string EndGetUserPassword(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetUserPassword(out Errtext, result);
+ public System.Data.DataTable EndGetAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetAutoTaskHistory(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string UserID = ((string)(inValues[0]));
- return this.BeginGetUserPassword(UserID, callback, asyncState);
+ private System.IAsyncResult OnBeginGetAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
+ System.DateTime EndTime = ((System.DateTime)(inValues[1]));
+ return this.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
}
- private object[] OnEndGetUserPassword(System.IAsyncResult result) {
+ private object[] OnEndGetAutoTaskHistory(System.IAsyncResult result) {
string Errtext = this.GetDefaultValueForInitialization();
- string retVal = this.EndGetUserPassword(out Errtext, result);
+ System.Data.DataTable retVal = this.EndGetAutoTaskHistory(out Errtext, result);
return new object[] {
Errtext,
retVal};
}
- private void OnGetUserPasswordCompleted(object state) {
- if ((this.GetUserPasswordCompleted != null)) {
+ private void OnGetAutoTaskHistoryCompleted(object state) {
+ if ((this.GetAutoTaskHistoryCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetUserPasswordCompleted(this, new GetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetAutoTaskHistoryCompleted(this, new GetAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetUserPasswordAsync(string UserID) {
- this.GetUserPasswordAsync(UserID, null);
+ public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
+ this.GetAutoTaskHistoryAsync(BeginTime, EndTime, null);
}
- public void GetUserPasswordAsync(string UserID, object userState) {
- if ((this.onBeginGetUserPasswordDelegate == null)) {
- this.onBeginGetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginGetUserPassword);
+ public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
+ if ((this.onBeginGetAutoTaskHistoryDelegate == null)) {
+ this.onBeginGetAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginGetAutoTaskHistory);
}
- if ((this.onEndGetUserPasswordDelegate == null)) {
- this.onEndGetUserPasswordDelegate = new EndOperationDelegate(this.OnEndGetUserPassword);
+ if ((this.onEndGetAutoTaskHistoryDelegate == null)) {
+ this.onEndGetAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndGetAutoTaskHistory);
}
- if ((this.onGetUserPasswordCompletedDelegate == null)) {
- this.onGetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserPasswordCompleted);
+ if ((this.onGetAutoTaskHistoryCompletedDelegate == null)) {
+ this.onGetAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAutoTaskHistoryCompleted);
}
- base.InvokeAsync(this.onBeginGetUserPasswordDelegate, new object[] {
- UserID}, this.onEndGetUserPasswordDelegate, this.onGetUserPasswordCompletedDelegate, userState);
- }
+ base.InvokeAsync(this.onBeginGetAutoTaskHistoryDelegate, new object[] {
+ BeginTime,
+ EndTime}, this.onEndGetAutoTaskHistoryDelegate, this.onGetAutoTaskHistoryCompletedDelegate, userState);
+ }
- public bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode) {
- return base.Channel.GetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, bindDeviceOfBarcode);
+ public bool DeleteAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
+ return base.Channel.DeleteAutoTaskHistory(out Errtext, BeginTime, EndTime);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
+ public System.IAsyncResult BeginDeleteAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
+ public bool EndDeleteAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndDeleteAutoTaskHistory(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetReadedAndReportedBarcode(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int bindDeviceOfBarcode = ((int)(inValues[0]));
- return this.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
+ private System.IAsyncResult OnBeginDeleteAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
+ System.DateTime EndTime = ((System.DateTime)(inValues[1]));
+ return this.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
}
- private object[] OnEndGetReadedAndReportedBarcode(System.IAsyncResult result) {
- string readedBarcode = this.GetDefaultValueForInitialization();
- string reportedBarcode = this.GetDefaultValueForInitialization();
- string errorText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
+ private object[] OnEndDeleteAutoTaskHistory(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndDeleteAutoTaskHistory(out Errtext, result);
return new object[] {
- readedBarcode,
- reportedBarcode,
- errorText,
+ Errtext,
retVal};
}
- private void OnGetReadedAndReportedBarcodeCompleted(object state) {
- if ((this.GetReadedAndReportedBarcodeCompleted != null)) {
+ private void OnDeleteAutoTaskHistoryCompleted(object state) {
+ if ((this.DeleteAutoTaskHistoryCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetReadedAndReportedBarcodeCompleted(this, new GetReadedAndReportedBarcodeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.DeleteAutoTaskHistoryCompleted(this, new DeleteAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode) {
- this.GetReadedAndReportedBarcodeAsync(bindDeviceOfBarcode, null);
+ public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
+ this.DeleteAutoTaskHistoryAsync(BeginTime, EndTime, null);
}
- public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode, object userState) {
- if ((this.onBeginGetReadedAndReportedBarcodeDelegate == null)) {
- this.onBeginGetReadedAndReportedBarcodeDelegate = new BeginOperationDelegate(this.OnBeginGetReadedAndReportedBarcode);
+ public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
+ if ((this.onBeginDeleteAutoTaskHistoryDelegate == null)) {
+ this.onBeginDeleteAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginDeleteAutoTaskHistory);
}
- if ((this.onEndGetReadedAndReportedBarcodeDelegate == null)) {
- this.onEndGetReadedAndReportedBarcodeDelegate = new EndOperationDelegate(this.OnEndGetReadedAndReportedBarcode);
+ if ((this.onEndDeleteAutoTaskHistoryDelegate == null)) {
+ this.onEndDeleteAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndDeleteAutoTaskHistory);
}
- if ((this.onGetReadedAndReportedBarcodeCompletedDelegate == null)) {
- this.onGetReadedAndReportedBarcodeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetReadedAndReportedBarcodeCompleted);
+ if ((this.onDeleteAutoTaskHistoryCompletedDelegate == null)) {
+ this.onDeleteAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteAutoTaskHistoryCompleted);
}
- base.InvokeAsync(this.onBeginGetReadedAndReportedBarcodeDelegate, new object[] {
- bindDeviceOfBarcode}, this.onEndGetReadedAndReportedBarcodeDelegate, this.onGetReadedAndReportedBarcodeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginDeleteAutoTaskHistoryDelegate, new object[] {
+ BeginTime,
+ EndTime}, this.onEndDeleteAutoTaskHistoryDelegate, this.onDeleteAutoTaskHistoryCompletedDelegate, userState);
}
- public Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex) {
- return base.Channel.GetDeviceAllErrors(out errorText, deviceKindIndex);
+ public bool SetUserAndPurview(out string Errtext, string UserID, string UserName, string Password, string Purview) {
+ return base.Channel.SetUserAndPurview(out Errtext, UserID, UserName, Password, Purview);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
+ public System.IAsyncResult BeginSetUserAndPurview(string UserID, string UserName, string Password, string Purview, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceAllErrors(out errorText, result);
+ public bool EndSetUserAndPurview(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetUserAndPurview(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDeviceAllErrors(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceKindIndex = ((int)(inValues[0]));
- return this.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
+ private System.IAsyncResult OnBeginSetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string UserID = ((string)(inValues[0]));
+ string UserName = ((string)(inValues[1]));
+ string Password = ((string)(inValues[2]));
+ string Purview = ((string)(inValues[3]));
+ return this.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
}
- private object[] OnEndGetDeviceAllErrors(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- Model.MError retVal = this.EndGetDeviceAllErrors(out errorText, result);
+ private object[] OnEndSetUserAndPurview(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetUserAndPurview(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnGetDeviceAllErrorsCompleted(object state) {
- if ((this.GetDeviceAllErrorsCompleted != null)) {
+ private void OnSetUserAndPurviewCompleted(object state) {
+ if ((this.SetUserAndPurviewCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceAllErrorsCompleted(this, new GetDeviceAllErrorsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetUserAndPurviewCompleted(this, new SetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceAllErrorsAsync(int deviceKindIndex) {
- this.GetDeviceAllErrorsAsync(deviceKindIndex, null);
+ public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview) {
+ this.SetUserAndPurviewAsync(UserID, UserName, Password, Purview, null);
}
- public void GetDeviceAllErrorsAsync(int deviceKindIndex, object userState) {
- if ((this.onBeginGetDeviceAllErrorsDelegate == null)) {
- this.onBeginGetDeviceAllErrorsDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceAllErrors);
+ public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview, object userState) {
+ if ((this.onBeginSetUserAndPurviewDelegate == null)) {
+ this.onBeginSetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginSetUserAndPurview);
}
- if ((this.onEndGetDeviceAllErrorsDelegate == null)) {
- this.onEndGetDeviceAllErrorsDelegate = new EndOperationDelegate(this.OnEndGetDeviceAllErrors);
+ if ((this.onEndSetUserAndPurviewDelegate == null)) {
+ this.onEndSetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndSetUserAndPurview);
}
- if ((this.onGetDeviceAllErrorsCompletedDelegate == null)) {
- this.onGetDeviceAllErrorsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceAllErrorsCompleted);
+ if ((this.onSetUserAndPurviewCompletedDelegate == null)) {
+ this.onSetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserAndPurviewCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceAllErrorsDelegate, new object[] {
- deviceKindIndex}, this.onEndGetDeviceAllErrorsDelegate, this.onGetDeviceAllErrorsCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetUserAndPurviewDelegate, new object[] {
+ UserID,
+ UserName,
+ Password,
+ Purview}, this.onEndSetUserAndPurviewDelegate, this.onSetUserAndPurviewCompletedDelegate, userState);
}
- public Model.MRoute[] GetAllRouteinfo(out string errorText) {
- return base.Channel.GetAllRouteinfo(out errorText);
+ public bool GetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, string UserID) {
+ return base.Channel.GetUserAndPurview(out UserName, out Password, out Purview, out Errtext, UserID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetAllRouteinfo(callback, asyncState);
+ public System.IAsyncResult BeginGetUserAndPurview(string UserID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetUserAndPurview(UserID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetAllRouteinfo(out errorText, result);
+ public bool EndGetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
}
- private System.IAsyncResult OnBeginGetAllRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetAllRouteinfo(callback, asyncState);
+ private System.IAsyncResult OnBeginGetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string UserID = ((string)(inValues[0]));
+ return this.BeginGetUserAndPurview(UserID, callback, asyncState);
}
- private object[] OnEndGetAllRouteinfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- Model.MRoute[] retVal = this.EndGetAllRouteinfo(out errorText, result);
+ private object[] OnEndGetUserAndPurview(System.IAsyncResult result) {
+ string UserName = this.GetDefaultValueForInitialization();
+ string Password = this.GetDefaultValueForInitialization();
+ string Purview = this.GetDefaultValueForInitialization();
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
return new object[] {
- errorText,
+ UserName,
+ Password,
+ Purview,
+ Errtext,
retVal};
}
- private void OnGetAllRouteinfoCompleted(object state) {
- if ((this.GetAllRouteinfoCompleted != null)) {
+ private void OnGetUserAndPurviewCompleted(object state) {
+ if ((this.GetUserAndPurviewCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetAllRouteinfoCompleted(this, new GetAllRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetUserAndPurviewCompleted(this, new GetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetAllRouteinfoAsync() {
- this.GetAllRouteinfoAsync(null);
+ public void GetUserAndPurviewAsync(string UserID) {
+ this.GetUserAndPurviewAsync(UserID, null);
}
- public void GetAllRouteinfoAsync(object userState) {
- if ((this.onBeginGetAllRouteinfoDelegate == null)) {
- this.onBeginGetAllRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetAllRouteinfo);
+ public void GetUserAndPurviewAsync(string UserID, object userState) {
+ if ((this.onBeginGetUserAndPurviewDelegate == null)) {
+ this.onBeginGetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginGetUserAndPurview);
}
- if ((this.onEndGetAllRouteinfoDelegate == null)) {
- this.onEndGetAllRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetAllRouteinfo);
+ if ((this.onEndGetUserAndPurviewDelegate == null)) {
+ this.onEndGetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndGetUserAndPurview);
}
- if ((this.onGetAllRouteinfoCompletedDelegate == null)) {
- this.onGetAllRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllRouteinfoCompleted);
+ if ((this.onGetUserAndPurviewCompletedDelegate == null)) {
+ this.onGetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserAndPurviewCompleted);
}
- base.InvokeAsync(this.onBeginGetAllRouteinfoDelegate, null, this.onEndGetAllRouteinfoDelegate, this.onGetAllRouteinfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetUserAndPurviewDelegate, new object[] {
+ UserID}, this.onEndGetUserAndPurviewDelegate, this.onGetUserAndPurviewCompletedDelegate, userState);
}
- public Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex) {
- return base.Channel.GetDeviceJoinRouteinfo(out errorText, deviceIndex);
+ public bool SetUserPassword(out string Errtext, string UserID, string Password) {
+ return base.Channel.SetUserPassword(out Errtext, UserID, Password);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
+ public System.IAsyncResult BeginSetUserPassword(string UserID, string Password, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetUserPassword(UserID, Password, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceJoinRouteinfo(out errorText, result);
+ public bool EndSetUserPassword(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetUserPassword(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDeviceJoinRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- return this.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
+ private System.IAsyncResult OnBeginSetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string UserID = ((string)(inValues[0]));
+ string Password = ((string)(inValues[1]));
+ return this.BeginSetUserPassword(UserID, Password, callback, asyncState);
}
- private object[] OnEndGetDeviceJoinRouteinfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- Model.MRoute[] retVal = this.EndGetDeviceJoinRouteinfo(out errorText, result);
+ private object[] OnEndSetUserPassword(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetUserPassword(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnGetDeviceJoinRouteinfoCompleted(object state) {
- if ((this.GetDeviceJoinRouteinfoCompleted != null)) {
+ private void OnSetUserPasswordCompleted(object state) {
+ if ((this.SetUserPasswordCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceJoinRouteinfoCompleted(this, new GetDeviceJoinRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetUserPasswordCompleted(this, new SetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceJoinRouteinfoAsync(int deviceIndex) {
- this.GetDeviceJoinRouteinfoAsync(deviceIndex, null);
+ public void SetUserPasswordAsync(string UserID, string Password) {
+ this.SetUserPasswordAsync(UserID, Password, null);
}
- public void GetDeviceJoinRouteinfoAsync(int deviceIndex, object userState) {
- if ((this.onBeginGetDeviceJoinRouteinfoDelegate == null)) {
- this.onBeginGetDeviceJoinRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceJoinRouteinfo);
+ public void SetUserPasswordAsync(string UserID, string Password, object userState) {
+ if ((this.onBeginSetUserPasswordDelegate == null)) {
+ this.onBeginSetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginSetUserPassword);
}
- if ((this.onEndGetDeviceJoinRouteinfoDelegate == null)) {
- this.onEndGetDeviceJoinRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceJoinRouteinfo);
+ if ((this.onEndSetUserPasswordDelegate == null)) {
+ this.onEndSetUserPasswordDelegate = new EndOperationDelegate(this.OnEndSetUserPassword);
}
- if ((this.onGetDeviceJoinRouteinfoCompletedDelegate == null)) {
- this.onGetDeviceJoinRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceJoinRouteinfoCompleted);
+ if ((this.onSetUserPasswordCompletedDelegate == null)) {
+ this.onSetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserPasswordCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceJoinRouteinfoDelegate, new object[] {
- deviceIndex}, this.onEndGetDeviceJoinRouteinfoDelegate, this.onGetDeviceJoinRouteinfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSetUserPasswordDelegate, new object[] {
+ UserID,
+ Password}, this.onEndSetUserPasswordDelegate, this.onSetUserPasswordCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content) {
- return base.Channel.GetManageTasks(out errorText, FieldName, content);
+ public string GetUserPassword(out string Errtext, string UserID) {
+ return base.Channel.GetUserPassword(out Errtext, UserID);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetManageTasks(FieldName, content, callback, asyncState);
+ public System.IAsyncResult BeginGetUserPassword(string UserID, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetUserPassword(UserID, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetManageTasks(out errorText, result);
+ public string EndGetUserPassword(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetUserPassword(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetManageTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string FieldName = ((string)(inValues[0]));
- string content = ((string)(inValues[1]));
- return this.BeginGetManageTasks(FieldName, content, callback, asyncState);
+ private System.IAsyncResult OnBeginGetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string UserID = ((string)(inValues[0]));
+ return this.BeginGetUserPassword(UserID, callback, asyncState);
}
- private object[] OnEndGetManageTasks(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.ManageTask[] retVal = this.EndGetManageTasks(out errorText, result);
+ private object[] OnEndGetUserPassword(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ string retVal = this.EndGetUserPassword(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnGetManageTasksCompleted(object state) {
- if ((this.GetManageTasksCompleted != null)) {
+ private void OnGetUserPasswordCompleted(object state) {
+ if ((this.GetUserPasswordCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetManageTasksCompleted(this, new GetManageTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetUserPasswordCompleted(this, new GetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetManageTasksAsync(string FieldName, string content) {
- this.GetManageTasksAsync(FieldName, content, null);
+ public void GetUserPasswordAsync(string UserID) {
+ this.GetUserPasswordAsync(UserID, null);
}
- public void GetManageTasksAsync(string FieldName, string content, object userState) {
- if ((this.onBeginGetManageTasksDelegate == null)) {
- this.onBeginGetManageTasksDelegate = new BeginOperationDelegate(this.OnBeginGetManageTasks);
+ public void GetUserPasswordAsync(string UserID, object userState) {
+ if ((this.onBeginGetUserPasswordDelegate == null)) {
+ this.onBeginGetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginGetUserPassword);
}
- if ((this.onEndGetManageTasksDelegate == null)) {
- this.onEndGetManageTasksDelegate = new EndOperationDelegate(this.OnEndGetManageTasks);
+ if ((this.onEndGetUserPasswordDelegate == null)) {
+ this.onEndGetUserPasswordDelegate = new EndOperationDelegate(this.OnEndGetUserPassword);
}
- if ((this.onGetManageTasksCompletedDelegate == null)) {
- this.onGetManageTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTasksCompleted);
+ if ((this.onGetUserPasswordCompletedDelegate == null)) {
+ this.onGetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserPasswordCompleted);
}
- base.InvokeAsync(this.onBeginGetManageTasksDelegate, new object[] {
- FieldName,
- content}, this.onEndGetManageTasksDelegate, this.onGetManageTasksCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetUserPasswordDelegate, new object[] {
+ UserID}, this.onEndGetUserPasswordDelegate, this.onGetUserPasswordCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content) {
- return base.Channel.GetMonitorTasks(out errorText, FieldName, content);
+ public bool ShutDownControlSystem(out string ErrText) {
+ return base.Channel.ShutDownControlSystem(out ErrText);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
+ public System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginShutDownControlSystem(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetMonitorTasks(out errorText, result);
+ public bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result) {
+ return base.Channel.EndShutDownControlSystem(out ErrText, result);
}
- private System.IAsyncResult OnBeginGetMonitorTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string FieldName = ((string)(inValues[0]));
- string content = ((string)(inValues[1]));
- return this.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
+ private System.IAsyncResult OnBeginShutDownControlSystem(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginShutDownControlSystem(callback, asyncState);
+ }
+
+ private object[] OnEndShutDownControlSystem(System.IAsyncResult result) {
+ string ErrText = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndShutDownControlSystem(out ErrText, result);
+ return new object[] {
+ ErrText,
+ retVal};
+ }
+
+ private void OnShutDownControlSystemCompleted(object state) {
+ if ((this.ShutDownControlSystemCompleted != null)) {
+ InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
+ this.ShutDownControlSystemCompleted(this, new ShutDownControlSystemCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ }
+ }
+
+ public void ShutDownControlSystemAsync() {
+ this.ShutDownControlSystemAsync(null);
+ }
+
+ public void ShutDownControlSystemAsync(object userState) {
+ if ((this.onBeginShutDownControlSystemDelegate == null)) {
+ this.onBeginShutDownControlSystemDelegate = new BeginOperationDelegate(this.OnBeginShutDownControlSystem);
+ }
+ if ((this.onEndShutDownControlSystemDelegate == null)) {
+ this.onEndShutDownControlSystemDelegate = new EndOperationDelegate(this.OnEndShutDownControlSystem);
+ }
+ if ((this.onShutDownControlSystemCompletedDelegate == null)) {
+ this.onShutDownControlSystemCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutDownControlSystemCompleted);
+ }
+ base.InvokeAsync(this.onBeginShutDownControlSystemDelegate, null, this.onEndShutDownControlSystemDelegate, this.onShutDownControlSystemCompletedDelegate, userState);
+ }
+
+ public bool StartGetALLDeviceState(out string Errtext) {
+ return base.Channel.StartGetALLDeviceState(out Errtext);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ public System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginStartGetALLDeviceState(callback, asyncState);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ public bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndStartGetALLDeviceState(out Errtext, result);
+ }
+
+ private System.IAsyncResult OnBeginStartGetALLDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginStartGetALLDeviceState(callback, asyncState);
}
- private object[] OnEndGetMonitorTasks(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] retVal = this.EndGetMonitorTasks(out errorText, result);
+ private object[] OnEndStartGetALLDeviceState(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndStartGetALLDeviceState(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnGetMonitorTasksCompleted(object state) {
- if ((this.GetMonitorTasksCompleted != null)) {
+ private void OnStartGetALLDeviceStateCompleted(object state) {
+ if ((this.StartGetALLDeviceStateCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetMonitorTasksCompleted(this, new GetMonitorTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.StartGetALLDeviceStateCompleted(this, new StartGetALLDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetMonitorTasksAsync(string FieldName, string content) {
- this.GetMonitorTasksAsync(FieldName, content, null);
+ public void StartGetALLDeviceStateAsync() {
+ this.StartGetALLDeviceStateAsync(null);
}
- public void GetMonitorTasksAsync(string FieldName, string content, object userState) {
- if ((this.onBeginGetMonitorTasksDelegate == null)) {
- this.onBeginGetMonitorTasksDelegate = new BeginOperationDelegate(this.OnBeginGetMonitorTasks);
+ public void StartGetALLDeviceStateAsync(object userState) {
+ if ((this.onBeginStartGetALLDeviceStateDelegate == null)) {
+ this.onBeginStartGetALLDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginStartGetALLDeviceState);
}
- if ((this.onEndGetMonitorTasksDelegate == null)) {
- this.onEndGetMonitorTasksDelegate = new EndOperationDelegate(this.OnEndGetMonitorTasks);
+ if ((this.onEndStartGetALLDeviceStateDelegate == null)) {
+ this.onEndStartGetALLDeviceStateDelegate = new EndOperationDelegate(this.OnEndStartGetALLDeviceState);
}
- if ((this.onGetMonitorTasksCompletedDelegate == null)) {
- this.onGetMonitorTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetMonitorTasksCompleted);
+ if ((this.onStartGetALLDeviceStateCompletedDelegate == null)) {
+ this.onStartGetALLDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartGetALLDeviceStateCompleted);
}
- base.InvokeAsync(this.onBeginGetMonitorTasksDelegate, new object[] {
- FieldName,
- content}, this.onEndGetMonitorTasksDelegate, this.onGetMonitorTasksCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginStartGetALLDeviceStateDelegate, null, this.onEndStartGetALLDeviceStateDelegate, this.onStartGetALLDeviceStateCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex) {
- return base.Channel.GetDeviceStateInfo(out errorText, deviceIndex);
+ public bool StartSendDeviceOrder(out string Errtext) {
+ return base.Channel.StartSendDeviceOrder(out Errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
+ public System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginStartSendDeviceOrder(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetDeviceStateInfo(out errorText, result);
+ public bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndStartSendDeviceOrder(out Errtext, result);
}
- private System.IAsyncResult OnBeginGetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- return this.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
+ private System.IAsyncResult OnBeginStartSendDeviceOrder(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginStartSendDeviceOrder(callback, asyncState);
}
- private object[] OnEndGetDeviceStateInfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.DeviceStateType retVal = this.EndGetDeviceStateInfo(out errorText, result);
+ private object[] OnEndStartSendDeviceOrder(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndStartSendDeviceOrder(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnGetDeviceStateInfoCompleted(object state) {
- if ((this.GetDeviceStateInfoCompleted != null)) {
+ private void OnStartSendDeviceOrderCompleted(object state) {
+ if ((this.StartSendDeviceOrderCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDeviceStateInfoCompleted(this, new GetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.StartSendDeviceOrderCompleted(this, new StartSendDeviceOrderCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDeviceStateInfoAsync(int deviceIndex) {
- this.GetDeviceStateInfoAsync(deviceIndex, null);
+ public void StartSendDeviceOrderAsync() {
+ this.StartSendDeviceOrderAsync(null);
}
- public void GetDeviceStateInfoAsync(int deviceIndex, object userState) {
- if ((this.onBeginGetDeviceStateInfoDelegate == null)) {
- this.onBeginGetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceStateInfo);
+ public void StartSendDeviceOrderAsync(object userState) {
+ if ((this.onBeginStartSendDeviceOrderDelegate == null)) {
+ this.onBeginStartSendDeviceOrderDelegate = new BeginOperationDelegate(this.OnBeginStartSendDeviceOrder);
}
- if ((this.onEndGetDeviceStateInfoDelegate == null)) {
- this.onEndGetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceStateInfo);
+ if ((this.onEndStartSendDeviceOrderDelegate == null)) {
+ this.onEndStartSendDeviceOrderDelegate = new EndOperationDelegate(this.OnEndStartSendDeviceOrder);
}
- if ((this.onGetDeviceStateInfoCompletedDelegate == null)) {
- this.onGetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceStateInfoCompleted);
+ if ((this.onStartSendDeviceOrderCompletedDelegate == null)) {
+ this.onStartSendDeviceOrderCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartSendDeviceOrderCompleted);
}
- base.InvokeAsync(this.onBeginGetDeviceStateInfoDelegate, new object[] {
- deviceIndex}, this.onEndGetDeviceStateInfoDelegate, this.onGetDeviceStateInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginStartSendDeviceOrderDelegate, null, this.onEndStartSendDeviceOrderDelegate, this.onStartSendDeviceOrderCompletedDelegate, userState);
}
- public bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
- return base.Channel.SetDeviceStateInfo(out errorText, devstate);
+ public bool DataClear(out string Errtext) {
+ return base.Channel.DataClear(out Errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetDeviceStateInfo(devstate, callback, asyncState);
+ public System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginDataClear(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndSetDeviceStateInfo(out errorText, result);
+ public bool EndDataClear(out string Errtext, System.IAsyncResult result) {
+ return base.Channel.EndDataClear(out Errtext, result);
}
- private System.IAsyncResult OnBeginSetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate = ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(inValues[0]));
- return this.BeginSetDeviceStateInfo(devstate, callback, asyncState);
+ private System.IAsyncResult OnBeginDataClear(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginDataClear(callback, asyncState);
}
- private object[] OnEndSetDeviceStateInfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetDeviceStateInfo(out errorText, result);
+ private object[] OnEndDataClear(System.IAsyncResult result) {
+ string Errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndDataClear(out Errtext, result);
return new object[] {
- errorText,
+ Errtext,
retVal};
}
- private void OnSetDeviceStateInfoCompleted(object state) {
- if ((this.SetDeviceStateInfoCompleted != null)) {
+ private void OnDataClearCompleted(object state) {
+ if ((this.DataClearCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetDeviceStateInfoCompleted(this, new SetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.DataClearCompleted(this, new DataClearCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
- this.SetDeviceStateInfoAsync(devstate, null);
+ public void DataClearAsync() {
+ this.DataClearAsync(null);
}
- public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, object userState) {
- if ((this.onBeginSetDeviceStateInfoDelegate == null)) {
- this.onBeginSetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceStateInfo);
+ public void DataClearAsync(object userState) {
+ if ((this.onBeginDataClearDelegate == null)) {
+ this.onBeginDataClearDelegate = new BeginOperationDelegate(this.OnBeginDataClear);
}
- if ((this.onEndSetDeviceStateInfoDelegate == null)) {
- this.onEndSetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceStateInfo);
+ if ((this.onEndDataClearDelegate == null)) {
+ this.onEndDataClearDelegate = new EndOperationDelegate(this.OnEndDataClear);
}
- if ((this.onSetDeviceStateInfoCompletedDelegate == null)) {
- this.onSetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateInfoCompleted);
+ if ((this.onDataClearCompletedDelegate == null)) {
+ this.onDataClearCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataClearCompleted);
}
- base.InvokeAsync(this.onBeginSetDeviceStateInfoDelegate, new object[] {
- devstate}, this.onEndSetDeviceStateInfoDelegate, this.onSetDeviceStateInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginDataClearDelegate, null, this.onEndDataClearDelegate, this.onDataClearCompletedDelegate, userState);
}
- public bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled) {
- return base.Channel.SetRouteStateInfo(out errorText, routeID, isEnabled);
+ public int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex) {
+ return base.Channel.GetManageTaskKindFromMonitor(out errtext, monitorIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
+ public System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndSetRouteStateInfo(out errorText, result);
+ public int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetManageTaskKindFromMonitor(out errtext, result);
}
- private System.IAsyncResult OnBeginSetRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int routeID = ((int)(inValues[0]));
- bool isEnabled = ((bool)(inValues[1]));
- return this.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
+ private System.IAsyncResult OnBeginGetManageTaskKindFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int monitorIndex = ((int)(inValues[0]));
+ return this.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
}
- private object[] OnEndSetRouteStateInfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetRouteStateInfo(out errorText, result);
+ private object[] OnEndGetManageTaskKindFromMonitor(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ int retVal = this.EndGetManageTaskKindFromMonitor(out errtext, result);
return new object[] {
- errorText,
+ errtext,
retVal};
}
- private void OnSetRouteStateInfoCompleted(object state) {
- if ((this.SetRouteStateInfoCompleted != null)) {
+ private void OnGetManageTaskKindFromMonitorCompleted(object state) {
+ if ((this.GetManageTaskKindFromMonitorCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetRouteStateInfoCompleted(this, new SetRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetManageTaskKindFromMonitorCompleted(this, new GetManageTaskKindFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetRouteStateInfoAsync(int routeID, bool isEnabled) {
- this.SetRouteStateInfoAsync(routeID, isEnabled, null);
+ public void GetManageTaskKindFromMonitorAsync(int monitorIndex) {
+ this.GetManageTaskKindFromMonitorAsync(monitorIndex, null);
}
- public void SetRouteStateInfoAsync(int routeID, bool isEnabled, object userState) {
- if ((this.onBeginSetRouteStateInfoDelegate == null)) {
- this.onBeginSetRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetRouteStateInfo);
+ public void GetManageTaskKindFromMonitorAsync(int monitorIndex, object userState) {
+ if ((this.onBeginGetManageTaskKindFromMonitorDelegate == null)) {
+ this.onBeginGetManageTaskKindFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskKindFromMonitor);
}
- if ((this.onEndSetRouteStateInfoDelegate == null)) {
- this.onEndSetRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetRouteStateInfo);
+ if ((this.onEndGetManageTaskKindFromMonitorDelegate == null)) {
+ this.onEndGetManageTaskKindFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskKindFromMonitor);
}
- if ((this.onSetRouteStateInfoCompletedDelegate == null)) {
- this.onSetRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateInfoCompleted);
+ if ((this.onGetManageTaskKindFromMonitorCompletedDelegate == null)) {
+ this.onGetManageTaskKindFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskKindFromMonitorCompleted);
}
- base.InvokeAsync(this.onBeginSetRouteStateInfoDelegate, new object[] {
- routeID,
- isEnabled}, this.onEndSetRouteStateInfoDelegate, this.onSetRouteStateInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetManageTaskKindFromMonitorDelegate, new object[] {
+ monitorIndex}, this.onEndGetManageTaskKindFromMonitorDelegate, this.onGetManageTaskKindFromMonitorCompletedDelegate, userState);
}
- public bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled) {
- return base.Channel.SetDeviceJoinRouteStateInfo(out errorText, deviceIndex, isEnabled);
+ public long GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex) {
+ return base.Channel.GetManageTaskIndexFromMonitor(out errtext, monitorIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
+ public System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndSetDeviceJoinRouteStateInfo(out errorText, result);
+ public long EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetManageTaskIndexFromMonitor(out errtext, result);
}
- private System.IAsyncResult OnBeginSetDeviceJoinRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int deviceIndex = ((int)(inValues[0]));
- bool isEnabled = ((bool)(inValues[1]));
- return this.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
+ private System.IAsyncResult OnBeginGetManageTaskIndexFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int monitorIndex = ((int)(inValues[0]));
+ return this.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
}
- private object[] OnEndSetDeviceJoinRouteStateInfo(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndSetDeviceJoinRouteStateInfo(out errorText, result);
+ private object[] OnEndGetManageTaskIndexFromMonitor(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ long retVal = this.EndGetManageTaskIndexFromMonitor(out errtext, result);
return new object[] {
- errorText,
+ errtext,
retVal};
}
- private void OnSetDeviceJoinRouteStateInfoCompleted(object state) {
- if ((this.SetDeviceJoinRouteStateInfoCompleted != null)) {
+ private void OnGetManageTaskIndexFromMonitorCompleted(object state) {
+ if ((this.GetManageTaskIndexFromMonitorCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.SetDeviceJoinRouteStateInfoCompleted(this, new SetDeviceJoinRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetManageTaskIndexFromMonitorCompleted(this, new GetManageTaskIndexFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled) {
- this.SetDeviceJoinRouteStateInfoAsync(deviceIndex, isEnabled, null);
+ public void GetManageTaskIndexFromMonitorAsync(int monitorIndex) {
+ this.GetManageTaskIndexFromMonitorAsync(monitorIndex, null);
}
- public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled, object userState) {
- if ((this.onBeginSetDeviceJoinRouteStateInfoDelegate == null)) {
- this.onBeginSetDeviceJoinRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceJoinRouteStateInfo);
+ public void GetManageTaskIndexFromMonitorAsync(int monitorIndex, object userState) {
+ if ((this.onBeginGetManageTaskIndexFromMonitorDelegate == null)) {
+ this.onBeginGetManageTaskIndexFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskIndexFromMonitor);
}
- if ((this.onEndSetDeviceJoinRouteStateInfoDelegate == null)) {
- this.onEndSetDeviceJoinRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceJoinRouteStateInfo);
+ if ((this.onEndGetManageTaskIndexFromMonitorDelegate == null)) {
+ this.onEndGetManageTaskIndexFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskIndexFromMonitor);
}
- if ((this.onSetDeviceJoinRouteStateInfoCompletedDelegate == null)) {
- this.onSetDeviceJoinRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceJoinRouteStateInfoCompleted);
+ if ((this.onGetManageTaskIndexFromMonitorCompletedDelegate == null)) {
+ this.onGetManageTaskIndexFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskIndexFromMonitorCompleted);
}
- base.InvokeAsync(this.onBeginSetDeviceJoinRouteStateInfoDelegate, new object[] {
- deviceIndex,
- isEnabled}, this.onEndSetDeviceJoinRouteStateInfoDelegate, this.onSetDeviceJoinRouteStateInfoCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetManageTaskIndexFromMonitorDelegate, new object[] {
+ monitorIndex}, this.onEndGetManageTaskIndexFromMonitorDelegate, this.onGetManageTaskIndexFromMonitorCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText) {
- return base.Channel.GetAllCellInfos(out errorText);
+ public int GetDeviceKindIndex(out string errtext, int deviceIndex) {
+ return base.Channel.GetDeviceKindIndex(out errtext, deviceIndex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetAllCellInfos(callback, asyncState);
+ public System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetAllCellInfos(out errorText, result);
+ public int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetDeviceKindIndex(out errtext, result);
}
- private System.IAsyncResult OnBeginGetAllCellInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetAllCellInfos(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDeviceKindIndex(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ return this.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
}
- private object[] OnEndGetAllCellInfos(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] retVal = this.EndGetAllCellInfos(out errorText, result);
+ private object[] OnEndGetDeviceKindIndex(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ int retVal = this.EndGetDeviceKindIndex(out errtext, result);
return new object[] {
- errorText,
+ errtext,
retVal};
}
- private void OnGetAllCellInfosCompleted(object state) {
- if ((this.GetAllCellInfosCompleted != null)) {
+ private void OnGetDeviceKindIndexCompleted(object state) {
+ if ((this.GetDeviceKindIndexCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetAllCellInfosCompleted(this, new GetAllCellInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDeviceKindIndexCompleted(this, new GetDeviceKindIndexCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetAllCellInfosAsync() {
- this.GetAllCellInfosAsync(null);
+ public void GetDeviceKindIndexAsync(int deviceIndex) {
+ this.GetDeviceKindIndexAsync(deviceIndex, null);
}
- public void GetAllCellInfosAsync(object userState) {
- if ((this.onBeginGetAllCellInfosDelegate == null)) {
- this.onBeginGetAllCellInfosDelegate = new BeginOperationDelegate(this.OnBeginGetAllCellInfos);
+ public void GetDeviceKindIndexAsync(int deviceIndex, object userState) {
+ if ((this.onBeginGetDeviceKindIndexDelegate == null)) {
+ this.onBeginGetDeviceKindIndexDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceKindIndex);
}
- if ((this.onEndGetAllCellInfosDelegate == null)) {
- this.onEndGetAllCellInfosDelegate = new EndOperationDelegate(this.OnEndGetAllCellInfos);
+ if ((this.onEndGetDeviceKindIndexDelegate == null)) {
+ this.onEndGetDeviceKindIndexDelegate = new EndOperationDelegate(this.OnEndGetDeviceKindIndex);
}
- if ((this.onGetAllCellInfosCompletedDelegate == null)) {
- this.onGetAllCellInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllCellInfosCompleted);
+ if ((this.onGetDeviceKindIndexCompletedDelegate == null)) {
+ this.onGetDeviceKindIndexCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceKindIndexCompleted);
}
- base.InvokeAsync(this.onBeginGetAllCellInfosDelegate, null, this.onEndGetAllCellInfosDelegate, this.onGetAllCellInfosCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDeviceKindIndexDelegate, new object[] {
+ deviceIndex}, this.onEndGetDeviceKindIndexDelegate, this.onGetDeviceKindIndexCompletedDelegate, userState);
}
- public string[] GetLanguageFields(out string errorText) {
- return base.Channel.GetLanguageFields(out errorText);
+ public bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder) {
+ return base.Channel.SendDeviceReset(out errtext, deviceIndex, ResetOrder);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetLanguageFields(callback, asyncState);
+ public System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetLanguageFields(out errorText, result);
+ public bool EndSendDeviceReset(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndSendDeviceReset(out errtext, result);
}
- private System.IAsyncResult OnBeginGetLanguageFields(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetLanguageFields(callback, asyncState);
+ private System.IAsyncResult OnBeginSendDeviceReset(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ int ResetOrder = ((int)(inValues[1]));
+ return this.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
}
- private object[] OnEndGetLanguageFields(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- string[] retVal = this.EndGetLanguageFields(out errorText, result);
+ private object[] OnEndSendDeviceReset(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSendDeviceReset(out errtext, result);
return new object[] {
- errorText,
+ errtext,
retVal};
}
- private void OnGetLanguageFieldsCompleted(object state) {
- if ((this.GetLanguageFieldsCompleted != null)) {
+ private void OnSendDeviceResetCompleted(object state) {
+ if ((this.SendDeviceResetCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetLanguageFieldsCompleted(this, new GetLanguageFieldsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SendDeviceResetCompleted(this, new SendDeviceResetCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetLanguageFieldsAsync() {
- this.GetLanguageFieldsAsync(null);
+ public void SendDeviceResetAsync(int deviceIndex, int ResetOrder) {
+ this.SendDeviceResetAsync(deviceIndex, ResetOrder, null);
}
- public void GetLanguageFieldsAsync(object userState) {
- if ((this.onBeginGetLanguageFieldsDelegate == null)) {
- this.onBeginGetLanguageFieldsDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageFields);
+ public void SendDeviceResetAsync(int deviceIndex, int ResetOrder, object userState) {
+ if ((this.onBeginSendDeviceResetDelegate == null)) {
+ this.onBeginSendDeviceResetDelegate = new BeginOperationDelegate(this.OnBeginSendDeviceReset);
}
- if ((this.onEndGetLanguageFieldsDelegate == null)) {
- this.onEndGetLanguageFieldsDelegate = new EndOperationDelegate(this.OnEndGetLanguageFields);
+ if ((this.onEndSendDeviceResetDelegate == null)) {
+ this.onEndSendDeviceResetDelegate = new EndOperationDelegate(this.OnEndSendDeviceReset);
}
- if ((this.onGetLanguageFieldsCompletedDelegate == null)) {
- this.onGetLanguageFieldsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageFieldsCompleted);
+ if ((this.onSendDeviceResetCompletedDelegate == null)) {
+ this.onSendDeviceResetCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendDeviceResetCompleted);
}
- base.InvokeAsync(this.onBeginGetLanguageFieldsDelegate, null, this.onEndGetLanguageFieldsDelegate, this.onGetLanguageFieldsCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSendDeviceResetDelegate, new object[] {
+ deviceIndex,
+ ResetOrder}, this.onEndSendDeviceResetDelegate, this.onSendDeviceResetCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language) {
- return base.Channel.GetLanguageContent(out errorText, language);
+ public bool Heartbeat(out Model.MonitorInfo monitorinfo) {
+ return base.Channel.Heartbeat(out monitorinfo);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetLanguageContent(language, callback, asyncState);
+ public System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginHeartbeat(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetLanguageContent(out errorText, result);
+ public bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result) {
+ return base.Channel.EndHeartbeat(out monitorinfo, result);
}
- private System.IAsyncResult OnBeginGetLanguageContent(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string language = ((string)(inValues[0]));
- return this.BeginGetLanguageContent(language, callback, asyncState);
+ private System.IAsyncResult OnBeginHeartbeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginHeartbeat(callback, asyncState);
}
- private object[] OnEndGetLanguageContent(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] retVal = this.EndGetLanguageContent(out errorText, result);
+ private object[] OnEndHeartbeat(System.IAsyncResult result) {
+ Model.MonitorInfo monitorinfo = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndHeartbeat(out monitorinfo, result);
return new object[] {
- errorText,
+ monitorinfo,
retVal};
}
- private void OnGetLanguageContentCompleted(object state) {
- if ((this.GetLanguageContentCompleted != null)) {
+ private void OnHeartbeatCompleted(object state) {
+ if ((this.HeartbeatCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetLanguageContentCompleted(this, new GetLanguageContentCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.HeartbeatCompleted(this, new HeartbeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetLanguageContentAsync(string language) {
- this.GetLanguageContentAsync(language, null);
+ public void HeartbeatAsync() {
+ this.HeartbeatAsync(null);
}
- public void GetLanguageContentAsync(string language, object userState) {
- if ((this.onBeginGetLanguageContentDelegate == null)) {
- this.onBeginGetLanguageContentDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageContent);
+ public void HeartbeatAsync(object userState) {
+ if ((this.onBeginHeartbeatDelegate == null)) {
+ this.onBeginHeartbeatDelegate = new BeginOperationDelegate(this.OnBeginHeartbeat);
}
- if ((this.onEndGetLanguageContentDelegate == null)) {
- this.onEndGetLanguageContentDelegate = new EndOperationDelegate(this.OnEndGetLanguageContent);
+ if ((this.onEndHeartbeatDelegate == null)) {
+ this.onEndHeartbeatDelegate = new EndOperationDelegate(this.OnEndHeartbeat);
}
- if ((this.onGetLanguageContentCompletedDelegate == null)) {
- this.onGetLanguageContentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageContentCompleted);
+ if ((this.onHeartbeatCompletedDelegate == null)) {
+ this.onHeartbeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnHeartbeatCompleted);
}
- base.InvokeAsync(this.onBeginGetLanguageContentDelegate, new object[] {
- language}, this.onEndGetLanguageContentDelegate, this.onGetLanguageContentCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginHeartbeatDelegate, null, this.onEndHeartbeatDelegate, this.onHeartbeatCompletedDelegate, userState);
}
- public wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText) {
- return base.Channel.GetDevicesDic(out errorText);
+ public System.Data.DataTable GetDataView(out string errtext, string SQL) {
+ return base.Channel.GetDataView(out errtext, SQL);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetDevicesDic(callback, asyncState);
+ public System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetDataView(SQL, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result) {
- return base.Channel.EndGetDevicesDic(out errorText, result);
+ public System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetDataView(out errtext, result);
}
- private System.IAsyncResult OnBeginGetDevicesDic(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetDevicesDic(callback, asyncState);
+ private System.IAsyncResult OnBeginGetDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string SQL = ((string)(inValues[0]));
+ return this.BeginGetDataView(SQL, callback, asyncState);
}
- private object[] OnEndGetDevicesDic(System.IAsyncResult result) {
- string errorText = this.GetDefaultValueForInitialization();
- wcfControlMonitorClient.WcfControlMonitor.DevicesDic retVal = this.EndGetDevicesDic(out errorText, result);
+ private object[] OnEndGetDataView(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ System.Data.DataTable retVal = this.EndGetDataView(out errtext, result);
return new object[] {
- errorText,
+ errtext,
retVal};
}
- private void OnGetDevicesDicCompleted(object state) {
- if ((this.GetDevicesDicCompleted != null)) {
+ private void OnGetDataViewCompleted(object state) {
+ if ((this.GetDataViewCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetDevicesDicCompleted(this, new GetDevicesDicCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetDataViewCompleted(this, new GetDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetDevicesDicAsync() {
- this.GetDevicesDicAsync(null);
+ public void GetDataViewAsync(string SQL) {
+ this.GetDataViewAsync(SQL, null);
}
- public void GetDevicesDicAsync(object userState) {
- if ((this.onBeginGetDevicesDicDelegate == null)) {
- this.onBeginGetDevicesDicDelegate = new BeginOperationDelegate(this.OnBeginGetDevicesDic);
+ public void GetDataViewAsync(string SQL, object userState) {
+ if ((this.onBeginGetDataViewDelegate == null)) {
+ this.onBeginGetDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetDataView);
}
- if ((this.onEndGetDevicesDicDelegate == null)) {
- this.onEndGetDevicesDicDelegate = new EndOperationDelegate(this.OnEndGetDevicesDic);
+ if ((this.onEndGetDataViewDelegate == null)) {
+ this.onEndGetDataViewDelegate = new EndOperationDelegate(this.OnEndGetDataView);
}
- if ((this.onGetDevicesDicCompletedDelegate == null)) {
- this.onGetDevicesDicCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDevicesDicCompleted);
+ if ((this.onGetDataViewCompletedDelegate == null)) {
+ this.onGetDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataViewCompleted);
}
- base.InvokeAsync(this.onBeginGetDevicesDicDelegate, null, this.onEndGetDevicesDicDelegate, this.onGetDevicesDicCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetDataViewDelegate, new object[] {
+ SQL}, this.onEndGetDataViewDelegate, this.onGetDataViewCompletedDelegate, userState);
}
- public bool RefreshMonitoringMode() {
- return base.Channel.RefreshMonitoringMode();
+ public int ExeSQLNoneQuery(out string errtext, string SQL) {
+ return base.Channel.ExeSQLNoneQuery(out errtext, SQL);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginRefreshMonitoringMode(callback, asyncState);
+ public System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginExeSQLNoneQuery(SQL, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndRefreshMonitoringMode(System.IAsyncResult result) {
- return base.Channel.EndRefreshMonitoringMode(result);
+ public int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndExeSQLNoneQuery(out errtext, result);
}
- private System.IAsyncResult OnBeginRefreshMonitoringMode(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginRefreshMonitoringMode(callback, asyncState);
+ private System.IAsyncResult OnBeginExeSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string SQL = ((string)(inValues[0]));
+ return this.BeginExeSQLNoneQuery(SQL, callback, asyncState);
}
- private object[] OnEndRefreshMonitoringMode(System.IAsyncResult result) {
- bool retVal = this.EndRefreshMonitoringMode(result);
+ private object[] OnEndExeSQLNoneQuery(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ int retVal = this.EndExeSQLNoneQuery(out errtext, result);
return new object[] {
+ errtext,
retVal};
}
- private void OnRefreshMonitoringModeCompleted(object state) {
- if ((this.RefreshMonitoringModeCompleted != null)) {
+ private void OnExeSQLNoneQueryCompleted(object state) {
+ if ((this.ExeSQLNoneQueryCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.RefreshMonitoringModeCompleted(this, new RefreshMonitoringModeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ExeSQLNoneQueryCompleted(this, new ExeSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void RefreshMonitoringModeAsync() {
- this.RefreshMonitoringModeAsync(null);
+ public void ExeSQLNoneQueryAsync(string SQL) {
+ this.ExeSQLNoneQueryAsync(SQL, null);
}
- public void RefreshMonitoringModeAsync(object userState) {
- if ((this.onBeginRefreshMonitoringModeDelegate == null)) {
- this.onBeginRefreshMonitoringModeDelegate = new BeginOperationDelegate(this.OnBeginRefreshMonitoringMode);
+ public void ExeSQLNoneQueryAsync(string SQL, object userState) {
+ if ((this.onBeginExeSQLNoneQueryDelegate == null)) {
+ this.onBeginExeSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeSQLNoneQuery);
}
- if ((this.onEndRefreshMonitoringModeDelegate == null)) {
- this.onEndRefreshMonitoringModeDelegate = new EndOperationDelegate(this.OnEndRefreshMonitoringMode);
+ if ((this.onEndExeSQLNoneQueryDelegate == null)) {
+ this.onEndExeSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeSQLNoneQuery);
}
- if ((this.onRefreshMonitoringModeCompletedDelegate == null)) {
- this.onRefreshMonitoringModeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRefreshMonitoringModeCompleted);
+ if ((this.onExeSQLNoneQueryCompletedDelegate == null)) {
+ this.onExeSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeSQLNoneQueryCompleted);
}
- base.InvokeAsync(this.onBeginRefreshMonitoringModeDelegate, null, this.onEndRefreshMonitoringModeDelegate, this.onRefreshMonitoringModeCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginExeSQLNoneQueryDelegate, new object[] {
+ SQL}, this.onEndExeSQLNoneQueryDelegate, this.onExeSQLNoneQueryCompletedDelegate, userState);
}
-
- public bool RegisterClient(out string errText, string userID, string userDescription) {
- return base.Channel.RegisterClient(out errText, userID, userDescription);
+
+ public System.Data.DataTable GetManDataView(out string errtext, string SQL) {
+ return base.Channel.GetManDataView(out errtext, SQL);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginRegisterClient(userID, userDescription, callback, asyncState);
+ public System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetManDataView(SQL, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndRegisterClient(out string errText, System.IAsyncResult result) {
- return base.Channel.EndRegisterClient(out errText, result);
+ public System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetManDataView(out errtext, result);
}
- private System.IAsyncResult OnBeginRegisterClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string userID = ((string)(inValues[0]));
- string userDescription = ((string)(inValues[1]));
- return this.BeginRegisterClient(userID, userDescription, callback, asyncState);
+ private System.IAsyncResult OnBeginGetManDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string SQL = ((string)(inValues[0]));
+ return this.BeginGetManDataView(SQL, callback, asyncState);
}
- private object[] OnEndRegisterClient(System.IAsyncResult result) {
- string errText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndRegisterClient(out errText, result);
+ private object[] OnEndGetManDataView(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ System.Data.DataTable retVal = this.EndGetManDataView(out errtext, result);
return new object[] {
- errText,
+ errtext,
retVal};
}
- private void OnRegisterClientCompleted(object state) {
- if ((this.RegisterClientCompleted != null)) {
+ private void OnGetManDataViewCompleted(object state) {
+ if ((this.GetManDataViewCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.RegisterClientCompleted(this, new RegisterClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetManDataViewCompleted(this, new GetManDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void RegisterClientAsync(string userID, string userDescription) {
- this.RegisterClientAsync(userID, userDescription, null);
+ public void GetManDataViewAsync(string SQL) {
+ this.GetManDataViewAsync(SQL, null);
}
- public void RegisterClientAsync(string userID, string userDescription, object userState) {
- if ((this.onBeginRegisterClientDelegate == null)) {
- this.onBeginRegisterClientDelegate = new BeginOperationDelegate(this.OnBeginRegisterClient);
+ public void GetManDataViewAsync(string SQL, object userState) {
+ if ((this.onBeginGetManDataViewDelegate == null)) {
+ this.onBeginGetManDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetManDataView);
}
- if ((this.onEndRegisterClientDelegate == null)) {
- this.onEndRegisterClientDelegate = new EndOperationDelegate(this.OnEndRegisterClient);
+ if ((this.onEndGetManDataViewDelegate == null)) {
+ this.onEndGetManDataViewDelegate = new EndOperationDelegate(this.OnEndGetManDataView);
}
- if ((this.onRegisterClientCompletedDelegate == null)) {
- this.onRegisterClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRegisterClientCompleted);
+ if ((this.onGetManDataViewCompletedDelegate == null)) {
+ this.onGetManDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManDataViewCompleted);
}
- base.InvokeAsync(this.onBeginRegisterClientDelegate, new object[] {
- userID,
- userDescription}, this.onEndRegisterClientDelegate, this.onRegisterClientCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetManDataViewDelegate, new object[] {
+ SQL}, this.onEndGetManDataViewDelegate, this.onGetManDataViewCompletedDelegate, userState);
}
- public bool LogoutClient(out string errText, string userID) {
- return base.Channel.LogoutClient(out errText, userID);
+ public int ExeManSQLNoneQuery(out string errtext, string SQL) {
+ return base.Channel.ExeManSQLNoneQuery(out errtext, SQL);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginLogoutClient(userID, callback, asyncState);
+ public System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndLogoutClient(out string errText, System.IAsyncResult result) {
- return base.Channel.EndLogoutClient(out errText, result);
+ public int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndExeManSQLNoneQuery(out errtext, result);
}
- private System.IAsyncResult OnBeginLogoutClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string userID = ((string)(inValues[0]));
- return this.BeginLogoutClient(userID, callback, asyncState);
+ private System.IAsyncResult OnBeginExeManSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ string SQL = ((string)(inValues[0]));
+ return this.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
}
- private object[] OnEndLogoutClient(System.IAsyncResult result) {
- string errText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndLogoutClient(out errText, result);
+ private object[] OnEndExeManSQLNoneQuery(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ int retVal = this.EndExeManSQLNoneQuery(out errtext, result);
return new object[] {
- errText,
+ errtext,
retVal};
}
- private void OnLogoutClientCompleted(object state) {
- if ((this.LogoutClientCompleted != null)) {
+ private void OnExeManSQLNoneQueryCompleted(object state) {
+ if ((this.ExeManSQLNoneQueryCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.LogoutClientCompleted(this, new LogoutClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ExeManSQLNoneQueryCompleted(this, new ExeManSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void LogoutClientAsync(string userID) {
- this.LogoutClientAsync(userID, null);
+ public void ExeManSQLNoneQueryAsync(string SQL) {
+ this.ExeManSQLNoneQueryAsync(SQL, null);
}
- public void LogoutClientAsync(string userID, object userState) {
- if ((this.onBeginLogoutClientDelegate == null)) {
- this.onBeginLogoutClientDelegate = new BeginOperationDelegate(this.OnBeginLogoutClient);
+ public void ExeManSQLNoneQueryAsync(string SQL, object userState) {
+ if ((this.onBeginExeManSQLNoneQueryDelegate == null)) {
+ this.onBeginExeManSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeManSQLNoneQuery);
}
- if ((this.onEndLogoutClientDelegate == null)) {
- this.onEndLogoutClientDelegate = new EndOperationDelegate(this.OnEndLogoutClient);
+ if ((this.onEndExeManSQLNoneQueryDelegate == null)) {
+ this.onEndExeManSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeManSQLNoneQuery);
}
- if ((this.onLogoutClientCompletedDelegate == null)) {
- this.onLogoutClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutClientCompleted);
+ if ((this.onExeManSQLNoneQueryCompletedDelegate == null)) {
+ this.onExeManSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeManSQLNoneQueryCompleted);
}
- base.InvokeAsync(this.onBeginLogoutClientDelegate, new object[] {
- userID}, this.onEndLogoutClientDelegate, this.onLogoutClientCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginExeManSQLNoneQueryDelegate, new object[] {
+ SQL}, this.onEndExeManSQLNoneQueryDelegate, this.onExeManSQLNoneQueryCompletedDelegate, userState);
}
- public bool ObtainTask(string laneway, string Order) {
- return base.Channel.ObtainTask(laneway, Order);
+ public bool GetAllManageTask(out string errtext) {
+ return base.Channel.GetAllManageTask(out errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginObtainTask(laneway, Order, callback, asyncState);
+ public System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginGetAllManageTask(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndObtainTask(System.IAsyncResult result) {
- return base.Channel.EndObtainTask(result);
+ public bool EndGetAllManageTask(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndGetAllManageTask(out errtext, result);
}
- private System.IAsyncResult OnBeginObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string laneway = ((string)(inValues[0]));
- string Order = ((string)(inValues[1]));
- return this.BeginObtainTask(laneway, Order, callback, asyncState);
+ private System.IAsyncResult OnBeginGetAllManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginGetAllManageTask(callback, asyncState);
}
- private object[] OnEndObtainTask(System.IAsyncResult result) {
- bool retVal = this.EndObtainTask(result);
+ private object[] OnEndGetAllManageTask(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndGetAllManageTask(out errtext, result);
return new object[] {
+ errtext,
retVal};
}
- private void OnObtainTaskCompleted(object state) {
- if ((this.ObtainTaskCompleted != null)) {
+ private void OnGetAllManageTaskCompleted(object state) {
+ if ((this.GetAllManageTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.ObtainTaskCompleted(this, new ObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.GetAllManageTaskCompleted(this, new GetAllManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void ObtainTaskAsync(string laneway, string Order) {
- this.ObtainTaskAsync(laneway, Order, null);
+ public void GetAllManageTaskAsync() {
+ this.GetAllManageTaskAsync(null);
}
- public void ObtainTaskAsync(string laneway, string Order, object userState) {
- if ((this.onBeginObtainTaskDelegate == null)) {
- this.onBeginObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginObtainTask);
+ public void GetAllManageTaskAsync(object userState) {
+ if ((this.onBeginGetAllManageTaskDelegate == null)) {
+ this.onBeginGetAllManageTaskDelegate = new BeginOperationDelegate(this.OnBeginGetAllManageTask);
}
- if ((this.onEndObtainTaskDelegate == null)) {
- this.onEndObtainTaskDelegate = new EndOperationDelegate(this.OnEndObtainTask);
+ if ((this.onEndGetAllManageTaskDelegate == null)) {
+ this.onEndGetAllManageTaskDelegate = new EndOperationDelegate(this.OnEndGetAllManageTask);
}
- if ((this.onObtainTaskCompletedDelegate == null)) {
- this.onObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnObtainTaskCompleted);
+ if ((this.onGetAllManageTaskCompletedDelegate == null)) {
+ this.onGetAllManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllManageTaskCompleted);
}
- base.InvokeAsync(this.onBeginObtainTaskDelegate, new object[] {
- laneway,
- Order}, this.onEndObtainTaskDelegate, this.onObtainTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginGetAllManageTaskDelegate, null, this.onEndGetAllManageTaskDelegate, this.onGetAllManageTaskCompletedDelegate, userState);
}
- public bool StopObtainTask() {
- return base.Channel.StopObtainTask();
+ public bool DisassembleTask(out string errtext) {
+ return base.Channel.DisassembleTask(out errtext);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginStopObtainTask(callback, asyncState);
+ public System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginDisassembleTask(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndStopObtainTask(System.IAsyncResult result) {
- return base.Channel.EndStopObtainTask(result);
+ public bool EndDisassembleTask(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndDisassembleTask(out errtext, result);
}
- private System.IAsyncResult OnBeginStopObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginStopObtainTask(callback, asyncState);
+ private System.IAsyncResult OnBeginDisassembleTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginDisassembleTask(callback, asyncState);
}
- private object[] OnEndStopObtainTask(System.IAsyncResult result) {
- bool retVal = this.EndStopObtainTask(result);
+ private object[] OnEndDisassembleTask(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndDisassembleTask(out errtext, result);
return new object[] {
+ errtext,
retVal};
}
- private void OnStopObtainTaskCompleted(object state) {
- if ((this.StopObtainTaskCompleted != null)) {
+ private void OnDisassembleTaskCompleted(object state) {
+ if ((this.DisassembleTaskCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.StopObtainTaskCompleted(this, new StopObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.DisassembleTaskCompleted(this, new DisassembleTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void StopObtainTaskAsync() {
- this.StopObtainTaskAsync(null);
+ public void DisassembleTaskAsync() {
+ this.DisassembleTaskAsync(null);
}
- public void StopObtainTaskAsync(object userState) {
- if ((this.onBeginStopObtainTaskDelegate == null)) {
- this.onBeginStopObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginStopObtainTask);
+ public void DisassembleTaskAsync(object userState) {
+ if ((this.onBeginDisassembleTaskDelegate == null)) {
+ this.onBeginDisassembleTaskDelegate = new BeginOperationDelegate(this.OnBeginDisassembleTask);
}
- if ((this.onEndStopObtainTaskDelegate == null)) {
- this.onEndStopObtainTaskDelegate = new EndOperationDelegate(this.OnEndStopObtainTask);
+ if ((this.onEndDisassembleTaskDelegate == null)) {
+ this.onEndDisassembleTaskDelegate = new EndOperationDelegate(this.OnEndDisassembleTask);
}
- if ((this.onStopObtainTaskCompletedDelegate == null)) {
- this.onStopObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStopObtainTaskCompleted);
+ if ((this.onDisassembleTaskCompletedDelegate == null)) {
+ this.onDisassembleTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisassembleTaskCompleted);
}
- base.InvokeAsync(this.onBeginStopObtainTaskDelegate, null, this.onEndStopObtainTaskDelegate, this.onStopObtainTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginDisassembleTaskDelegate, null, this.onEndDisassembleTaskDelegate, this.onDisassembleTaskCompletedDelegate, userState);
}
- public bool OrderTurnOn() {
- return base.Channel.OrderTurnOn();
+ public bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex) {
+ return base.Channel.SetLogicHaveGoods(out errtext, ifHaveGoods, deviceindex);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginOrderTurnOn(callback, asyncState);
+ public System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndOrderTurnOn(System.IAsyncResult result) {
- return base.Channel.EndOrderTurnOn(result);
+ public bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndSetLogicHaveGoods(out errtext, result);
}
- private System.IAsyncResult OnBeginOrderTurnOn(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginOrderTurnOn(callback, asyncState);
+ private System.IAsyncResult OnBeginSetLogicHaveGoods(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ bool ifHaveGoods = ((bool)(inValues[0]));
+ int deviceindex = ((int)(inValues[1]));
+ return this.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
}
- private object[] OnEndOrderTurnOn(System.IAsyncResult result) {
- bool retVal = this.EndOrderTurnOn(result);
+ private object[] OnEndSetLogicHaveGoods(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndSetLogicHaveGoods(out errtext, result);
return new object[] {
+ errtext,
retVal};
}
- private void OnOrderTurnOnCompleted(object state) {
- if ((this.OrderTurnOnCompleted != null)) {
+ private void OnSetLogicHaveGoodsCompleted(object state) {
+ if ((this.SetLogicHaveGoodsCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.OrderTurnOnCompleted(this, new OrderTurnOnCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SetLogicHaveGoodsCompleted(this, new SetLogicHaveGoodsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void OrderTurnOnAsync() {
- this.OrderTurnOnAsync(null);
+ public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex) {
+ this.SetLogicHaveGoodsAsync(ifHaveGoods, deviceindex, null);
}
- public void OrderTurnOnAsync(object userState) {
- if ((this.onBeginOrderTurnOnDelegate == null)) {
- this.onBeginOrderTurnOnDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOn);
- }
- if ((this.onEndOrderTurnOnDelegate == null)) {
- this.onEndOrderTurnOnDelegate = new EndOperationDelegate(this.OnEndOrderTurnOn);
+ public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex, object userState) {
+ if ((this.onBeginSetLogicHaveGoodsDelegate == null)) {
+ this.onBeginSetLogicHaveGoodsDelegate = new BeginOperationDelegate(this.OnBeginSetLogicHaveGoods);
}
- if ((this.onOrderTurnOnCompletedDelegate == null)) {
- this.onOrderTurnOnCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOnCompleted);
+ if ((this.onEndSetLogicHaveGoodsDelegate == null)) {
+ this.onEndSetLogicHaveGoodsDelegate = new EndOperationDelegate(this.OnEndSetLogicHaveGoods);
}
- base.InvokeAsync(this.onBeginOrderTurnOnDelegate, null, this.onEndOrderTurnOnDelegate, this.onOrderTurnOnCompletedDelegate, userState);
+ if ((this.onSetLogicHaveGoodsCompletedDelegate == null)) {
+ this.onSetLogicHaveGoodsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetLogicHaveGoodsCompleted);
+ }
+ base.InvokeAsync(this.onBeginSetLogicHaveGoodsDelegate, new object[] {
+ ifHaveGoods,
+ deviceindex}, this.onEndSetLogicHaveGoodsDelegate, this.onSetLogicHaveGoodsCompletedDelegate, userState);
}
- public bool OrderTurnOff() {
- return base.Channel.OrderTurnOff();
+ public bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
+ return base.Channel.DealWithDeviceState(out errtext, deviceindex, splitbyteValue, devicestates);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginOrderTurnOff(callback, asyncState);
+ public System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndOrderTurnOff(System.IAsyncResult result) {
- return base.Channel.EndOrderTurnOff(result);
+ public bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndDealWithDeviceState(out errtext, result);
}
- private System.IAsyncResult OnBeginOrderTurnOff(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginOrderTurnOff(callback, asyncState);
+ private System.IAsyncResult OnBeginDealWithDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceindex = ((int)(inValues[0]));
+ byte[] splitbyteValue = ((byte[])(inValues[1]));
+ byte[] devicestates = ((byte[])(inValues[2]));
+ return this.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
}
- private object[] OnEndOrderTurnOff(System.IAsyncResult result) {
- bool retVal = this.EndOrderTurnOff(result);
+ private object[] OnEndDealWithDeviceState(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndDealWithDeviceState(out errtext, result);
return new object[] {
+ errtext,
retVal};
}
- private void OnOrderTurnOffCompleted(object state) {
- if ((this.OrderTurnOffCompleted != null)) {
+ private void OnDealWithDeviceStateCompleted(object state) {
+ if ((this.DealWithDeviceStateCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.OrderTurnOffCompleted(this, new OrderTurnOffCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.DealWithDeviceStateCompleted(this, new DealWithDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void OrderTurnOffAsync() {
- this.OrderTurnOffAsync(null);
+ public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
+ this.DealWithDeviceStateAsync(deviceindex, splitbyteValue, devicestates, null);
}
- public void OrderTurnOffAsync(object userState) {
- if ((this.onBeginOrderTurnOffDelegate == null)) {
- this.onBeginOrderTurnOffDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOff);
+ public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates, object userState) {
+ if ((this.onBeginDealWithDeviceStateDelegate == null)) {
+ this.onBeginDealWithDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginDealWithDeviceState);
}
- if ((this.onEndOrderTurnOffDelegate == null)) {
- this.onEndOrderTurnOffDelegate = new EndOperationDelegate(this.OnEndOrderTurnOff);
+ if ((this.onEndDealWithDeviceStateDelegate == null)) {
+ this.onEndDealWithDeviceStateDelegate = new EndOperationDelegate(this.OnEndDealWithDeviceState);
}
- if ((this.onOrderTurnOffCompletedDelegate == null)) {
- this.onOrderTurnOffCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOffCompleted);
+ if ((this.onDealWithDeviceStateCompletedDelegate == null)) {
+ this.onDealWithDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDealWithDeviceStateCompleted);
}
- base.InvokeAsync(this.onBeginOrderTurnOffDelegate, null, this.onEndOrderTurnOffDelegate, this.onOrderTurnOffCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginDealWithDeviceStateDelegate, new object[] {
+ deviceindex,
+ splitbyteValue,
+ devicestates}, this.onEndDealWithDeviceStateDelegate, this.onDealWithDeviceStateCompletedDelegate, userState);
}
- public bool DeviceCommunicationInit(out string ErrText, string CommunicationType) {
- return base.Channel.DeviceCommunicationInit(out ErrText, CommunicationType);
+ public Model.MDevice SendAllDeviceStates(int device) {
+ return base.Channel.SendAllDeviceStates(device);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
+ public System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginSendAllDeviceStates(device, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result) {
- return base.Channel.EndDeviceCommunicationInit(out ErrText, result);
+ public Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result) {
+ return base.Channel.EndSendAllDeviceStates(result);
}
- private System.IAsyncResult OnBeginDeviceCommunicationInit(object[] inValues, System.AsyncCallback callback, object asyncState) {
- string CommunicationType = ((string)(inValues[0]));
- return this.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
+ private System.IAsyncResult OnBeginSendAllDeviceStates(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int device = ((int)(inValues[0]));
+ return this.BeginSendAllDeviceStates(device, callback, asyncState);
}
- private object[] OnEndDeviceCommunicationInit(System.IAsyncResult result) {
- string ErrText = this.GetDefaultValueForInitialization();
- bool retVal = this.EndDeviceCommunicationInit(out ErrText, result);
+ private object[] OnEndSendAllDeviceStates(System.IAsyncResult result) {
+ Model.MDevice retVal = this.EndSendAllDeviceStates(result);
return new object[] {
- ErrText,
retVal};
}
- private void OnDeviceCommunicationInitCompleted(object state) {
- if ((this.DeviceCommunicationInitCompleted != null)) {
+ private void OnSendAllDeviceStatesCompleted(object state) {
+ if ((this.SendAllDeviceStatesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.DeviceCommunicationInitCompleted(this, new DeviceCommunicationInitCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.SendAllDeviceStatesCompleted(this, new SendAllDeviceStatesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void DeviceCommunicationInitAsync(string CommunicationType) {
- this.DeviceCommunicationInitAsync(CommunicationType, null);
+ public void SendAllDeviceStatesAsync(int device) {
+ this.SendAllDeviceStatesAsync(device, null);
}
- public void DeviceCommunicationInitAsync(string CommunicationType, object userState) {
- if ((this.onBeginDeviceCommunicationInitDelegate == null)) {
- this.onBeginDeviceCommunicationInitDelegate = new BeginOperationDelegate(this.OnBeginDeviceCommunicationInit);
+ public void SendAllDeviceStatesAsync(int device, object userState) {
+ if ((this.onBeginSendAllDeviceStatesDelegate == null)) {
+ this.onBeginSendAllDeviceStatesDelegate = new BeginOperationDelegate(this.OnBeginSendAllDeviceStates);
}
- if ((this.onEndDeviceCommunicationInitDelegate == null)) {
- this.onEndDeviceCommunicationInitDelegate = new EndOperationDelegate(this.OnEndDeviceCommunicationInit);
+ if ((this.onEndSendAllDeviceStatesDelegate == null)) {
+ this.onEndSendAllDeviceStatesDelegate = new EndOperationDelegate(this.OnEndSendAllDeviceStates);
}
- if ((this.onDeviceCommunicationInitCompletedDelegate == null)) {
- this.onDeviceCommunicationInitCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeviceCommunicationInitCompleted);
+ if ((this.onSendAllDeviceStatesCompletedDelegate == null)) {
+ this.onSendAllDeviceStatesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendAllDeviceStatesCompleted);
}
- base.InvokeAsync(this.onBeginDeviceCommunicationInitDelegate, new object[] {
- CommunicationType}, this.onEndDeviceCommunicationInitDelegate, this.onDeviceCommunicationInitCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginSendAllDeviceStatesDelegate, new object[] {
+ device}, this.onEndSendAllDeviceStatesDelegate, this.onSendAllDeviceStatesCompletedDelegate, userState);
}
- public System.Data.DataTable GetUsers(out string Errtext) {
- return base.Channel.GetUsers(out Errtext);
+ public bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata) {
+ return base.Channel.WriteDBData(out errtext, deviceIndex, DBBlock, Wdata);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginGetUsers(callback, asyncState);
+ public System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndGetUsers(out Errtext, result);
+ public bool EndWriteDBData(out string errtext, System.IAsyncResult result) {
+ return base.Channel.EndWriteDBData(out errtext, result);
}
- private System.IAsyncResult OnBeginGetUsers(object[] inValues, System.AsyncCallback callback, object asyncState) {
- return this.BeginGetUsers(callback, asyncState);
+ private System.IAsyncResult OnBeginWriteDBData(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int deviceIndex = ((int)(inValues[0]));
+ string DBBlock = ((string)(inValues[1]));
+ string Wdata = ((string)(inValues[2]));
+ return this.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
}
- private object[] OnEndGetUsers(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- System.Data.DataTable retVal = this.EndGetUsers(out Errtext, result);
+ private object[] OnEndWriteDBData(System.IAsyncResult result) {
+ string errtext = this.GetDefaultValueForInitialization();
+ bool retVal = this.EndWriteDBData(out errtext, result);
return new object[] {
- Errtext,
+ errtext,
retVal};
}
- private void OnGetUsersCompleted(object state) {
- if ((this.GetUsersCompleted != null)) {
+ private void OnWriteDBDataCompleted(object state) {
+ if ((this.WriteDBDataCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.GetUsersCompleted(this, new GetUsersCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.WriteDBDataCompleted(this, new WriteDBDataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void GetUsersAsync() {
- this.GetUsersAsync(null);
+ public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata) {
+ this.WriteDBDataAsync(deviceIndex, DBBlock, Wdata, null);
}
- public void GetUsersAsync(object userState) {
- if ((this.onBeginGetUsersDelegate == null)) {
- this.onBeginGetUsersDelegate = new BeginOperationDelegate(this.OnBeginGetUsers);
+ public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata, object userState) {
+ if ((this.onBeginWriteDBDataDelegate == null)) {
+ this.onBeginWriteDBDataDelegate = new BeginOperationDelegate(this.OnBeginWriteDBData);
}
- if ((this.onEndGetUsersDelegate == null)) {
- this.onEndGetUsersDelegate = new EndOperationDelegate(this.OnEndGetUsers);
+ if ((this.onEndWriteDBDataDelegate == null)) {
+ this.onEndWriteDBDataDelegate = new EndOperationDelegate(this.OnEndWriteDBData);
}
- if ((this.onGetUsersCompletedDelegate == null)) {
- this.onGetUsersCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUsersCompleted);
+ if ((this.onWriteDBDataCompletedDelegate == null)) {
+ this.onWriteDBDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnWriteDBDataCompleted);
}
- base.InvokeAsync(this.onBeginGetUsersDelegate, null, this.onEndGetUsersDelegate, this.onGetUsersCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginWriteDBDataDelegate, new object[] {
+ deviceIndex,
+ DBBlock,
+ Wdata}, this.onEndWriteDBDataDelegate, this.onWriteDBDataCompletedDelegate, userState);
}
- public bool BuildHandTask(out string Errtext, Model.HandTask Handtask) {
- return base.Channel.BuildHandTask(out Errtext, Handtask);
+ public bool ReConnectOPCServer() {
+ return base.Channel.ReConnectOPCServer();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginBuildHandTask(Handtask, callback, asyncState);
+ public System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginReConnectOPCServer(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndBuildHandTask(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndBuildHandTask(out Errtext, result);
+ public bool EndReConnectOPCServer(System.IAsyncResult result) {
+ return base.Channel.EndReConnectOPCServer(result);
}
- private System.IAsyncResult OnBeginBuildHandTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- Model.HandTask Handtask = ((Model.HandTask)(inValues[0]));
- return this.BeginBuildHandTask(Handtask, callback, asyncState);
+ private System.IAsyncResult OnBeginReConnectOPCServer(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ return this.BeginReConnectOPCServer(callback, asyncState);
}
- private object[] OnEndBuildHandTask(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndBuildHandTask(out Errtext, result);
+ private object[] OnEndReConnectOPCServer(System.IAsyncResult result) {
+ bool retVal = this.EndReConnectOPCServer(result);
return new object[] {
- Errtext,
retVal};
}
- private void OnBuildHandTaskCompleted(object state) {
- if ((this.BuildHandTaskCompleted != null)) {
+ private void OnReConnectOPCServerCompleted(object state) {
+ if ((this.ReConnectOPCServerCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.BuildHandTaskCompleted(this, new BuildHandTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ReConnectOPCServerCompleted(this, new ReConnectOPCServerCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
- public void BuildHandTaskAsync(Model.HandTask Handtask) {
- this.BuildHandTaskAsync(Handtask, null);
+ public void ReConnectOPCServerAsync() {
+ this.ReConnectOPCServerAsync(null);
}
- public void BuildHandTaskAsync(Model.HandTask Handtask, object userState) {
- if ((this.onBeginBuildHandTaskDelegate == null)) {
- this.onBeginBuildHandTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandTask);
+ public void ReConnectOPCServerAsync(object userState) {
+ if ((this.onBeginReConnectOPCServerDelegate == null)) {
+ this.onBeginReConnectOPCServerDelegate = new BeginOperationDelegate(this.OnBeginReConnectOPCServer);
}
- if ((this.onEndBuildHandTaskDelegate == null)) {
- this.onEndBuildHandTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandTask);
+ if ((this.onEndReConnectOPCServerDelegate == null)) {
+ this.onEndReConnectOPCServerDelegate = new EndOperationDelegate(this.OnEndReConnectOPCServer);
}
- if ((this.onBuildHandTaskCompletedDelegate == null)) {
- this.onBuildHandTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandTaskCompleted);
+ if ((this.onReConnectOPCServerCompletedDelegate == null)) {
+ this.onReConnectOPCServerCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnReConnectOPCServerCompleted);
}
- base.InvokeAsync(this.onBeginBuildHandTaskDelegate, new object[] {
- Handtask}, this.onEndBuildHandTaskDelegate, this.onBuildHandTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginReConnectOPCServerDelegate, null, this.onEndReConnectOPCServerDelegate, this.onReConnectOPCServerCompletedDelegate, userState);
}
- public bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
- return base.Channel.BuildHandAssociateTask(out Errtext, ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName);
+ public void ActionError(int DeviceIdx, int TaskIdx, int ErrId) {
+ base.Channel.ActionError(DeviceIdx, TaskIdx, ErrId);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState) {
- return base.Channel.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
+ public System.IAsyncResult BeginActionError(int DeviceIdx, int TaskIdx, int ErrId, System.AsyncCallback callback, object asyncState) {
+ return base.Channel.BeginActionError(DeviceIdx, TaskIdx, ErrId, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result) {
- return base.Channel.EndBuildHandAssociateTask(out Errtext, result);
+ public void EndActionError(System.IAsyncResult result) {
+ base.Channel.EndActionError(result);
}
- private System.IAsyncResult OnBeginBuildHandAssociateTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
- int ConveyorIndex = ((int)(inValues[0]));
- int ConveyorOrder = ((int)(inValues[1]));
- int RgvIndex = ((int)(inValues[2]));
- int RgvOrder = ((int)(inValues[3]));
- string RgvOrderName = ((string)(inValues[4]));
- return this.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
+ private System.IAsyncResult OnBeginActionError(object[] inValues, System.AsyncCallback callback, object asyncState) {
+ int DeviceIdx = ((int)(inValues[0]));
+ int TaskIdx = ((int)(inValues[1]));
+ int ErrId = ((int)(inValues[2]));
+ return this.BeginActionError(DeviceIdx, TaskIdx, ErrId, callback, asyncState);
}
- private object[] OnEndBuildHandAssociateTask(System.IAsyncResult result) {
- string Errtext = this.GetDefaultValueForInitialization();
- bool retVal = this.EndBuildHandAssociateTask(out Errtext, result);
- return new object[] {
- Errtext,
- retVal};
+ private object[] OnEndActionError(System.IAsyncResult result) {
+ this.EndActionError(result);
+ return null;
}
- private void OnBuildHandAssociateTaskCompleted(object state) {
- if ((this.BuildHandAssociateTaskCompleted != null)) {
+ private void OnActionErrorCompleted(object state) {
+ if ((this.ActionErrorCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
- this.BuildHandAssociateTaskCompleted(this, new BuildHandAssociateTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
+ this.ActionErrorCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
}
}
- public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
- this.BuildHandAssociateTaskAsync(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, null);
+ public void ActionErrorAsync(int DeviceIdx, int TaskIdx, int ErrId) {
+ this.ActionErrorAsync(DeviceIdx, TaskIdx, ErrId, null);
}
- public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, object userState) {
- if ((this.onBeginBuildHandAssociateTaskDelegate == null)) {
- this.onBeginBuildHandAssociateTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandAssociateTask);
+ public void ActionErrorAsync(int DeviceIdx, int TaskIdx, int ErrId, object userState) {
+ if ((this.onBeginActionErrorDelegate == null)) {
+ this.onBeginActionErrorDelegate = new BeginOperationDelegate(this.OnBeginActionError);
}
- if ((this.onEndBuildHandAssociateTaskDelegate == null)) {
- this.onEndBuildHandAssociateTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandAssociateTask);
+ if ((this.onEndActionErrorDelegate == null)) {
+ this.onEndActionErrorDelegate = new EndOperationDelegate(this.OnEndActionError);
}
- if ((this.onBuildHandAssociateTaskCompletedDelegate == null)) {
- this.onBuildHandAssociateTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandAssociateTaskCompleted);
+ if ((this.onActionErrorCompletedDelegate == null)) {
+ this.onActionErrorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnActionErrorCompleted);
}
- base.InvokeAsync(this.onBeginBuildHandAssociateTaskDelegate, new object[] {
- ConveyorIndex,
- ConveyorOrder,
- RgvIndex,
- RgvOrder,
- RgvOrderName}, this.onEndBuildHandAssociateTaskDelegate, this.onBuildHandAssociateTaskCompletedDelegate, userState);
+ base.InvokeAsync(this.onBeginActionErrorDelegate, new object[] {
+ DeviceIdx,
+ TaskIdx,
+ ErrId}, this.onEndActionErrorDelegate, this.onActionErrorCompletedDelegate, userState);
}
}
}
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/Reference.svcmap b/ControlMonitorClient/Service References/WcfControlMonitor/Reference.svcmap
index 05efb71..2e75673 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/Reference.svcmap
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/Reference.svcmap
@@ -1,5 +1,5 @@
-
+
true
true
@@ -18,16 +18,16 @@
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/System.Data1.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/System.Data.xsd
similarity index 100%
rename from ControlMonitorClient/Service References/WcfControlMonitor/System.Data1.xsd
rename to ControlMonitorClient/Service References/WcfControlMonitor/System.Data.xsd
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/System.Data11.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/System.Data11.xsd
deleted file mode 100644
index 8c8a3c0..0000000
--- a/ControlMonitorClient/Service References/WcfControlMonitor/System.Data11.xsd
+++ /dev/null
@@ -1,17 +0,0 @@
-锘
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/WcfControlMonitorLib.xsd b/ControlMonitorClient/Service References/WcfControlMonitor/WcfControlMonitorLib.xsd
index 0fa5628..f7e1c29 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/WcfControlMonitorLib.xsd
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/WcfControlMonitorLib.xsd
@@ -13,7 +13,7 @@
-
+
@@ -38,7 +38,7 @@
-
+
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/configuration.svcinfo b/ControlMonitorClient/Service References/WcfControlMonitor/configuration.svcinfo
index d126995..3853452 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/configuration.svcinfo
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/configuration.svcinfo
@@ -1,10 +1,10 @@
锘
-
+
-
+
-
+
\ No newline at end of file
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/configuration91.svcinfo b/ControlMonitorClient/Service References/WcfControlMonitor/configuration91.svcinfo
index 0f42da2..378e142 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/configuration91.svcinfo
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/configuration91.svcinfo
@@ -1,5 +1,5 @@
-
+
@@ -7,43 +7,43 @@
NetTcpBinding_IControlMonitor
- 00:01:00
+
- 00:01:00
+
- 00:10:00
+
- 00:01:00
+
-
+
False
-
+
Buffered
-
+
OleTransactions
-
+
StrongWildcard
-
- 10
+
+ 0
- 524288
+
-
+
65536
-
- 10
+
+ 0
- 65536
+
False
@@ -51,31 +51,31 @@
System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
-
- 32
+
+ 0
-
- 8192
+
+ 0
-
- 16384
+
+ 0
-
- 4096
+
+ 0
-
- 16384
+
+ 0
System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement
-
+
True
-
+
00:10:00
-
+
False
@@ -87,10 +87,10 @@
System.ServiceModel.Configuration.TcpTransportSecurityElement
-
+
Windows
-
+
EncryptAndSign
@@ -105,10 +105,13 @@
(闆嗗悎)
+
+ None
+
System.ServiceModel.Configuration.MessageSecurityOverTcpElement
-
+
Windows
@@ -118,10 +121,10 @@
-
+
- net.tcp://10.152.7.210:4522/
+ net.tcp://localhost:4524/
@@ -160,7 +163,7 @@
System.ServiceModel.Configuration.DnsElement
- 10.152.7.210
+ 127.0.0.1
System.ServiceModel.Configuration.RsaElement
diff --git a/ControlMonitorClient/Service References/WcfControlMonitor/service11.wsdl b/ControlMonitorClient/Service References/WcfControlMonitor/service.wsdl
similarity index 97%
rename from ControlMonitorClient/Service References/WcfControlMonitor/service11.wsdl
rename to ControlMonitorClient/Service References/WcfControlMonitor/service.wsdl
index a7647c3..daa25a7 100644
--- a/ControlMonitorClient/Service References/WcfControlMonitor/service11.wsdl
+++ b/ControlMonitorClient/Service References/WcfControlMonitor/service.wsdl
@@ -1,5 +1,5 @@
锘
-
+
@@ -15,130 +15,160 @@
+
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+