| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430 |
- using System;
- using System.Drawing;
- using System.ComponentModel;
- using System.Windows.Forms;
- using System.Collections;
- using System.Data;
- using System.Threading;
- using Core.Sglg.DataModel;
- using Core.Mes.ClientFrameWork;
- using Infragistics.Win.UltraWinGrid;
- namespace Core.Sglg.Client.JobOperationMgt.CCM_F
- {
- /// <summary>
- /// FrmQueryFCcmJob 的摘要说明。
- /// </summary>
- public class FrmQueryFCcmJob : FrmBase
- {
- #region " Construct "
- private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
- private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
- private Infragistics.Win.UltraWinDock.UltraDockManager ultraDockManager1;
- private Infragistics.Win.UltraWinDock.UnpinnedTabArea _FrmVodJobUnpinnedTabAreaLeft;
- private Infragistics.Win.UltraWinDock.UnpinnedTabArea _FrmVodJobUnpinnedTabAreaRight;
- private Infragistics.Win.UltraWinDock.UnpinnedTabArea _FrmVodJobUnpinnedTabAreaTop;
- private Infragistics.Win.UltraWinDock.UnpinnedTabArea _FrmVodJobUnpinnedTabAreaBottom;
- private Infragistics.Win.UltraWinDock.AutoHideControl _FrmVodJobAutoHideControl;
- private System.Windows.Forms.Panel panel1;
- private Infragistics.Win.UltraWinDock.WindowDockingArea windowDockingArea1;
- private Infragistics.Win.UltraWinDock.DockableWindow dockableWindow1;
- private UcFCcmMakingBill ucCcmMakingBill1;
- private UcFCcmMiddlepot ucCcmMiddlepot1;
- private UcFCcmTime ucCcmTime1;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
- private System.Windows.Forms.ImageList imageList2;
- private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
- private System.Windows.Forms.Splitter splitter1;
- private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
- private System.Windows.Forms.Splitter splitter3;
- private System.Windows.Forms.Panel panel2;
- private UcQueryFCcmWeight ucQueryFCcmWeight1;
- private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid3;
- private System.Windows.Forms.Splitter splitter4;
- private System.Windows.Forms.Panel panel3;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.DateTimePicker dateTimePicker2;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.DateTimePicker dateTimePicker1;
- private System.Windows.Forms.Panel panel4;
- private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2;
- private System.Windows.Forms.Splitter splitter2;
- private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
- private System.Windows.Forms.Panel panel5;
- private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid6;
- private System.ComponentModel.IContainer components;
- public FrmQueryFCcmJob(RemotingGate rg)
- {
- //
- // Windows 窗体设计器支持所必需的
- //
- InitializeComponent();
-
- //
- // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
- //
- }
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if(components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要使用代码编辑器修改
- /// 此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("OptionBar");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("1");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("2");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("3");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("4");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("5");
- Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("OptionBar2");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("6");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("7");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("8");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("9");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("1");
- Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("2");
- Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("3");
- Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("4");
- Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("5");
- Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("6");
- Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("7");
- Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("8");
- Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("9");
- Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
- System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmQueryFCcmJob));
- Infragistics.Win.UltraWinDock.DockAreaPane dockAreaPane1 = new Infragistics.Win.UltraWinDock.DockAreaPane(Infragistics.Win.UltraWinDock.DockedLocation.DockedRight, new System.Guid("85f24e5d-7917-4688-91e6-7707fc61e836"));
- Infragistics.Win.UltraWinDock.DockableControlPane dockableControlPane1 = new Infragistics.Win.UltraWinDock.DockableControlPane(new System.Guid("26933946-db98-4c4f-a668-4576aa3121cd"), new System.Guid("00000000-0000-0000-0000-000000000000"), -1, new System.Guid("85f24e5d-7917-4688-91e6-7707fc61e836"), -1);
- Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
- this.panel1 = new System.Windows.Forms.Panel();
- this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
- this.panel4 = new System.Windows.Forms.Panel();
- this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.panel3 = new System.Windows.Forms.Panel();
- this.label2 = new System.Windows.Forms.Label();
- this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
- this.label1 = new System.Windows.Forms.Label();
- this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
- this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
- this.imageList2 = new System.Windows.Forms.ImageList(this.components);
- this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
- this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
- this.ucQueryFCcmWeight1 = new Core.Sglg.Client.JobOperationMgt.CCM_F.UcQueryFCcmWeight();
- this.ucCcmTime1 = new Core.Sglg.Client.JobOperationMgt.CCM_F.UcFCcmTime();
- this.ucCcmMiddlepot1 = new Core.Sglg.Client.JobOperationMgt.CCM_F.UcFCcmMiddlepot();
- this.ucCcmMakingBill1 = new Core.Sglg.Client.JobOperationMgt.CCM_F.UcFCcmMakingBill();
- this.ultraDockManager1 = new Infragistics.Win.UltraWinDock.UltraDockManager(this.components);
- this._FrmVodJobUnpinnedTabAreaLeft = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
- this._FrmVodJobUnpinnedTabAreaRight = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
- this._FrmVodJobUnpinnedTabAreaTop = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
- this._FrmVodJobUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
- this._FrmVodJobAutoHideControl = new Infragistics.Win.UltraWinDock.AutoHideControl();
- this.dockableWindow1 = new Infragistics.Win.UltraWinDock.DockableWindow();
- this.windowDockingArea1 = new Infragistics.Win.UltraWinDock.WindowDockingArea();
- this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
- this.splitter4 = new System.Windows.Forms.Splitter();
- this.panel2 = new System.Windows.Forms.Panel();
- this.ultraGrid3 = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.splitter3 = new System.Windows.Forms.Splitter();
- this.splitter1 = new System.Windows.Forms.Splitter();
- this.splitter2 = new System.Windows.Forms.Splitter();
- this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.panel5 = new System.Windows.Forms.Panel();
- this.ultraGrid6 = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
- this.ultraGroupBox2.SuspendLayout();
- this.panel4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
- this.panel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
- this.ultraExpandableGroupBox1.SuspendLayout();
- this.ultraExpandableGroupBoxPanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraDockManager1)).BeginInit();
- this._FrmVodJobAutoHideControl.SuspendLayout();
- this.dockableWindow1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
- this.ultraGroupBox1.SuspendLayout();
- this.panel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
- this.panel5.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid6)).BeginInit();
- this.SuspendLayout();
- //
- // panel1
- //
- this.panel1.Controls.Add(this.ultraGroupBox2);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
- this.panel1.Location = new System.Drawing.Point(0, 20);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(261, 593);
- this.panel1.TabIndex = 7;
- //
- // ultraGroupBox2
- //
- this.ultraGroupBox2.Controls.Add(this.panel4);
- this.ultraGroupBox2.Controls.Add(this.panel3);
- this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGroupBox2.Location = new System.Drawing.Point(0, 48);
- this.ultraGroupBox2.Name = "ultraGroupBox2";
- this.ultraGroupBox2.Size = new System.Drawing.Size(261, 545);
- this.ultraGroupBox2.SupportThemes = false;
- this.ultraGroupBox2.TabIndex = 4;
- this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2000;
- //
- // panel4
- //
- this.panel4.Controls.Add(this.ultraGrid2);
- this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel4.Location = new System.Drawing.Point(3, 90);
- this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(255, 452);
- this.panel4.TabIndex = 13;
- //
- // ultraGrid2
- //
- appearance1.BackColor = System.Drawing.SystemColors.Control;
- appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
- this.ultraGrid2.DisplayLayout.Appearance = appearance1;
- this.ultraGrid2.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
- this.ultraGrid2.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
- appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
- appearance2.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid2.DisplayLayout.GroupByBox.Appearance = appearance2;
- appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid2.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
- this.ultraGrid2.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
- appearance4.BackColor2 = System.Drawing.SystemColors.Control;
- appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid2.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
- this.ultraGrid2.DisplayLayout.MaxColScrollRegions = 1;
- this.ultraGrid2.DisplayLayout.MaxRowScrollRegions = 1;
- appearance5.BackColor = System.Drawing.SystemColors.Window;
- appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
- this.ultraGrid2.DisplayLayout.Override.ActiveCellAppearance = appearance5;
- appearance6.BackColor = System.Drawing.SystemColors.Highlight;
- appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
- this.ultraGrid2.DisplayLayout.Override.ActiveRowAppearance = appearance6;
- this.ultraGrid2.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.ultraGrid2.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- appearance7.BackColor = System.Drawing.SystemColors.Window;
- this.ultraGrid2.DisplayLayout.Override.CardAreaAppearance = appearance7;
- appearance8.BorderColor = System.Drawing.Color.Silver;
- appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
- this.ultraGrid2.DisplayLayout.Override.CellAppearance = appearance8;
- this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
- appearance9.BackColor = System.Drawing.SystemColors.Control;
- appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
- appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance9.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid2.DisplayLayout.Override.GroupByRowAppearance = appearance9;
- appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid2.DisplayLayout.Override.HeaderAppearance = appearance10;
- this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- appearance11.BackColor = System.Drawing.SystemColors.Window;
- appearance11.BorderColor = System.Drawing.Color.Silver;
- this.ultraGrid2.DisplayLayout.Override.RowAppearance = appearance11;
- this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
- this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- this.ultraGrid2.DisplayLayout.Override.RowSelectorStyle = Infragistics.Win.HeaderStyle.Standard;
- appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
- this.ultraGrid2.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
- this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
- this.ultraGrid2.Name = "ultraGrid2";
- this.ultraGrid2.Size = new System.Drawing.Size(255, 452);
- this.ultraGrid2.TabIndex = 12;
- this.ultraGrid2.Text = "ultraGrid2";
- this.ultraGrid2.AfterRowActivate += new System.EventHandler(this.ultraGrid2_AfterRowActivate);
- //
- // panel3
- //
- this.panel3.Controls.Add(this.label2);
- this.panel3.Controls.Add(this.dateTimePicker2);
- this.panel3.Controls.Add(this.label1);
- this.panel3.Controls.Add(this.dateTimePicker1);
- this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel3.Location = new System.Drawing.Point(3, 2);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(255, 88);
- this.panel3.TabIndex = 12;
- //
- // label2
- //
- this.label2.Location = new System.Drawing.Point(31, 51);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(70, 23);
- this.label2.TabIndex = 14;
- this.label2.Text = "结束时间:";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // dateTimePicker2
- //
- this.dateTimePicker2.Location = new System.Drawing.Point(103, 51);
- this.dateTimePicker2.Name = "dateTimePicker2";
- this.dateTimePicker2.Size = new System.Drawing.Size(120, 21);
- this.dateTimePicker2.TabIndex = 13;
- this.dateTimePicker2.CloseUp += new System.EventHandler(this.dateTimePicker2_CloseUp);
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(31, 19);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(70, 23);
- this.label1.TabIndex = 12;
- this.label1.Text = "开始时间:";
- this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // dateTimePicker1
- //
- this.dateTimePicker1.Location = new System.Drawing.Point(103, 19);
- this.dateTimePicker1.Name = "dateTimePicker1";
- this.dateTimePicker1.Size = new System.Drawing.Size(120, 21);
- this.dateTimePicker1.TabIndex = 11;
- //
- // _panel1_Toolbars_Dock_Area_Left
- //
- this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
- this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 48);
- this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
- this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 545);
- this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // ultraToolbarsManager1
- //
- appearance13.BackColor = System.Drawing.SystemColors.Control;
- this.ultraToolbarsManager1.Appearance = appearance13;
- this.ultraToolbarsManager1.DesignerFlags = 1;
- appearance14.BackColor = System.Drawing.SystemColors.Control;
- appearance14.ForeColor = System.Drawing.SystemColors.Control;
- this.ultraToolbarsManager1.DockAreaAppearance = appearance14;
- this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
- this.ultraToolbarsManager1.ImageListSmall = this.imageList2;
- this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
- this.ultraToolbarsManager1.ShowQuickCustomizeButton = false;
- ultraToolbar1.DockedColumn = 0;
- ultraToolbar1.DockedRow = 0;
- ultraToolbar1.Text = "OptionBar";
- ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
- buttonTool1,
- buttonTool2,
- buttonTool3,
- buttonTool4,
- buttonTool5});
- ultraToolbar2.DockedColumn = 0;
- ultraToolbar2.DockedRow = 1;
- ultraToolbar2.Text = "OptionBar2";
- ultraToolbar2.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
- buttonTool6,
- buttonTool7,
- buttonTool8,
- buttonTool9});
- this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
- ultraToolbar1,
- ultraToolbar2});
- appearance15.Image = 0;
- buttonTool10.SharedProps.AppearancesSmall.Appearance = appearance15;
- buttonTool10.SharedProps.Caption = "料斗装料";
- buttonTool10.SharedProps.ToolTipText = "料斗装料";
- appearance16.Image = 1;
- buttonTool11.SharedProps.AppearancesSmall.Appearance = appearance16;
- buttonTool11.SharedProps.Caption = "调度信息";
- buttonTool11.SharedProps.ToolTipText = "调度信息";
- appearance17.Image = 2;
- buttonTool12.SharedProps.AppearancesSmall.Appearance = appearance17;
- buttonTool12.SharedProps.Caption = "附注";
- buttonTool12.SharedProps.ToolTipText = "附注";
- appearance18.Image = 3;
- buttonTool13.SharedProps.AppearancesSmall.Appearance = appearance18;
- buttonTool13.SharedProps.Caption = "送钢流程卡";
- buttonTool13.SharedProps.ToolTipText = "送钢流程卡";
- appearance19.Image = 4;
- buttonTool14.SharedProps.AppearancesSmall.Appearance = appearance19;
- buttonTool14.SharedProps.Caption = "消息查询";
- buttonTool14.SharedProps.ToolTipText = "消息查询";
- appearance20.Image = 5;
- buttonTool15.SharedProps.AppearancesSmall.Appearance = appearance20;
- buttonTool15.SharedProps.Caption = "操作指针";
- buttonTool15.SharedProps.ToolTipText = "操作指针";
- appearance21.Image = 6;
- buttonTool16.SharedProps.AppearancesSmall.Appearance = appearance21;
- buttonTool16.SharedProps.Caption = "化学成分";
- buttonTool16.SharedProps.ToolTipText = "化学成分";
- appearance22.Image = 7;
- buttonTool17.SharedProps.AppearancesSmall.Appearance = appearance22;
- buttonTool17.SharedProps.Caption = "手投添加料";
- buttonTool17.SharedProps.ToolTipText = "手投添加料";
- appearance23.Image = 8;
- buttonTool18.SharedProps.AppearancesSmall.Appearance = appearance23;
- buttonTool18.SharedProps.Caption = "作业历史";
- buttonTool18.SharedProps.ToolTipText = "作业历史";
- this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
- buttonTool10,
- buttonTool11,
- buttonTool12,
- buttonTool13,
- buttonTool14,
- buttonTool15,
- buttonTool16,
- buttonTool17,
- buttonTool18});
- //
- // imageList2
- //
- this.imageList2.ImageSize = new System.Drawing.Size(16, 16);
- this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
- this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
- //
- // _panel1_Toolbars_Dock_Area_Right
- //
- this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
- this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(261, 48);
- this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
- this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 545);
- this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // _panel1_Toolbars_Dock_Area_Top
- //
- this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
- this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
- this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
- this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(261, 48);
- this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // _panel1_Toolbars_Dock_Area_Bottom
- //
- this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
- this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 593);
- this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
- this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(261, 0);
- this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // ultraExpandableGroupBox1
- //
- this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
- this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(851, 392);
- this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 0);
- this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
- this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(851, 360);
- this.ultraExpandableGroupBox1.SupportThemes = false;
- this.ultraExpandableGroupBox1.TabIndex = 0;
- this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2000;
- //
- // ultraExpandableGroupBoxPanel1
- //
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ucQueryFCcmWeight1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ucCcmTime1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ucCcmMiddlepot1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ucCcmMakingBill1);
- this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
- this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
- this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(845, 338);
- this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
- //
- // ucQueryFCcmWeight1
- //
- this.ucQueryFCcmWeight1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ucQueryFCcmWeight1.Location = new System.Drawing.Point(0, 202);
- this.ucQueryFCcmWeight1.Name = "ucQueryFCcmWeight1";
- this.ucQueryFCcmWeight1.Size = new System.Drawing.Size(845, 136);
- this.ucQueryFCcmWeight1.TabIndex = 5;
- //
- // ucCcmTime1
- //
- this.ucCcmTime1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ucCcmTime1.Location = new System.Drawing.Point(0, 118);
- this.ucCcmTime1.Name = "ucCcmTime1";
- this.ucCcmTime1.Size = new System.Drawing.Size(845, 84);
- this.ucCcmTime1.TabIndex = 2;
- //
- // ucCcmMiddlepot1
- //
- this.ucCcmMiddlepot1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ucCcmMiddlepot1.Location = new System.Drawing.Point(0, 86);
- this.ucCcmMiddlepot1.Name = "ucCcmMiddlepot1";
- this.ucCcmMiddlepot1.Size = new System.Drawing.Size(845, 32);
- this.ucCcmMiddlepot1.TabIndex = 1;
- //
- // ucCcmMakingBill1
- //
- this.ucCcmMakingBill1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ucCcmMakingBill1.Location = new System.Drawing.Point(0, 0);
- this.ucCcmMakingBill1.Name = "ucCcmMakingBill1";
- this.ucCcmMakingBill1.Size = new System.Drawing.Size(845, 86);
- this.ucCcmMakingBill1.TabIndex = 0;
- //
- // ultraDockManager1
- //
- dockableControlPane1.Control = this.panel1;
- dockableControlPane1.FlyoutSize = new System.Drawing.Size(261, -1);
- dockableControlPane1.OriginalControlBounds = new System.Drawing.Rectangle(592, 240, 200, 100);
- dockableControlPane1.Pinned = false;
- dockableControlPane1.Settings.AllowClose = Infragistics.Win.DefaultableBoolean.False;
- dockableControlPane1.Size = new System.Drawing.Size(100, 100);
- dockableControlPane1.Text = "控制面板";
- dockAreaPane1.Panes.AddRange(new Infragistics.Win.UltraWinDock.DockablePaneBase[] {
- dockableControlPane1});
- dockAreaPane1.Settings.AllowClose = Infragistics.Win.DefaultableBoolean.False;
- dockAreaPane1.Size = new System.Drawing.Size(193, 613);
- this.ultraDockManager1.DockAreas.AddRange(new Infragistics.Win.UltraWinDock.DockAreaPane[] {
- dockAreaPane1});
- this.ultraDockManager1.HostControl = this;
- this.ultraDockManager1.ShowCloseButton = false;
- //
- // _FrmVodJobUnpinnedTabAreaLeft
- //
- this._FrmVodJobUnpinnedTabAreaLeft.Dock = System.Windows.Forms.DockStyle.Left;
- this._FrmVodJobUnpinnedTabAreaLeft.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this._FrmVodJobUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 0);
- this._FrmVodJobUnpinnedTabAreaLeft.Name = "_FrmVodJobUnpinnedTabAreaLeft";
- this._FrmVodJobUnpinnedTabAreaLeft.Owner = this.ultraDockManager1;
- this._FrmVodJobUnpinnedTabAreaLeft.Size = new System.Drawing.Size(0, 589);
- this._FrmVodJobUnpinnedTabAreaLeft.TabIndex = 2;
- //
- // _FrmVodJobUnpinnedTabAreaRight
- //
- this._FrmVodJobUnpinnedTabAreaRight.Dock = System.Windows.Forms.DockStyle.Right;
- this._FrmVodJobUnpinnedTabAreaRight.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this._FrmVodJobUnpinnedTabAreaRight.Location = new System.Drawing.Point(851, 0);
- this._FrmVodJobUnpinnedTabAreaRight.Name = "_FrmVodJobUnpinnedTabAreaRight";
- this._FrmVodJobUnpinnedTabAreaRight.Owner = this.ultraDockManager1;
- this._FrmVodJobUnpinnedTabAreaRight.Size = new System.Drawing.Size(21, 589);
- this._FrmVodJobUnpinnedTabAreaRight.TabIndex = 3;
- //
- // _FrmVodJobUnpinnedTabAreaTop
- //
- this._FrmVodJobUnpinnedTabAreaTop.Dock = System.Windows.Forms.DockStyle.Top;
- this._FrmVodJobUnpinnedTabAreaTop.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this._FrmVodJobUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 0);
- this._FrmVodJobUnpinnedTabAreaTop.Name = "_FrmVodJobUnpinnedTabAreaTop";
- this._FrmVodJobUnpinnedTabAreaTop.Owner = this.ultraDockManager1;
- this._FrmVodJobUnpinnedTabAreaTop.Size = new System.Drawing.Size(851, 0);
- this._FrmVodJobUnpinnedTabAreaTop.TabIndex = 4;
- //
- // _FrmVodJobUnpinnedTabAreaBottom
- //
- this._FrmVodJobUnpinnedTabAreaBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
- this._FrmVodJobUnpinnedTabAreaBottom.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this._FrmVodJobUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 589);
- this._FrmVodJobUnpinnedTabAreaBottom.Name = "_FrmVodJobUnpinnedTabAreaBottom";
- this._FrmVodJobUnpinnedTabAreaBottom.Owner = this.ultraDockManager1;
- this._FrmVodJobUnpinnedTabAreaBottom.Size = new System.Drawing.Size(851, 0);
- this._FrmVodJobUnpinnedTabAreaBottom.TabIndex = 5;
- //
- // _FrmVodJobAutoHideControl
- //
- this._FrmVodJobAutoHideControl.Controls.Add(this.dockableWindow1);
- this._FrmVodJobAutoHideControl.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this._FrmVodJobAutoHideControl.Location = new System.Drawing.Point(835, 0);
- this._FrmVodJobAutoHideControl.Name = "_FrmVodJobAutoHideControl";
- this._FrmVodJobAutoHideControl.Owner = this.ultraDockManager1;
- this._FrmVodJobAutoHideControl.Size = new System.Drawing.Size(16, 613);
- this._FrmVodJobAutoHideControl.TabIndex = 6;
- //
- // dockableWindow1
- //
- this.dockableWindow1.Controls.Add(this.panel1);
- this.dockableWindow1.Location = new System.Drawing.Point(5, 0);
- this.dockableWindow1.Name = "dockableWindow1";
- this.dockableWindow1.Owner = this.ultraDockManager1;
- this.dockableWindow1.Size = new System.Drawing.Size(261, 613);
- this.dockableWindow1.TabIndex = 0;
- //
- // windowDockingArea1
- //
- this.windowDockingArea1.Dock = System.Windows.Forms.DockStyle.Right;
- this.windowDockingArea1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
- this.windowDockingArea1.Location = new System.Drawing.Point(653, 0);
- this.windowDockingArea1.Name = "windowDockingArea1";
- this.windowDockingArea1.Owner = this.ultraDockManager1;
- this.windowDockingArea1.Size = new System.Drawing.Size(198, 613);
- this.windowDockingArea1.TabIndex = 8;
- //
- // ultraGroupBox1
- //
- this.ultraGroupBox1.ContentPadding.Top = 4;
- this.ultraGroupBox1.Controls.Add(this.panel5);
- this.ultraGroupBox1.Controls.Add(this.splitter4);
- this.ultraGroupBox1.Controls.Add(this.panel2);
- this.ultraGroupBox1.Controls.Add(this.splitter3);
- this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGroupBox1.Location = new System.Drawing.Point(0, 363);
- this.ultraGroupBox1.Name = "ultraGroupBox1";
- this.ultraGroupBox1.Size = new System.Drawing.Size(851, 226);
- this.ultraGroupBox1.SupportThemes = false;
- this.ultraGroupBox1.TabIndex = 11;
- this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2000;
- //
- // splitter4
- //
- this.splitter4.Dock = System.Windows.Forms.DockStyle.Right;
- this.splitter4.Location = new System.Drawing.Point(442, 6);
- this.splitter4.Name = "splitter4";
- this.splitter4.Size = new System.Drawing.Size(3, 217);
- this.splitter4.TabIndex = 3;
- this.splitter4.TabStop = false;
- //
- // panel2
- //
- this.panel2.Controls.Add(this.ultraGrid1);
- this.panel2.Controls.Add(this.splitter2);
- this.panel2.Controls.Add(this.ultraGrid3);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel2.Location = new System.Drawing.Point(445, 6);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(400, 217);
- this.panel2.TabIndex = 2;
- //
- // ultraGrid3
- //
- this.ultraGrid3.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
- appearance24.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid3.DisplayLayout.CaptionAppearance = appearance24;
- this.ultraGrid3.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.ultraGrid3.Dock = System.Windows.Forms.DockStyle.Top;
- this.ultraGrid3.Location = new System.Drawing.Point(0, 0);
- this.ultraGrid3.Name = "ultraGrid3";
- this.ultraGrid3.Size = new System.Drawing.Size(400, 112);
- this.ultraGrid3.TabIndex = 3;
- this.ultraGrid3.Text = "采样信息";
- //
- // splitter3
- //
- this.splitter3.Dock = System.Windows.Forms.DockStyle.Right;
- this.splitter3.Location = new System.Drawing.Point(845, 6);
- this.splitter3.Name = "splitter3";
- this.splitter3.Size = new System.Drawing.Size(3, 217);
- this.splitter3.TabIndex = 1;
- this.splitter3.TabStop = false;
- //
- // splitter1
- //
- this.splitter1.Dock = System.Windows.Forms.DockStyle.Top;
- this.splitter1.Location = new System.Drawing.Point(0, 360);
- this.splitter1.Name = "splitter1";
- this.splitter1.Size = new System.Drawing.Size(851, 3);
- this.splitter1.TabIndex = 12;
- this.splitter1.TabStop = false;
- //
- // splitter2
- //
- this.splitter2.Dock = System.Windows.Forms.DockStyle.Top;
- this.splitter2.Location = new System.Drawing.Point(0, 112);
- this.splitter2.Name = "splitter2";
- this.splitter2.Size = new System.Drawing.Size(400, 3);
- this.splitter2.TabIndex = 5;
- this.splitter2.TabStop = false;
- //
- // ultraGrid1
- //
- appearance25.BackColor = System.Drawing.SystemColors.Control;
- appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
- this.ultraGrid1.DisplayLayout.Appearance = appearance25;
- this.ultraGrid1.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
- this.ultraGrid1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- appearance26.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid1.DisplayLayout.CaptionAppearance = appearance26;
- this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
- appearance27.BackColor = System.Drawing.SystemColors.ActiveBorder;
- appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
- appearance27.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance27;
- appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance28;
- this.ultraGrid1.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
- appearance29.BackColor = System.Drawing.SystemColors.ControlLightLight;
- appearance29.BackColor2 = System.Drawing.SystemColors.Control;
- appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance29.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid1.DisplayLayout.GroupByBox.PromptAppearance = appearance29;
- this.ultraGrid1.DisplayLayout.MaxColScrollRegions = 1;
- this.ultraGrid1.DisplayLayout.MaxRowScrollRegions = 1;
- appearance30.BackColor = System.Drawing.SystemColors.Window;
- appearance30.ForeColor = System.Drawing.SystemColors.ControlText;
- this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance30;
- appearance31.BackColor = System.Drawing.SystemColors.Highlight;
- appearance31.ForeColor = System.Drawing.SystemColors.HighlightText;
- this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance31;
- this.ultraGrid1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.ultraGrid1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- appearance32.BackColor = System.Drawing.SystemColors.Window;
- this.ultraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance32;
- appearance33.BorderColor = System.Drawing.Color.Silver;
- appearance33.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
- this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance33;
- this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
- appearance34.BackColor = System.Drawing.SystemColors.Control;
- appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
- appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance34.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance34;
- appearance35.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance35;
- this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- appearance36.BackColor = System.Drawing.SystemColors.Window;
- appearance36.BorderColor = System.Drawing.Color.Silver;
- this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance36;
- this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- appearance37.BackColor = System.Drawing.SystemColors.ControlLight;
- this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance37;
- this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGrid1.Location = new System.Drawing.Point(0, 115);
- this.ultraGrid1.Name = "ultraGrid1";
- this.ultraGrid1.Size = new System.Drawing.Size(400, 102);
- this.ultraGrid1.TabIndex = 6;
- this.ultraGrid1.Text = "温度";
- //
- // panel5
- //
- this.panel5.Controls.Add(this.ultraGrid6);
- this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel5.Location = new System.Drawing.Point(3, 6);
- this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(439, 217);
- this.panel5.TabIndex = 4;
- //
- // ultraGrid6
- //
- appearance38.BackColor = System.Drawing.SystemColors.Control;
- appearance38.BorderColor = System.Drawing.SystemColors.InactiveCaption;
- this.ultraGrid6.DisplayLayout.Appearance = appearance38;
- this.ultraGrid6.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- appearance39.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid6.DisplayLayout.CaptionAppearance = appearance39;
- appearance40.BackColor = System.Drawing.SystemColors.ActiveBorder;
- appearance40.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
- appearance40.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid6.DisplayLayout.GroupByBox.Appearance = appearance40;
- appearance41.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid6.DisplayLayout.GroupByBox.BandLabelAppearance = appearance41;
- this.ultraGrid6.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.ultraGrid6.DisplayLayout.GroupByBox.Hidden = true;
- appearance42.BackColor = System.Drawing.SystemColors.ControlLightLight;
- appearance42.BackColor2 = System.Drawing.SystemColors.Control;
- appearance42.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance42.ForeColor = System.Drawing.SystemColors.GrayText;
- this.ultraGrid6.DisplayLayout.GroupByBox.PromptAppearance = appearance42;
- this.ultraGrid6.DisplayLayout.MaxColScrollRegions = 1;
- this.ultraGrid6.DisplayLayout.MaxRowScrollRegions = 1;
- appearance43.BackColor = System.Drawing.SystemColors.Window;
- appearance43.ForeColor = System.Drawing.SystemColors.ControlText;
- this.ultraGrid6.DisplayLayout.Override.ActiveCellAppearance = appearance43;
- appearance44.BackColor = System.Drawing.SystemColors.Highlight;
- appearance44.ForeColor = System.Drawing.SystemColors.HighlightText;
- this.ultraGrid6.DisplayLayout.Override.ActiveRowAppearance = appearance44;
- this.ultraGrid6.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.ultraGrid6.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- appearance45.BackColor = System.Drawing.SystemColors.Window;
- this.ultraGrid6.DisplayLayout.Override.CardAreaAppearance = appearance45;
- appearance46.BorderColor = System.Drawing.Color.Silver;
- appearance46.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
- this.ultraGrid6.DisplayLayout.Override.CellAppearance = appearance46;
- this.ultraGrid6.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.ultraGrid6.DisplayLayout.Override.CellPadding = 0;
- appearance47.BackColor = System.Drawing.SystemColors.Control;
- appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance47.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
- appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance47.BorderColor = System.Drawing.SystemColors.Window;
- this.ultraGrid6.DisplayLayout.Override.GroupByRowAppearance = appearance47;
- appearance48.TextHAlign = Infragistics.Win.HAlign.Left;
- this.ultraGrid6.DisplayLayout.Override.HeaderAppearance = appearance48;
- this.ultraGrid6.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.ultraGrid6.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- appearance49.BackColor = System.Drawing.SystemColors.Window;
- appearance49.BorderColor = System.Drawing.Color.Silver;
- this.ultraGrid6.DisplayLayout.Override.RowAppearance = appearance49;
- this.ultraGrid6.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.ultraGrid6.DisplayLayout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.None;
- this.ultraGrid6.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.None;
- appearance50.BackColor = System.Drawing.SystemColors.ControlLight;
- this.ultraGrid6.DisplayLayout.Override.TemplateAddRowAppearance = appearance50;
- this.ultraGrid6.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.ultraGrid6.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.ultraGrid6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGrid6.Location = new System.Drawing.Point(0, 0);
- this.ultraGrid6.Name = "ultraGrid6";
- this.ultraGrid6.Size = new System.Drawing.Size(439, 217);
- this.ultraGrid6.TabIndex = 2;
- this.ultraGrid6.Text = "化学成分";
- //
- // FrmQueryFCcmJob
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
- this.ClientSize = new System.Drawing.Size(872, 589);
- this.Controls.Add(this._FrmVodJobAutoHideControl);
- this.Controls.Add(this.ultraGroupBox1);
- this.Controls.Add(this.splitter1);
- this.Controls.Add(this.ultraExpandableGroupBox1);
- this.Controls.Add(this.windowDockingArea1);
- this.Controls.Add(this._FrmVodJobUnpinnedTabAreaTop);
- this.Controls.Add(this._FrmVodJobUnpinnedTabAreaBottom);
- this.Controls.Add(this._FrmVodJobUnpinnedTabAreaLeft);
- this.Controls.Add(this._FrmVodJobUnpinnedTabAreaRight);
- this.Name = "FrmQueryFCcmJob";
- this.Text = "方坯连铸历史作业";
- this.Load += new System.EventHandler(this.FrmVodJob_Load);
- this.panel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
- this.ultraGroupBox2.ResumeLayout(false);
- this.panel4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
- this.panel3.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
- this.ultraExpandableGroupBox1.ResumeLayout(false);
- this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraDockManager1)).EndInit();
- this._FrmVodJobAutoHideControl.ResumeLayout(false);
- this.dockableWindow1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
- this.ultraGroupBox1.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
- this.panel5.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid6)).EndInit();
- this.ResumeLayout(false);
- }
- #endregion
- #endregion
- #region " Init "
- private void FrmVodJob_Load(object sender, System.EventArgs e)
- {
- try
- {
- //初始化顶端所用链表
- initArrayList();
- //创建Grid所用表
- createTable();
- //绑定
- dataBind();
- }
- catch(Exception ex)
- {
- throw(ex);
- }
- }
- //初始化顶端所用链表函数
- private void initArrayList()
- {
- //makingBillArray,crystallorArray,ccmTimeArray,ccmWeightArray,middlePotArray
- RealValueInfo realValueInfo;
- cryMateriaArray=new System.Collections.ArrayList();
- realValueInfo=new RealValueInfo();
- realValueInfo.CraftID="CrastallorName";
- cryMateriaArray.Add(realValueInfo);
- realValueInfo=new RealValueInfo();
- realValueInfo.CraftID="CrastallorWeight";
- cryMateriaArray.Add(realValueInfo);
- realValueInfo=new RealValueInfo();
- realValueInfo.CraftID="MidPotName";
- cryMateriaArray.Add(realValueInfo);
- realValueInfo=new RealValueInfo();
- realValueInfo.CraftID="MidPotWeight";
- cryMateriaArray.Add(realValueInfo);
-
- }
- //创建Grid所用表函数
- private void createTable()
- {
- //化学成分对应表
- elementTable = new DataTable("elementTable");
- DataColumn myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="成分名";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="标准指标";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="内控指标";
- elementTable.Columns.Add(myDataColumn);
-
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="转炉终点值";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="吹氩站氩后";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="精练站氩后";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="成品样";
- elementTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="目标值";
- elementTable.Columns.Add(myDataColumn);
- try
- {
- string err = "";
- string strWhere = "order by ID";
- object obj = RemotingHelp.ExecuteMethod("JobOraDal", "Core.Xglg0.JobOraDal", "Core.Xglg0.JobOraDal.CraftInfoElement", "SelectToDataSet", new object[] {strWhere}, out err);
- if(obj != null)
- {
- DataSet dset = (DataSet)obj;
- for(int i=0; i<dset.Tables[0].Rows.Count; i++)
- {
- elementTable.Rows.Add(new object[] {dset.Tables[0].Rows[i]["NAME"].ToString(), "", "", "", "", "", "", ""});
- }
- }
- }
- catch(Exception ex)
- {
- throw(new Exception(ex.Message));
- }
-
- //温度对应表
- temperatureTable=new DataTable("temperatureTable");
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="项目名";
- temperatureTable.Columns.Add(myDataColumn);
-
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="设定范围";
- temperatureTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="实际值";
- temperatureTable.Columns.Add(myDataColumn);
- //采样对应表
- samplingTable=new DataTable("samplingTable");
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="序号";
- samplingTable.Columns.Add(myDataColumn);
-
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="结晶器水压力";
- samplingTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="二冷水压力";
- samplingTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="设备进水压力";
- samplingTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="设备出水压力";
- samplingTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="中包温度";
- samplingTable.Columns.Add(myDataColumn);
- myDataColumn=new DataColumn();
- myDataColumn.DataType=System.Type.GetType("System.String");
- myDataColumn.ColumnName="采样时间";
- samplingTable.Columns.Add(myDataColumn);
-
- }
-
- //表格绑定
- private void dataBind()
- {
- try
- {
- this.ultraGrid6.DataSource=elementTable;
- this.ultraGrid1.DataSource=temperatureTable;
- this.ultraGrid3.DataSource=samplingTable;
- }
- catch(Exception ex)
- {
- throw(ex);
- }
- }
-
- #endregion
-
- #region 刷新顶端数据函数
- private delegate void SetDataHandle(ArrayList arylst);
- private void freshTitleData(string heatProcessNumb)
- {
- try
- {
- string err = "";
- string strCcm = "CCM0"+ccmNumb.ToString();
- Object obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "getTitleArrayList", new object[] {strCcm,heatProcessNumb}, out err);
- if(obj != null)
- {
- ArrayList titleArrayList=(ArrayList)obj;
- if(!this.ucCcmMakingBill1.InvokeRequired)
- {
- this.ucCcmMakingBill1.SetData(titleArrayList);
- }
- else
- {
- this.ucCcmMakingBill1.BeginInvoke(new SetDataHandle(this.ucCcmMakingBill1.SetData), new object[] {titleArrayList});
- }
- if(!this.ucCcmMiddlepot1.InvokeRequired)
- {
- this.ucCcmMiddlepot1.SetData(titleArrayList);
- }
- else
- {
- this.ucCcmMiddlepot1.BeginInvoke(new SetDataHandle(this.ucCcmMiddlepot1.SetData), new object[] {titleArrayList});
- }
-
- if(!this.ucCcmTime1.InvokeRequired)
- {
- this.ucCcmTime1.SetData(titleArrayList);
- }
- else
- {
- this.ucCcmTime1.BeginInvoke(new SetDataHandle(this.ucCcmTime1.SetData), new object[] {titleArrayList});
- }
- if(!this.ucQueryFCcmWeight1.InvokeRequired)
- {
-
- this.ucQueryFCcmWeight1.SetData(titleArrayList);
- }
- else
- {
- this.ucQueryFCcmWeight1.BeginInvoke(new SetDataHandle(this.ucQueryFCcmWeight1.SetData), new object[] {titleArrayList});
- }
- }
- }
- catch(Exception ex)
- {
- Console.WriteLine(ex.Message);
- }
- }
- #endregion
- #region 刷新Grid数据函数
- //Grid行处理
- private void ResetTableRows(ref DataTable ATable, int newRowsCount)
- {
- int arows = Math.Abs(ATable.Rows.Count - newRowsCount);
- string [] sTmp = new string[ATable.Columns.Count];
- if(ATable.Rows.Count < newRowsCount)
- {
- for(int i=0; i<arows; i++)
- ATable.Rows.Add(sTmp);
- }
- else
- {
- for(int i=0; i<arows; i++)
- ATable.Rows[i].Delete();
- }
- }
- private void freshGridData(string heatProcessNumb)
- {
- try
- {
- string err = "";
- string strCcm = "CCM0"+ccmNumb.ToString();
- object obj;
- if(heatProcessNumb != string.Empty)
- {
- obj=this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "getStandardElementsArrayList", new object[] {heatProcessNumb}, out err);
- if(obj != null)
- {
-
- CraftParamSimplifyInfo craftParamInfo;
- Hashtable ahash = (Hashtable)obj;
- ArrayList aryStandard = (ArrayList)ahash[0];
- for(int i=0; i<aryStandard.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryStandard[i];
-
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["标准指标"] = craftParamInfo.standardInfo.CraftRange;
- break;
- }
- }
- }//国标
- ArrayList aryInternal = (ArrayList)ahash[1];
- for(int i=0; i<aryInternal.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryInternal[i];
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["内控指标"] = craftParamInfo.standardInfo.CraftRange;
- break;
- }
- }
- }//内控
- ArrayList aryTarget = (ArrayList)ahash[3];
- for(int i=0; i<aryTarget.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryTarget[i];
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["目标值"] = craftParamInfo.standardInfo.CraftRange;
- break;
- }
- }
- }
- }//目标值
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "GetCasSecondElementArray", new object[] {heatProcessNumb,"CP"}, out err);
- if(obj != null)
- {
- CraftParamSimplifyInfo craftParamInfo;
- ArrayList aryCasAftAr = (ArrayList)obj;
- for(int i=0; i<aryCasAftAr.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryCasAftAr[i];
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["吹氩站氩后"] = craftParamInfo.realValueInfo.strRealValue;
- break;
- }
- }
- }
- }// CAS氩后
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "GetLfsSecondElementArray", new object[] {heatProcessNumb,"CP"}, out err);
- if(obj != null)
- {
- CraftParamSimplifyInfo craftParamInfo;
- ArrayList aryCasAftAr = (ArrayList)obj;
- for(int i=0; i<aryCasAftAr.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryCasAftAr[i];
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["精练站氩后"] = craftParamInfo.realValueInfo.strRealValue;
- break;
- }
- }
- }
- } //精练氩后
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "GetCcmFirstElementArray", new object[] {heatProcessNumb,"CP"}, out err);
- if(obj != null)
- {
- CraftParamSimplifyInfo craftParamInfo;
- ArrayList aryCasAftAr = (ArrayList)obj;
- for(int i=0; i<aryCasAftAr.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryCasAftAr[i];
- for(int j=0; j<elementTable.Rows.Count; j++)
- {
- if(elementTable.Rows[j]["成分名"].ToString() == craftParamInfo.standardInfo.CraftName)
- {
- elementTable.Rows[j]["成品样"] = craftParamInfo.realValueInfo.strRealValue;
- break;
- }
- }
- }
- }// 成品样
- this.ultraGrid6.DataSource=elementTable;
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "getTemperatureArrayList", new object[] {strCcm,heatProcessNumb}, out err);
- if(obj != null)
- {
- CraftParamSimplifyInfo craftParamInfo;
- ArrayList aryTemperature = (ArrayList)obj;
- ResetTableRows(ref temperatureTable,aryTemperature.Count);
- for(int i=0; i<aryTemperature.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryTemperature[i];
- temperatureTable.Rows[i]["项目名"] = craftParamInfo.standardInfo.ParamName;
- temperatureTable.Rows[i]["设定范围"] = craftParamInfo.standardInfo.CraftRange;
- temperatureTable.Rows[i]["实际值"] = craftParamInfo.realValueInfo.strRealValue;
- }
- }//温度
- this.ultraGrid1.DataSource=temperatureTable;
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "getMaterialArrayList", new object[] {strCcm,heatProcessNumb}, out err);
- if(obj != null)
- {
- CraftParamSimplifyInfo craftParamInfo;
- ArrayList aryMaterial = (ArrayList)obj;
- for(int i=0; i<aryMaterial.Count; i++)
- {
- craftParamInfo = (CraftParamSimplifyInfo)aryMaterial[i];
- if(craftParamInfo.standardInfo.CraftType=="08")
- {
- ((RealValueInfo)cryMateriaArray[0]).strRealValue=craftParamInfo.standardInfo.ParamName;
- ((RealValueInfo)cryMateriaArray[1]).strRealValue=craftParamInfo.realValueInfo.strRealValue;
- }
- if(craftParamInfo.standardInfo.CraftType=="09")
- {
- ((RealValueInfo)cryMateriaArray[2]).strRealValue=craftParamInfo.standardInfo.ParamName;
- ((RealValueInfo)cryMateriaArray[3]).strRealValue=craftParamInfo.realValueInfo.strRealValue;
- }
- }
-
- if(!this.ucQueryFCcmWeight1.InvokeRequired)
- {
- this.ucQueryFCcmWeight1.SetData(cryMateriaArray);
- }
- else
- {
- this.ucQueryFCcmWeight1.SetData(cryMateriaArray);
- this.ucQueryFCcmWeight1.BeginInvoke(new SetDataHandle(this.ucQueryFCcmWeight1.SetData), new object[] {cryMateriaArray});
- }
-
- }//物料
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "readSampling", new object[] {"CCMF",heatProcessNumb}, out err);
- if(obj != null)
- {
- DataTable dt;
- DataSet ds=(DataSet)obj;
- if(ds.Tables.Count>0)
- {
- dt=ds.Tables[0];
- ResetTableRows(ref samplingTable,dt.Rows.Count);
- for(int i=0;i<dt.Rows.Count;i++)
- {
- samplingTable.Rows[i]["序号"]=i+1;
- samplingTable.Rows[i]["结晶器水压力"]=dt.Rows[i][1].ToString();
- samplingTable.Rows[i]["二冷水压力"]=dt.Rows[i][2].ToString();
- samplingTable.Rows[i]["设备进水压力"]=dt.Rows[i][3].ToString();
- samplingTable.Rows[i]["设备出水压力"]=dt.Rows[i][4].ToString();
- samplingTable.Rows[i]["中包温度"]=dt.Rows[i][5].ToString();
- samplingTable.Rows[i]["采样时间"]=dt.Rows[i][6].ToString();
- }
- }
- this.ultraGrid3.DataSource=samplingTable;//采样表
- }
- }
- }
- catch(Exception ex)
- {
- Console.WriteLine(ex.Message);
- }
- }
-
- //获取熔炼号函数
- private string getSmeltingID(string heatProcessNumb)
- {
- heatProcessNumb=heatProcessNumb.Trim();
- string subStr=heatProcessNumb.Substring(heatProcessNumb.Length-8);
- return subStr;
- }
- #endregion
-
- #region 事件
- //查询结束
- private void dateTimePicker2_CloseUp(object sender, System.EventArgs e)
- {
- DateTime startTime=this.dateTimePicker1.Value;
- DateTime endTime=this.dateTimePicker2.Value;
- int valide=DateTime.Compare(startTime,endTime);
- if(valide>=0)
- {
- MessageBox.Show("时间选择错误!","提示");
- return ;
- }
-
- string err = "";
- string strCcm = "CCM0";
- Object obj=null ;
- if(this.RemotingHelp!=null)
- {
- obj = this.RemotingHelp.ExecuteMethod("HistrCraft", "Core.Xglg0.HistrCraft", "Core.Xglg0.HistrCraft.ReadDataClass", "readPlanExec", new object[] {startTime,endTime,strCcm}, out err);
- }
-
- if(obj!=null)
- {
- this.ultraGrid2.DataSource=(DataSet)obj;
- ultraGrid2.DisplayLayout.Bands[0].Columns[1].Hidden=true;
- }
- }
- private void ultraGrid2_AfterRowActivate(object sender, System.EventArgs e)
- {
- UltraGridRow gridRow=this.ultraGrid2.ActiveRow;
- string heatProcNo="";
- if(gridRow!=null)
- {
- heatProcNo=gridRow.Cells[1].Value.ToString();
- if(heatProcNo.Length>=12)
- {
- freshTitleData(heatProcNo);//刷新顶端数据
- freshGridData(heatProcNo);
- }
- }
- }
- #endregion
- #region 成员变量
- //对应表
- DataTable elementTable,temperatureTable,samplingTable;
- //连铸机号
- int ccmNumb=3;
-
- //顶端数据所用链表
- System.Collections.ArrayList cryMateriaArray;
- #endregion
-
-
- }
- }
|