public BufferOper_POST_EU_LIST_INVERT_MX(WebReference.MXPlace Place, string RZDN, WebReference.Relmuch[] label) { this.label = label; this.Rzdn = RZDN; this.Place = Place; TimeOperation = DateTime.Now; }
public void ReInitMX(string MX) { listEU = new List <WebReference.Relmuch>(); _tblEU = InitTable(); this.labelPlace = MX; CMxPlace = new DataBarCode.WebReference.MXPlace(); CMxPlace.LABEL = MX; CMxPlace.CODEAUTOMATIC = 5; labelCountScan.BeginInvoke(new Action(() => { labelCountScan.Text = "0"; })); dataGridEu.BeginInvoke(new Action(() => { dataGridEu.DataSource = _tblEU; })); labelMX.BeginInvoke(new Action(() => { labelMX.Text = MX; })); labelMXMore.BeginInvoke(new Action(() => { labelMXMore.Text = SqlLiteQuery.GetNameMX(MX); })); }
/// <remarks/> public System.IAsyncResult BeginPOST_EU_IN_AGR_TYPE(Relmuch[] listEU, MXPlace Agr, System.Nullable <System.DateTime> TimeOperation, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("POST_EU_IN_AGR_TYPE", new object[] { listEU, Agr, TimeOperation }, callback, asyncState)); }
public System.Data.DataTable POST_EU_IN_AGR_TYPE(Relmuch[] listEU, MXPlace Agr, [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] System.Nullable <System.DateTime> TimeOperation) { object[] results = this.Invoke("POST_EU_IN_AGR_TYPE", new object[] { listEU, Agr, TimeOperation }); return((System.Data.DataTable)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginPOST_EU_LIST_INVERT_MX_TYPE(Relmuch[] listEU, string RZDN, MXPlace MX_LABEL, System.Nullable <System.DateTime> TimeOperation, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("POST_EU_LIST_INVERT_MX_TYPE", new object[] { listEU, RZDN, MX_LABEL, TimeOperation }, callback, asyncState)); }
public System.Data.DataTable POST_EU_LIST_INVERT_MX_TYPE(Relmuch[] listEU, string RZDN, MXPlace MX_LABEL, [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] System.Nullable <System.DateTime> TimeOperation) { object[] results = this.Invoke("POST_EU_LIST_INVERT_MX_TYPE", new object[] { listEU, RZDN, MX_LABEL, TimeOperation }); return((System.Data.DataTable)(results[0])); }
public BufferOper_POST_EU_IN_AGR(WebReference.MXPlace Agr, WebReference.Relmuch[] label) { this.label = label; this.Agr = Agr; TimeOperation = DateTime.Now; }
public BufferOper_POST_EU_LIST_TASKMOVE(WebReference.MXPlace Place, WebReference.Relmuch[] label) { this.label = label; this.Place = Place; TimeOperation = DateTime.Now; }
public WarehousePost(Intermec.DataCollection.BarcodeReader _bcr, string LabelPlace, ListScanOperation _ScanOperation, int MxCodeAutomation) { InitializeComponent(); FormActive = true; set = new Settings("DataBrCode.xml"); ScanOperation = _ScanOperation; listEU = new List <WebReference.Relmuch>(); bcr = _bcr; this.labelPlace = LabelPlace; _tblEU = InitTable(); CreateColumn("УЕ", "УЕ", 180, 0); CreateColumn("Марка", "Марка", 120, 1); CreateColumn("Вес", "Вес", 100, 2); CreateColumn("Размер", "Размер", 140, 3); CreateColumn("Label", "Label", 400, 4); dataGridEu.DataSource = _tblEU; InitScaner(); labelMX.Text = LabelPlace; //Выгрузим подробную инфу по месту хранения //labelMXMore.Text = getValueDataTableColumnRow(_TblWarehouse, "TEHUZ_LABEL", LabelPlace, "TEHUZ_NAME"); labelMXMore.Text = SqlLiteQuery.GetNameMX(LabelPlace); CMxPlace = new DataBarCode.WebReference.MXPlace(); CMxPlace.LABEL = LabelPlace; CMxPlace.CODEAUTOMATIC = MxCodeAutomation; //Тут правим лейбл string StatusBD = "БД: " + SqLiteDB.UpdateDateTime + ". Операции: " + BufferToBD.CountBuffer; labelBD.BeginInvoke(new Action(() => { labelBD.Text = StatusBD; })); this.KeyPreview = true; switch (ScanOperation) { case ListScanOperation.MXSet: { this.Text = "Размещение ЕУ"; break; } case ListScanOperation.EUTaskMove: { this.Text = "Перемещение ЕУ"; break; } case ListScanOperation.EuInAgr: { this.Text = "ЕУ в агрегат"; break; } case ListScanOperation.EuInAgrTESA: { this.Text = "ЕУ в агрегат ТЭСА"; addManualFirst = true; break; } case ListScanOperation.InventoryTask: { this.Text = "Инвентаризация МХ: " + labelMXMore.Text; break; } } labelCountScan.Text = "0"; }