87254507c1bfcaf78dbaf20a4c8220277c8f315b.svn-base 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625
  1. using System;
  2. using System.Collections;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Windows.Forms;
  7. namespace Core.XgMes.Client.JGKC.SteelPlateManager
  8. {
  9. /// <summary>
  10. /// 中板成品发运综合查询统计
  11. /// </summary>
  12. public class UCSendStat : System.Windows.Forms.UserControl
  13. {
  14. #region "Varible"
  15. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatInceName;
  16. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatStation;
  17. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatListCoding;
  18. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSteel;
  19. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatVecihleNO;
  20. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPactNO;
  21. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPlanNO;
  22. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatRollNO;
  23. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatClassTeam;
  24. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatBilletID;
  25. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatRole;
  26. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatResult;
  27. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSendDate;
  28. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSpet;
  29. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSendMan;
  30. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatBookInMan;
  31. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatBookInDate;
  32. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatOrder;
  33. #endregion
  34. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatCondole;
  35. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
  36. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CutState;
  37. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SendNo;
  38. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Butress;
  39. /// <summary>
  40. /// 必需的设计器变量。
  41. /// </summary>
  42. private System.ComponentModel.Container components = null;
  43. public UCSendStat()
  44. {
  45. // 该调用是 Windows.Forms 窗体设计器所必需的。
  46. InitializeComponent();
  47. // TODO: 在 InitializeComponent 调用后添加任何初始化
  48. }
  49. /// <summary>
  50. /// 清理所有正在使用的资源。
  51. /// </summary>
  52. protected override void Dispose( bool disposing )
  53. {
  54. if( disposing )
  55. {
  56. if(components != null)
  57. {
  58. components.Dispose();
  59. }
  60. }
  61. base.Dispose( disposing );
  62. }
  63. #region 组件设计器生成的代码
  64. /// <summary>
  65. /// 设计器支持所需的方法 - 不要使用代码编辑器
  66. /// 修改此方法的内容。
  67. /// </summary>
  68. private void InitializeComponent()
  69. {
  70. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  71. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  72. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  73. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  74. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  75. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  76. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  77. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  78. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  79. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  80. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  81. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  82. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  83. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  84. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  85. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  86. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  87. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  88. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  89. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  90. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  91. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  92. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  93. this.chk_StatInceName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  94. this.chk_StatStation = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  95. this.Chk_StatListCoding = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  96. this.Chk_StatSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  97. this.Chk_StatVecihleNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  98. this.Chk_StatPactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  99. this.Chk_StatPlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  100. this.Chk_StatRollNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  101. this.Chk_StatClassTeam = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  102. this.Chk_StatBilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  103. this.Chk_StatRole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  104. this.Chk_StatCondole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  105. this.Chk_StatResult = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  106. this.Chk_StatSendDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  107. this.Chk_StatSpet = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  108. this.Chk_StatSendMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  109. this.Chk_StatBookInMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  110. this.Chk_StatBookInDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  111. this.chk_StatOrder = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  112. this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  113. this.chk_CutState = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  114. this.chk_SendNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  115. this.chk_Butress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  116. this.SuspendLayout();
  117. //
  118. // chk_StatInceName
  119. //
  120. appearance1.BackColor = System.Drawing.Color.LightCyan;
  121. this.chk_StatInceName.Appearance = appearance1;
  122. this.chk_StatInceName.FlatMode = true;
  123. this.chk_StatInceName.Location = new System.Drawing.Point(70, 6);
  124. this.chk_StatInceName.Name = "chk_StatInceName";
  125. this.chk_StatInceName.Size = new System.Drawing.Size(84, 14);
  126. this.chk_StatInceName.TabIndex = 0;
  127. this.chk_StatInceName.Text = "按收货单位";
  128. //
  129. // chk_StatStation
  130. //
  131. appearance2.BackColor = System.Drawing.Color.LightCyan;
  132. this.chk_StatStation.Appearance = appearance2;
  133. this.chk_StatStation.FlatMode = true;
  134. this.chk_StatStation.Location = new System.Drawing.Point(70, 38);
  135. this.chk_StatStation.Name = "chk_StatStation";
  136. this.chk_StatStation.Size = new System.Drawing.Size(59, 14);
  137. this.chk_StatStation.TabIndex = 1;
  138. this.chk_StatStation.Text = "按到站";
  139. //
  140. // Chk_StatListCoding
  141. //
  142. appearance3.BackColor = System.Drawing.Color.LightCyan;
  143. this.Chk_StatListCoding.Appearance = appearance3;
  144. this.Chk_StatListCoding.FlatMode = true;
  145. this.Chk_StatListCoding.Location = new System.Drawing.Point(70, 22);
  146. this.Chk_StatListCoding.Name = "Chk_StatListCoding";
  147. this.Chk_StatListCoding.Size = new System.Drawing.Size(72, 14);
  148. this.Chk_StatListCoding.TabIndex = 2;
  149. this.Chk_StatListCoding.Text = "按明细号";
  150. //
  151. // Chk_StatSteel
  152. //
  153. appearance4.BackColor = System.Drawing.Color.LightCyan;
  154. this.Chk_StatSteel.Appearance = appearance4;
  155. this.Chk_StatSteel.FlatMode = true;
  156. this.Chk_StatSteel.Location = new System.Drawing.Point(6, 54);
  157. this.Chk_StatSteel.Name = "Chk_StatSteel";
  158. this.Chk_StatSteel.Size = new System.Drawing.Size(59, 14);
  159. this.Chk_StatSteel.TabIndex = 3;
  160. this.Chk_StatSteel.Text = "按牌号";
  161. //
  162. // Chk_StatVecihleNO
  163. //
  164. appearance5.BackColor = System.Drawing.Color.LightCyan;
  165. this.Chk_StatVecihleNO.Appearance = appearance5;
  166. this.Chk_StatVecihleNO.FlatMode = true;
  167. this.Chk_StatVecihleNO.Location = new System.Drawing.Point(6, 6);
  168. this.Chk_StatVecihleNO.Name = "Chk_StatVecihleNO";
  169. this.Chk_StatVecihleNO.Size = new System.Drawing.Size(59, 14);
  170. this.Chk_StatVecihleNO.TabIndex = 4;
  171. this.Chk_StatVecihleNO.Text = "按车牌";
  172. //
  173. // Chk_StatPactNO
  174. //
  175. appearance6.BackColor = System.Drawing.Color.LightCyan;
  176. this.Chk_StatPactNO.Appearance = appearance6;
  177. this.Chk_StatPactNO.FlatMode = true;
  178. this.Chk_StatPactNO.Location = new System.Drawing.Point(6, 22);
  179. this.Chk_StatPactNO.Name = "Chk_StatPactNO";
  180. this.Chk_StatPactNO.Size = new System.Drawing.Size(59, 14);
  181. this.Chk_StatPactNO.TabIndex = 5;
  182. this.Chk_StatPactNO.Text = "按合同";
  183. //
  184. // Chk_StatPlanNO
  185. //
  186. appearance7.BackColor = System.Drawing.Color.LightCyan;
  187. this.Chk_StatPlanNO.Appearance = appearance7;
  188. this.Chk_StatPlanNO.FlatMode = true;
  189. this.Chk_StatPlanNO.Location = new System.Drawing.Point(70, 54);
  190. this.Chk_StatPlanNO.Name = "Chk_StatPlanNO";
  191. this.Chk_StatPlanNO.Size = new System.Drawing.Size(72, 14);
  192. this.Chk_StatPlanNO.TabIndex = 6;
  193. this.Chk_StatPlanNO.Text = "按计划号";
  194. //
  195. // Chk_StatRollNO
  196. //
  197. appearance8.BackColor = System.Drawing.Color.LightCyan;
  198. this.Chk_StatRollNO.Appearance = appearance8;
  199. this.Chk_StatRollNO.FlatMode = true;
  200. this.Chk_StatRollNO.Location = new System.Drawing.Point(70, 69);
  201. this.Chk_StatRollNO.Name = "Chk_StatRollNO";
  202. this.Chk_StatRollNO.Size = new System.Drawing.Size(72, 14);
  203. this.Chk_StatRollNO.TabIndex = 7;
  204. this.Chk_StatRollNO.Text = "按轧编号";
  205. //
  206. // Chk_StatClassTeam
  207. //
  208. appearance9.BackColor = System.Drawing.Color.LightCyan;
  209. this.Chk_StatClassTeam.Appearance = appearance9;
  210. this.Chk_StatClassTeam.FlatMode = true;
  211. this.Chk_StatClassTeam.Location = new System.Drawing.Point(6, 86);
  212. this.Chk_StatClassTeam.Name = "Chk_StatClassTeam";
  213. this.Chk_StatClassTeam.Size = new System.Drawing.Size(59, 14);
  214. this.Chk_StatClassTeam.TabIndex = 8;
  215. this.Chk_StatClassTeam.Text = "按班组";
  216. //
  217. // Chk_StatBilletID
  218. //
  219. appearance10.BackColor = System.Drawing.Color.LightCyan;
  220. this.Chk_StatBilletID.Appearance = appearance10;
  221. this.Chk_StatBilletID.FlatMode = true;
  222. this.Chk_StatBilletID.Location = new System.Drawing.Point(6, 102);
  223. this.Chk_StatBilletID.Name = "Chk_StatBilletID";
  224. this.Chk_StatBilletID.Size = new System.Drawing.Size(59, 14);
  225. this.Chk_StatBilletID.TabIndex = 10;
  226. this.Chk_StatBilletID.Text = "按序号";
  227. //
  228. // Chk_StatRole
  229. //
  230. appearance11.BackColor = System.Drawing.Color.LightCyan;
  231. this.Chk_StatRole.Appearance = appearance11;
  232. this.Chk_StatRole.FlatMode = true;
  233. this.Chk_StatRole.Location = new System.Drawing.Point(6, 118);
  234. this.Chk_StatRole.Name = "Chk_StatRole";
  235. this.Chk_StatRole.Size = new System.Drawing.Size(60, 14);
  236. this.Chk_StatRole.TabIndex = 11;
  237. this.Chk_StatRole.Text = "含定尺";
  238. //
  239. // Chk_StatCondole
  240. //
  241. appearance12.BackColor = System.Drawing.Color.LightCyan;
  242. this.Chk_StatCondole.Appearance = appearance12;
  243. this.Chk_StatCondole.FlatMode = true;
  244. this.Chk_StatCondole.Location = new System.Drawing.Point(158, 22);
  245. this.Chk_StatCondole.Name = "Chk_StatCondole";
  246. this.Chk_StatCondole.Size = new System.Drawing.Size(59, 14);
  247. this.Chk_StatCondole.TabIndex = 12;
  248. this.Chk_StatCondole.Text = "按吊号";
  249. //
  250. // Chk_StatResult
  251. //
  252. appearance13.BackColor = System.Drawing.Color.LightCyan;
  253. this.Chk_StatResult.Appearance = appearance13;
  254. this.Chk_StatResult.FlatMode = true;
  255. this.Chk_StatResult.Location = new System.Drawing.Point(70, 100);
  256. this.Chk_StatResult.Name = "Chk_StatResult";
  257. this.Chk_StatResult.Size = new System.Drawing.Size(84, 14);
  258. this.Chk_StatResult.TabIndex = 13;
  259. this.Chk_StatResult.Text = "含判定结果";
  260. //
  261. // Chk_StatSendDate
  262. //
  263. appearance14.BackColor = System.Drawing.Color.LightCyan;
  264. this.Chk_StatSendDate.Appearance = appearance14;
  265. this.Chk_StatSendDate.FlatMode = true;
  266. this.Chk_StatSendDate.Location = new System.Drawing.Point(70, 116);
  267. this.Chk_StatSendDate.Name = "Chk_StatSendDate";
  268. this.Chk_StatSendDate.Size = new System.Drawing.Size(84, 14);
  269. this.Chk_StatSendDate.TabIndex = 14;
  270. this.Chk_StatSendDate.Text = "按发运日期";
  271. //
  272. // Chk_StatSpet
  273. //
  274. appearance15.BackColor = System.Drawing.Color.LightCyan;
  275. this.Chk_StatSpet.Appearance = appearance15;
  276. this.Chk_StatSpet.FlatMode = true;
  277. this.Chk_StatSpet.Location = new System.Drawing.Point(6, 70);
  278. this.Chk_StatSpet.Name = "Chk_StatSpet";
  279. this.Chk_StatSpet.Size = new System.Drawing.Size(59, 14);
  280. this.Chk_StatSpet.TabIndex = 15;
  281. this.Chk_StatSpet.Text = "按规格";
  282. //
  283. // Chk_StatSendMan
  284. //
  285. appearance16.BackColor = System.Drawing.Color.LightCyan;
  286. this.Chk_StatSendMan.Appearance = appearance16;
  287. this.Chk_StatSendMan.FlatMode = true;
  288. this.Chk_StatSendMan.Location = new System.Drawing.Point(6, 134);
  289. this.Chk_StatSendMan.Name = "Chk_StatSendMan";
  290. this.Chk_StatSendMan.Size = new System.Drawing.Size(59, 14);
  291. this.Chk_StatSendMan.TabIndex = 16;
  292. this.Chk_StatSendMan.Text = "发运人";
  293. //
  294. // Chk_StatBookInMan
  295. //
  296. appearance17.BackColor = System.Drawing.Color.LightCyan;
  297. this.Chk_StatBookInMan.Appearance = appearance17;
  298. this.Chk_StatBookInMan.FlatMode = true;
  299. this.Chk_StatBookInMan.Location = new System.Drawing.Point(6, 150);
  300. this.Chk_StatBookInMan.Name = "Chk_StatBookInMan";
  301. this.Chk_StatBookInMan.Size = new System.Drawing.Size(59, 14);
  302. this.Chk_StatBookInMan.TabIndex = 17;
  303. this.Chk_StatBookInMan.Text = "登记人";
  304. //
  305. // Chk_StatBookInDate
  306. //
  307. appearance18.BackColor = System.Drawing.Color.LightCyan;
  308. this.Chk_StatBookInDate.Appearance = appearance18;
  309. this.Chk_StatBookInDate.FlatMode = true;
  310. this.Chk_StatBookInDate.Location = new System.Drawing.Point(70, 132);
  311. this.Chk_StatBookInDate.Name = "Chk_StatBookInDate";
  312. this.Chk_StatBookInDate.Size = new System.Drawing.Size(84, 14);
  313. this.Chk_StatBookInDate.TabIndex = 18;
  314. this.Chk_StatBookInDate.Text = "按登记时间";
  315. //
  316. // chk_StatOrder
  317. //
  318. appearance19.BackColor = System.Drawing.Color.LightCyan;
  319. this.chk_StatOrder.Appearance = appearance19;
  320. this.chk_StatOrder.FlatMode = true;
  321. this.chk_StatOrder.Location = new System.Drawing.Point(6, 38);
  322. this.chk_StatOrder.Name = "chk_StatOrder";
  323. this.chk_StatOrder.Size = new System.Drawing.Size(59, 14);
  324. this.chk_StatOrder.TabIndex = 19;
  325. this.chk_StatOrder.Text = "按订单";
  326. //
  327. // chk_ProcLine
  328. //
  329. appearance20.BackColor = System.Drawing.Color.LightCyan;
  330. this.chk_ProcLine.Appearance = appearance20;
  331. this.chk_ProcLine.FlatMode = true;
  332. this.chk_ProcLine.Location = new System.Drawing.Point(158, 6);
  333. this.chk_ProcLine.Name = "chk_ProcLine";
  334. this.chk_ProcLine.Size = new System.Drawing.Size(48, 14);
  335. this.chk_ProcLine.TabIndex = 20;
  336. this.chk_ProcLine.Text = "产线";
  337. //
  338. // chk_CutState
  339. //
  340. appearance21.BackColor = System.Drawing.Color.LightCyan;
  341. this.chk_CutState.Appearance = appearance21;
  342. this.chk_CutState.FlatMode = true;
  343. this.chk_CutState.Location = new System.Drawing.Point(70, 84);
  344. this.chk_CutState.Name = "chk_CutState";
  345. this.chk_CutState.Size = new System.Drawing.Size(84, 14);
  346. this.chk_CutState.TabIndex = 21;
  347. this.chk_CutState.Text = "按切边状态";
  348. //
  349. // chk_SendNo
  350. //
  351. appearance22.BackColor = System.Drawing.Color.LightCyan;
  352. this.chk_SendNo.Appearance = appearance22;
  353. this.chk_SendNo.FlatMode = true;
  354. this.chk_SendNo.Location = new System.Drawing.Point(158, 38);
  355. this.chk_SendNo.Name = "chk_SendNo";
  356. this.chk_SendNo.Size = new System.Drawing.Size(59, 14);
  357. this.chk_SendNo.TabIndex = 24;
  358. this.chk_SendNo.Text = "发运号";
  359. //
  360. // chk_Butress
  361. //
  362. appearance23.BackColor = System.Drawing.Color.LightCyan;
  363. this.chk_Butress.Appearance = appearance23;
  364. this.chk_Butress.FlatMode = true;
  365. this.chk_Butress.Location = new System.Drawing.Point(158, 53);
  366. this.chk_Butress.Name = "chk_Butress";
  367. this.chk_Butress.Size = new System.Drawing.Size(74, 14);
  368. this.chk_Butress.TabIndex = 26;
  369. this.chk_Butress.Text = "垛位";
  370. //
  371. // UCSendStat
  372. //
  373. this.Controls.Add(this.chk_Butress);
  374. this.Controls.Add(this.chk_SendNo);
  375. this.Controls.Add(this.chk_CutState);
  376. this.Controls.Add(this.chk_ProcLine);
  377. this.Controls.Add(this.chk_StatOrder);
  378. this.Controls.Add(this.Chk_StatBookInDate);
  379. this.Controls.Add(this.Chk_StatBookInMan);
  380. this.Controls.Add(this.Chk_StatSendMan);
  381. this.Controls.Add(this.Chk_StatSpet);
  382. this.Controls.Add(this.Chk_StatSendDate);
  383. this.Controls.Add(this.Chk_StatResult);
  384. this.Controls.Add(this.Chk_StatCondole);
  385. this.Controls.Add(this.Chk_StatRole);
  386. this.Controls.Add(this.Chk_StatBilletID);
  387. this.Controls.Add(this.Chk_StatClassTeam);
  388. this.Controls.Add(this.Chk_StatRollNO);
  389. this.Controls.Add(this.Chk_StatPlanNO);
  390. this.Controls.Add(this.Chk_StatPactNO);
  391. this.Controls.Add(this.Chk_StatVecihleNO);
  392. this.Controls.Add(this.Chk_StatSteel);
  393. this.Controls.Add(this.Chk_StatListCoding);
  394. this.Controls.Add(this.chk_StatStation);
  395. this.Controls.Add(this.chk_StatInceName);
  396. this.Name = "UCSendStat";
  397. this.Size = new System.Drawing.Size(233, 173);
  398. this.ResumeLayout(false);
  399. }
  400. #endregion
  401. #region "Property
  402. private string _SelectStr = "SELECT ";//A.STEELTYPE
  403. private string _FromStr = " FROM KCJ_TURNOFFSENDLIST_ZW A,SEL_PACTDETAIL B,SEL_INCEPTCORPINFO C,SEL_STATIONINFO D,KCJ_PLAN E,SEL_PACTINFO F "
  404. + " WHERE A.ISVALID<>'0' AND A.SENDTYPE='0' AND A.PLANVEHICLEID=E.ASKPLAN_ID(+) AND E.INCEPTCORPCODE=C.INCEPTCORPCODE(+) AND A.DUMMYSENDFLAG<>'1' "
  405. + " AND B.STATIONCODE=D.STATIONCODE(+) AND A.ORDERFORMNUMBER=B.ORDERNO(+) AND A.CLEARFLAG <> '1' AND E.PACTNO=F.PACTNO(+) ";
  406. private string _FromStr1 = " FROM KCJ_TURNOFFSENDLIST_ZW A,SEL_PACTDETAIL B,SEL_INCEPTCORPINFO C,SEL_STATIONINFO D,KCJ_PLAN E,SEL_PACTINFO F "
  407. + " WHERE A.ISVALID<>'0' AND A.SENDTYPE='0' AND A.PLANVEHICLEID=E.ASKPLAN_ID(+) AND E.INCEPTCORPCODE=C.INCEPTCORPCODE(+) AND A.DUMMYSENDFLAG<>'1' "
  408. + " AND B.STATIONCODE=D.STATIONCODE(+) AND A.ORDERFORMNUMBER=B.ORDERNO(+) AND A.CLEARFLAG <> '1' AND E.PACTNO=F.PACTNO AND F.ISOUTPACT='1' ";
  409. private string _GroupbyStr = " GROUP BY ";
  410. public System.Collections.ArrayList SendSelectStr
  411. {
  412. get
  413. {
  414. System.Collections.ArrayList rtnList = new ArrayList();
  415. string rtnStr = _SelectStr;
  416. if (this.chk_SendNo.Checked)
  417. {
  418. if (rtnStr.Length > 7)
  419. {
  420. rtnStr = rtnStr + ",A.PLANVEHICLEID ";
  421. }
  422. else
  423. {
  424. rtnStr = rtnStr + "A.PLANVEHICLEID ";
  425. }
  426. }
  427. if (this.chk_Butress.Checked)
  428. {
  429. if (rtnStr.Length > 7)
  430. {
  431. rtnStr = rtnStr + ",A.BUTTRESS";
  432. }
  433. else
  434. {
  435. rtnStr = rtnStr + "A.BUTTRESS";
  436. }
  437. }
  438. if(this.chk_CutState.Checked)
  439. {
  440. if(rtnStr.Length>7)
  441. {
  442. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  443. }
  444. else
  445. {
  446. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  447. }
  448. }
  449. if(this.chk_ProcLine.Checked)
  450. {
  451. if(rtnStr.Length>7)
  452. {
  453. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  454. }
  455. else
  456. {
  457. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  458. }
  459. }
  460. if(this.chk_StatInceName.Checked)
  461. {
  462. if(rtnStr.Length>7)
  463. {
  464. rtnStr = rtnStr + ",C.INCEPTCORPNAME";
  465. }
  466. else
  467. {
  468. rtnStr = rtnStr + "C.INCEPTCORPNAME";
  469. }
  470. }
  471. if(this.Chk_StatListCoding.Checked)
  472. {
  473. if(rtnStr.Length>7)
  474. {
  475. rtnStr = rtnStr + ",A.LISTNUMBER";
  476. }
  477. else
  478. {
  479. rtnStr = rtnStr + "A.LISTNUMBER";
  480. }
  481. }
  482. if(this.Chk_StatVecihleNO.Checked)
  483. {
  484. if(rtnStr.Length>7)
  485. {
  486. rtnStr = rtnStr + ",A.TRAINWAGON";
  487. }
  488. else
  489. {
  490. rtnStr = rtnStr + "A.TRAINWAGON";
  491. }
  492. }
  493. if(this.chk_StatStation.Checked)
  494. {
  495. if(rtnStr.Length>7)
  496. {
  497. rtnStr = rtnStr + ",D.STATIONNAME";
  498. }
  499. else
  500. {
  501. rtnStr = rtnStr + "D.STATIONNAME";
  502. }
  503. }
  504. if(this.Chk_StatPactNO.Checked)
  505. {
  506. if(rtnStr.Length>7)
  507. {
  508. rtnStr = rtnStr + ",B.PACTNO";
  509. }
  510. else
  511. {
  512. rtnStr = rtnStr + "B.PACTNO";
  513. }
  514. }
  515. if(this.chk_StatOrder.Checked)
  516. {
  517. if(rtnStr.Length>7)
  518. {
  519. rtnStr = rtnStr + ",A.ORDERFORMNUMBER";
  520. }
  521. else
  522. {
  523. rtnStr = rtnStr + "A.ORDERFORMNUMBER";
  524. }
  525. }
  526. if(this.Chk_StatPlanNO.Checked)
  527. {
  528. if(rtnStr.Length>7)
  529. {
  530. rtnStr = rtnStr + ",A.PLANNO";
  531. }
  532. else
  533. {
  534. rtnStr = rtnStr + "A.PLANNO";
  535. }
  536. }
  537. if(this.Chk_StatSteel.Checked)
  538. {
  539. if(rtnStr.Length>7)
  540. {
  541. rtnStr = rtnStr + ",A.STEELTYPE";
  542. }
  543. else
  544. {
  545. rtnStr = rtnStr + "A.STEELTYPE";
  546. }
  547. }
  548. if(this.Chk_StatRollNO.Checked)
  549. {
  550. if(rtnStr.Length>7)
  551. {
  552. rtnStr = rtnStr + ",A.ROLLNO";
  553. }
  554. else
  555. {
  556. rtnStr = rtnStr + "A.ROLLNO";
  557. }
  558. }
  559. if(this.Chk_StatClassTeam.Checked)
  560. {
  561. if(rtnStr.Length>7)
  562. {
  563. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  564. }
  565. else
  566. {
  567. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  568. }
  569. }
  570. if(this.Chk_StatRole.Checked)
  571. {
  572. if(rtnStr.Length>7)
  573. {
  574. rtnStr = rtnStr+ ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  575. }
  576. else
  577. {
  578. rtnStr = rtnStr+ "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  579. }
  580. }
  581. if(this.Chk_StatCondole.Checked)
  582. {
  583. if(rtnStr.Length>7)
  584. {
  585. rtnStr = rtnStr + ",A.CONDOLENUMBER";
  586. }
  587. else
  588. {
  589. rtnStr = rtnStr + "A.CONDOLENUMBER";
  590. }
  591. }
  592. if(this.Chk_StatResult.Checked)
  593. {
  594. if(rtnStr.Length>7)
  595. {
  596. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  597. }
  598. else
  599. {
  600. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  601. }
  602. }
  603. if(this.Chk_StatSendDate.Checked)
  604. {
  605. if(rtnStr.Length>7)
  606. {
  607. rtnStr = rtnStr + ",TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  608. }
  609. else
  610. {
  611. rtnStr = rtnStr + "TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  612. }
  613. }
  614. if(this.Chk_StatBookInDate.Checked)
  615. {
  616. if(rtnStr.Length>7)
  617. {
  618. rtnStr = rtnStr + ",TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  619. }
  620. else
  621. {
  622. rtnStr = rtnStr + "TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  623. }
  624. }
  625. if(this.Chk_StatBookInMan.Checked)
  626. {
  627. if(rtnStr.Length>7)
  628. {
  629. rtnStr = rtnStr + ",A.CREATOR";
  630. }
  631. else
  632. {
  633. rtnStr = rtnStr + "A.CREATOR";
  634. }
  635. }
  636. if(this.Chk_StatSendMan.Checked)
  637. {
  638. if(rtnStr.Length>7)
  639. {
  640. rtnStr = rtnStr + ",A.PICKSTORAGEMAN";
  641. }
  642. else
  643. {
  644. rtnStr = rtnStr + "A.PICKSTORAGEMAN";
  645. }
  646. }
  647. if(this.Chk_StatBilletID.Checked)
  648. {
  649. if(rtnStr.Length>7)
  650. {
  651. rtnStr = rtnStr + ",A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT ";
  652. }
  653. else
  654. {
  655. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT ";
  656. }
  657. rtnStr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET";
  658. rtnStr = rtnStr + _FromStr;
  659. rtnList.Add(rtnStr);
  660. return rtnList;
  661. }
  662. else
  663. {
  664. if(rtnStr.Length>7)
  665. {
  666. rtnStr = rtnStr + ",COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT ";
  667. }
  668. else
  669. {
  670. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT ";
  671. }
  672. }
  673. if (this.Chk_StatRole.Checked)
  674. {
  675. string tmpstr = "";
  676. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.LENGTH) SPET "; //定长
  677. tmpstr = tmpstr + _FromStr + " AND A.ROLE='102201' ";
  678. rtnList.Add(tmpstr);
  679. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH) SPET "; //定宽
  680. tmpstr = tmpstr + _FromStr + " AND (A.ROLE='102202' OR A.ROLE='102206') ";
  681. rtnList.Add(tmpstr);
  682. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET "; //双定
  683. tmpstr = tmpstr + _FromStr + " AND (A.ROLE='102203' OR A.ROLE IS NULL) ";
  684. rtnList.Add(tmpstr);
  685. tmpstr = rtnStr + ",TO_CHAR(A.PLY) SPET "; //非定
  686. tmpstr = tmpstr + _FromStr + " AND (A.ROLE='102204' OR A.ROLE='102205') ";
  687. rtnList.Add(tmpstr);
  688. return rtnList;
  689. }
  690. else
  691. {
  692. if (this.Chk_StatSpet.Checked)
  693. {
  694. rtnStr = rtnStr + ",TO_CHAR(A.PLY) SPET ";
  695. }
  696. rtnStr = rtnStr + _FromStr;
  697. rtnList.Add(rtnStr);
  698. return rtnList;
  699. }
  700. }
  701. }
  702. public System.Collections.ArrayList SendSelectStr1
  703. {
  704. get
  705. {
  706. System.Collections.ArrayList rtnList = new ArrayList();
  707. string rtnStr = _SelectStr;
  708. if (this.chk_SendNo.Checked)
  709. {
  710. if (rtnStr.Length > 7)
  711. {
  712. rtnStr = rtnStr + ",A.PLANVEHICLEID";
  713. }
  714. else
  715. {
  716. rtnStr = rtnStr + "A.PLANVEHICLEID";
  717. }
  718. }
  719. if (this.chk_Butress.Checked)
  720. {
  721. if (rtnStr.Length > 7)
  722. {
  723. rtnStr = rtnStr + ",A.BUTTRESS";
  724. }
  725. else
  726. {
  727. rtnStr = rtnStr + "A.BUTTRESS";
  728. }
  729. }
  730. if (this.chk_CutState.Checked)
  731. {
  732. if (rtnStr.Length > 7)
  733. {
  734. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  735. }
  736. else
  737. {
  738. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  739. }
  740. }
  741. if (this.chk_ProcLine.Checked)
  742. {
  743. if (rtnStr.Length > 7)
  744. {
  745. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  746. }
  747. else
  748. {
  749. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  750. }
  751. }
  752. if (this.chk_StatInceName.Checked)
  753. {
  754. if (rtnStr.Length > 7)
  755. {
  756. rtnStr = rtnStr + ",C.INCEPTCORPNAME";
  757. }
  758. else
  759. {
  760. rtnStr = rtnStr + "C.INCEPTCORPNAME";
  761. }
  762. }
  763. if (this.Chk_StatListCoding.Checked)
  764. {
  765. if (rtnStr.Length > 7)
  766. {
  767. rtnStr = rtnStr + ",A.LISTNUMBER";
  768. }
  769. else
  770. {
  771. rtnStr = rtnStr + "A.LISTNUMBER";
  772. }
  773. }
  774. if (this.Chk_StatVecihleNO.Checked)
  775. {
  776. if (rtnStr.Length > 7)
  777. {
  778. rtnStr = rtnStr + ",A.TRAINWAGON";
  779. }
  780. else
  781. {
  782. rtnStr = rtnStr + "A.TRAINWAGON";
  783. }
  784. }
  785. if (this.chk_StatStation.Checked)
  786. {
  787. if (rtnStr.Length > 7)
  788. {
  789. rtnStr = rtnStr + ",D.STATIONNAME";
  790. }
  791. else
  792. {
  793. rtnStr = rtnStr + "D.STATIONNAME";
  794. }
  795. }
  796. if (this.Chk_StatPactNO.Checked)
  797. {
  798. if (rtnStr.Length > 7)
  799. {
  800. rtnStr = rtnStr + ",B.PACTNO,";
  801. }
  802. else
  803. {
  804. rtnStr = rtnStr + "B.PACTNO,";
  805. }
  806. }
  807. if (this.chk_StatOrder.Checked)
  808. {
  809. if (rtnStr.Length > 7)
  810. {
  811. rtnStr = rtnStr + ",A.ORDERFORMNUMBER";
  812. }
  813. else
  814. {
  815. rtnStr = rtnStr + "A.ORDERFORMNUMBER";
  816. }
  817. }
  818. if (this.Chk_StatPlanNO.Checked)
  819. {
  820. if (rtnStr.Length > 7)
  821. {
  822. rtnStr = rtnStr + ",A.PLANNO";
  823. }
  824. else
  825. {
  826. rtnStr = rtnStr + "A.PLANNO";
  827. }
  828. }
  829. if (this.Chk_StatSteel.Checked)
  830. {
  831. if (rtnStr.Length > 7)
  832. {
  833. rtnStr = rtnStr + ",A.STEELTYPE";
  834. }
  835. else
  836. {
  837. rtnStr = rtnStr + "A.STEELTYPE";
  838. }
  839. }
  840. if (this.Chk_StatRollNO.Checked)
  841. {
  842. if (rtnStr.Length > 7)
  843. {
  844. rtnStr = rtnStr + ",A.ROLLNO";
  845. }
  846. else
  847. {
  848. rtnStr = rtnStr + "A.ROLLNO";
  849. }
  850. }
  851. if (this.Chk_StatClassTeam.Checked)
  852. {
  853. if (rtnStr.Length > 7)
  854. {
  855. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  856. }
  857. else
  858. {
  859. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  860. }
  861. }
  862. if (this.Chk_StatRole.Checked)
  863. {
  864. if (rtnStr.Length > 7)
  865. {
  866. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  867. }
  868. else
  869. {
  870. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  871. }
  872. }
  873. if (this.Chk_StatCondole.Checked)
  874. {
  875. if (rtnStr.Length > 7)
  876. {
  877. rtnStr = rtnStr + ",A.CONDOLENUMBER";
  878. }
  879. else
  880. {
  881. rtnStr = rtnStr + "A.CONDOLENUMBER";
  882. }
  883. }
  884. if (this.Chk_StatResult.Checked)
  885. {
  886. if (rtnStr.Length > 7)
  887. {
  888. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  889. }
  890. else
  891. {
  892. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  893. }
  894. }
  895. if (this.Chk_StatSendDate.Checked)
  896. {
  897. if (rtnStr.Length > 7)
  898. {
  899. rtnStr = rtnStr + ",TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  900. }
  901. else
  902. {
  903. rtnStr = rtnStr + "TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  904. }
  905. }
  906. if (this.Chk_StatBookInDate.Checked)
  907. {
  908. if (rtnStr.Length > 7)
  909. {
  910. rtnStr = rtnStr + ",TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  911. }
  912. else
  913. {
  914. rtnStr = rtnStr + "TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  915. }
  916. }
  917. if (this.Chk_StatBookInMan.Checked)
  918. {
  919. if (rtnStr.Length > 7)
  920. {
  921. rtnStr = rtnStr + ",A.CREATOR";
  922. }
  923. else
  924. {
  925. rtnStr = rtnStr + "A.CREATOR";
  926. }
  927. }
  928. if (this.Chk_StatSendMan.Checked)
  929. {
  930. if (rtnStr.Length > 7)
  931. {
  932. rtnStr = rtnStr + ",A.PICKSTORAGEMAN";
  933. }
  934. else
  935. {
  936. rtnStr = rtnStr + "A.PICKSTORAGEMAN";
  937. }
  938. }
  939. if (this.Chk_StatBilletID.Checked)
  940. {
  941. if (rtnStr.Length > 7)
  942. {
  943. rtnStr = rtnStr + ",A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT ";
  944. }
  945. else
  946. {
  947. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT ";
  948. }
  949. rtnStr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET";
  950. rtnStr = rtnStr + _FromStr1;
  951. rtnList.Add(rtnStr);
  952. return rtnList;
  953. }
  954. else
  955. {
  956. if (rtnStr.Length > 7)
  957. {
  958. rtnStr = rtnStr + ",COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT ";
  959. }
  960. else
  961. {
  962. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT,SUM(A.ACREAGE) ACREAGE ";
  963. }
  964. }
  965. if (this.Chk_StatRole.Checked)
  966. {
  967. string tmpstr = "";
  968. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.LENGTH) SPET "; //定长
  969. tmpstr = tmpstr + _FromStr1 + " AND A.ROLE='102201' ";
  970. rtnList.Add(tmpstr);
  971. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH) SPET "; //定宽
  972. tmpstr = tmpstr + _FromStr1 + " AND (A.ROLE='102202' OR A.ROLE='102206') ";
  973. rtnList.Add(tmpstr);
  974. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET "; //双定
  975. tmpstr = tmpstr + _FromStr1 + " AND (A.ROLE='102203' OR A.ROLE IS NULL) ";
  976. rtnList.Add(tmpstr);
  977. tmpstr = rtnStr + ",TO_CHAR(A.PLY) SPET "; //非定
  978. tmpstr = tmpstr + _FromStr1 + " AND (A.ROLE='102204' OR A.ROLE='102205') ";
  979. rtnList.Add(tmpstr);
  980. return rtnList;
  981. }
  982. else
  983. {
  984. if (this.Chk_StatSpet.Checked)
  985. {
  986. rtnStr = rtnStr + ",TO_CHAR(A.PLY) SPET ";
  987. }
  988. rtnStr = rtnStr + _FromStr1;
  989. rtnList.Add(rtnStr);
  990. return rtnList;
  991. }
  992. }
  993. }
  994. public System.Collections.ArrayList SendGroupbyStr
  995. {
  996. get
  997. {
  998. System.Collections.ArrayList rtnList = new ArrayList();
  999. string rtnStr = _GroupbyStr;
  1000. if (this.chk_Butress.Checked)
  1001. {
  1002. if (rtnStr.Length > 10)
  1003. {
  1004. rtnStr = rtnStr + ",A.BUTTRESS";
  1005. }
  1006. else
  1007. {
  1008. rtnStr = rtnStr + "A.BUTTRESS";
  1009. }
  1010. }
  1011. if(this.chk_SendNo.Checked)
  1012. {
  1013. if(rtnStr.Length>10)
  1014. {
  1015. rtnStr = rtnStr + ",A.PLANVEHICLEID";
  1016. }
  1017. else
  1018. {
  1019. rtnStr = rtnStr + "A.PLANVEHICLEID";
  1020. }
  1021. }
  1022. if(this.chk_CutState.Checked)
  1023. {
  1024. if(rtnStr.Length>10)
  1025. {
  1026. rtnStr = rtnStr + ",A.CLIPTYPEPROCESS";
  1027. }
  1028. else
  1029. {
  1030. rtnStr = rtnStr + "A.CLIPTYPEPROCESS";
  1031. }
  1032. }
  1033. if(this.chk_ProcLine.Checked)
  1034. {
  1035. if(rtnStr.Length>10)
  1036. {
  1037. rtnStr = rtnStr + ",B.PRODLINECODE";
  1038. }
  1039. else
  1040. {
  1041. rtnStr = rtnStr + "B.PRODLINECODE";
  1042. }
  1043. }
  1044. if(this.chk_StatInceName.Checked)
  1045. {
  1046. if(rtnStr.Length>10)
  1047. {
  1048. rtnStr = rtnStr + ",C.INCEPTCORPNAME";
  1049. }
  1050. else
  1051. {
  1052. rtnStr = rtnStr + "C.INCEPTCORPNAME";
  1053. }
  1054. }
  1055. if(this.Chk_StatListCoding.Checked)
  1056. {
  1057. if(rtnStr.Length>10)
  1058. {
  1059. rtnStr = rtnStr + ",A.LISTNUMBER";
  1060. }
  1061. else
  1062. {
  1063. rtnStr = rtnStr + "A.LISTNUMBER";
  1064. }
  1065. }
  1066. if(this.Chk_StatVecihleNO.Checked)
  1067. {
  1068. if(rtnStr.Length>10)
  1069. {
  1070. rtnStr = rtnStr + ",A.TRAINWAGON";
  1071. }
  1072. else
  1073. {
  1074. rtnStr = rtnStr + "A.TRAINWAGON";
  1075. }
  1076. }
  1077. if(this.chk_StatStation.Checked)
  1078. {
  1079. if(rtnStr.Length>10)
  1080. {
  1081. rtnStr = rtnStr + ",D.STATIONNAME";
  1082. }
  1083. else
  1084. {
  1085. rtnStr = rtnStr + "D.STATIONNAME";
  1086. }
  1087. }
  1088. if(this.Chk_StatPactNO.Checked)
  1089. {
  1090. if(rtnStr.Length>10)
  1091. {
  1092. rtnStr = rtnStr + ",B.PACTNO,B.SIGNCOLOR";
  1093. }
  1094. else
  1095. {
  1096. rtnStr = rtnStr + "B.PACTNO,B.SIGNCOLOR";
  1097. }
  1098. }
  1099. if(this.chk_StatOrder.Checked)
  1100. {
  1101. if(rtnStr.Length>10)
  1102. {
  1103. rtnStr = rtnStr + ",A.ORDERFORMNUMBER";
  1104. }
  1105. else
  1106. {
  1107. rtnStr = rtnStr + "A.ORDERFORMNUMBER";
  1108. }
  1109. }
  1110. if(this.Chk_StatPlanNO.Checked)
  1111. {
  1112. if(rtnStr.Length>10)
  1113. {
  1114. rtnStr = rtnStr + ",A.PLANNO";
  1115. }
  1116. else
  1117. {
  1118. rtnStr = rtnStr + "A.PLANNO";
  1119. }
  1120. }
  1121. if(this.Chk_StatSteel.Checked)
  1122. {
  1123. if(rtnStr.Length>10)
  1124. {
  1125. rtnStr = rtnStr + ",A.STEELTYPE";
  1126. }
  1127. else
  1128. {
  1129. rtnStr = rtnStr + "A.STEELTYPE";
  1130. }
  1131. }
  1132. if(this.Chk_StatRollNO.Checked)
  1133. {
  1134. if(rtnStr.Length>10)
  1135. {
  1136. rtnStr = rtnStr + ",A.ROLLNO";
  1137. }
  1138. else
  1139. {
  1140. rtnStr = rtnStr + "A.ROLLNO";
  1141. }
  1142. }
  1143. if(this.Chk_StatClassTeam.Checked)
  1144. {
  1145. if(rtnStr.Length>10)
  1146. {
  1147. rtnStr = rtnStr + ",A.CLASSTEAM";
  1148. }
  1149. else
  1150. {
  1151. rtnStr = rtnStr + "A.CLASSTEAM";
  1152. }
  1153. }
  1154. if(this.Chk_StatRole.Checked)
  1155. {
  1156. if(rtnStr.Length>10)
  1157. {
  1158. rtnStr = rtnStr + ",A.ROLE";
  1159. }
  1160. else
  1161. {
  1162. rtnStr = rtnStr + "A.ROLE";
  1163. }
  1164. }
  1165. if(this.Chk_StatCondole.Checked)
  1166. {
  1167. if(rtnStr.Length>10)
  1168. {
  1169. rtnStr = rtnStr + ",A.CONDOLENUMBER";
  1170. }
  1171. else
  1172. {
  1173. rtnStr = rtnStr + "A.CONDOLENUMBER";
  1174. }
  1175. }
  1176. if(this.Chk_StatResult.Checked)
  1177. {
  1178. if(rtnStr.Length>10)
  1179. {
  1180. rtnStr = rtnStr + ",A.DETERMINANTRESULT";
  1181. }
  1182. else
  1183. {
  1184. rtnStr = rtnStr + "A.DETERMINANTRESULT";
  1185. }
  1186. }
  1187. if(this.Chk_StatSendDate.Checked)
  1188. {
  1189. if(rtnStr.Length>10)
  1190. {
  1191. rtnStr = rtnStr + ",TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')";
  1192. }
  1193. else
  1194. {
  1195. rtnStr = rtnStr + "TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')";
  1196. }
  1197. }
  1198. if(this.Chk_StatBookInDate.Checked)
  1199. {
  1200. if(rtnStr.Length>10)
  1201. {
  1202. rtnStr = rtnStr + ",TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI')";
  1203. }
  1204. else
  1205. {
  1206. rtnStr = rtnStr + "TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI')";
  1207. }
  1208. }
  1209. if(this.Chk_StatBookInMan.Checked)
  1210. {
  1211. if(rtnStr.Length>10)
  1212. {
  1213. rtnStr = rtnStr + ",A.CREATOR";
  1214. }
  1215. else
  1216. {
  1217. rtnStr = rtnStr + "A.CREATOR";
  1218. }
  1219. }
  1220. if(this.Chk_StatSendMan.Checked)
  1221. {
  1222. if(rtnStr.Length>10)
  1223. {
  1224. rtnStr = rtnStr + ",A.PICKSTORAGEMAN";
  1225. }
  1226. else
  1227. {
  1228. rtnStr = rtnStr + "A.PICKSTORAGEMAN";
  1229. }
  1230. }
  1231. if(this.Chk_StatBilletID.Checked)
  1232. {
  1233. rtnStr = "";
  1234. rtnList.Add("");
  1235. return rtnList;
  1236. }
  1237. else
  1238. {
  1239. if(rtnStr.Length<=10)
  1240. {
  1241. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')";
  1242. }
  1243. }
  1244. if(this.Chk_StatRole.Checked)
  1245. {
  1246. string tmpstr = "";
  1247. tmpstr = rtnStr + ",A.PLY,A.LENGTH";
  1248. rtnList.Add(tmpstr);
  1249. tmpstr = rtnStr + ",A.PLY,A.WIDTH";
  1250. rtnList.Add(tmpstr);
  1251. tmpstr = rtnStr + ",A.PLY,A.WIDTH,A.LENGTH";
  1252. rtnList.Add(tmpstr);
  1253. tmpstr = rtnStr + ",A.PLY";
  1254. rtnList.Add(tmpstr);
  1255. return rtnList;
  1256. }
  1257. else
  1258. {
  1259. if(this.Chk_StatSpet.Checked)
  1260. {
  1261. rtnStr = rtnStr + ",A.PLY";
  1262. }
  1263. rtnList.Add(rtnStr);
  1264. return rtnList;
  1265. }
  1266. }
  1267. }
  1268. public System.Collections.ArrayList ClearSendSelectStr
  1269. {
  1270. get
  1271. {
  1272. System.Collections.ArrayList rtnList = new ArrayList();
  1273. string rtnStr = _SelectStr;
  1274. if(this.chk_SendNo.Checked)
  1275. {
  1276. if(rtnStr.Length>7)
  1277. {
  1278. rtnStr = rtnStr + ",A.PLANVEHICLEID";
  1279. }
  1280. else
  1281. {
  1282. rtnStr = rtnStr + "A.PLANVEHICLEID";
  1283. }
  1284. }
  1285. if (this.chk_Butress.Checked)
  1286. {
  1287. if (rtnStr.Length > 7)
  1288. {
  1289. rtnStr = rtnStr + ",A.BUTTRESS";
  1290. }
  1291. else
  1292. {
  1293. rtnStr = rtnStr + "A.BUTTRESS";
  1294. }
  1295. }
  1296. if(this.chk_CutState.Checked)
  1297. {
  1298. if(rtnStr.Length>7)
  1299. {
  1300. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  1301. }
  1302. else
  1303. {
  1304. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = A.CLIPTYPEPROCESS) CLIPTYPEPROCESS";
  1305. }
  1306. }
  1307. if(this.chk_ProcLine.Checked)
  1308. {
  1309. if(rtnStr.Length>7)
  1310. {
  1311. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  1312. }
  1313. else
  1314. {
  1315. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = B.PRODLINECODE) PRODLINECODE";
  1316. }
  1317. }
  1318. if(this.chk_StatInceName.Checked)
  1319. {
  1320. if(rtnStr.Length>7)
  1321. {
  1322. rtnStr = rtnStr + ",C.INCEPTCORPNAME";
  1323. }
  1324. else
  1325. {
  1326. rtnStr = rtnStr + "C.INCEPTCORPNAME";
  1327. }
  1328. }
  1329. if(this.Chk_StatListCoding.Checked)
  1330. {
  1331. if(rtnStr.Length>7)
  1332. {
  1333. rtnStr = rtnStr + ",A.LISTNUMBER";
  1334. }
  1335. else
  1336. {
  1337. rtnStr = rtnStr + "A.LISTNUMBER";
  1338. }
  1339. }
  1340. if(this.Chk_StatVecihleNO.Checked)
  1341. {
  1342. if(rtnStr.Length>7)
  1343. {
  1344. rtnStr = rtnStr + ",A.TRAINWAGON";
  1345. }
  1346. else
  1347. {
  1348. rtnStr = rtnStr + "A.TRAINWAGON";
  1349. }
  1350. }
  1351. if(this.chk_StatStation.Checked)
  1352. {
  1353. if(rtnStr.Length>7)
  1354. {
  1355. rtnStr = rtnStr + ",D.STATIONNAME";
  1356. }
  1357. else
  1358. {
  1359. rtnStr = rtnStr + "D.STATIONNAME";
  1360. }
  1361. }
  1362. if(this.Chk_StatPactNO.Checked)
  1363. {
  1364. if(rtnStr.Length>7)
  1365. {
  1366. rtnStr = rtnStr + ",B.PACTNO";
  1367. }
  1368. else
  1369. {
  1370. rtnStr = rtnStr + "B.PACTNO";
  1371. }
  1372. }
  1373. if(this.chk_StatOrder.Checked)
  1374. {
  1375. if(rtnStr.Length>7)
  1376. {
  1377. rtnStr = rtnStr + ",A.ORDERFORMNUMBER";
  1378. }
  1379. else
  1380. {
  1381. rtnStr = rtnStr + "A.ORDERFORMNUMBER";
  1382. }
  1383. }
  1384. if(this.Chk_StatPlanNO.Checked)
  1385. {
  1386. if(rtnStr.Length>7)
  1387. {
  1388. rtnStr = rtnStr + ",A.PLANNO";
  1389. }
  1390. else
  1391. {
  1392. rtnStr = rtnStr + "A.PLANNO";
  1393. }
  1394. }
  1395. if(this.Chk_StatSteel.Checked)
  1396. {
  1397. if(rtnStr.Length>7)
  1398. {
  1399. rtnStr = rtnStr + ",A.STEELTYPE";
  1400. }
  1401. else
  1402. {
  1403. rtnStr = rtnStr + "A.STEELTYPE";
  1404. }
  1405. }
  1406. if(this.Chk_StatRollNO.Checked)
  1407. {
  1408. if(rtnStr.Length>7)
  1409. {
  1410. rtnStr = rtnStr + ",A.ROLLNO";
  1411. }
  1412. else
  1413. {
  1414. rtnStr = rtnStr + "A.ROLLNO";
  1415. }
  1416. }
  1417. if(this.Chk_StatClassTeam.Checked)
  1418. {
  1419. if(rtnStr.Length>7)
  1420. {
  1421. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  1422. }
  1423. else
  1424. {
  1425. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLASSTEAM) CLASSTEAM";
  1426. }
  1427. }
  1428. if(this.Chk_StatRole.Checked)
  1429. {
  1430. if(rtnStr.Length>7)
  1431. {
  1432. rtnStr = rtnStr+ ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  1433. }
  1434. else
  1435. {
  1436. rtnStr = rtnStr+ "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.ROLE) ROLE";
  1437. }
  1438. }
  1439. if(this.Chk_StatCondole.Checked)
  1440. {
  1441. if(rtnStr.Length>7)
  1442. {
  1443. rtnStr = rtnStr + ",A.CONDOLENUMBER";
  1444. }
  1445. else
  1446. {
  1447. rtnStr = rtnStr + "A.CONDOLENUMBER";
  1448. }
  1449. }
  1450. if(this.Chk_StatResult.Checked)
  1451. {
  1452. if(rtnStr.Length>7)
  1453. {
  1454. rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  1455. }
  1456. else
  1457. {
  1458. rtnStr = rtnStr + "(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT";
  1459. }
  1460. }
  1461. if(this.Chk_StatSendDate.Checked)
  1462. {
  1463. if(rtnStr.Length>7)
  1464. {
  1465. rtnStr = rtnStr + ",TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  1466. }
  1467. else
  1468. {
  1469. rtnStr = rtnStr + "TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME";
  1470. }
  1471. }
  1472. if(this.Chk_StatBookInDate.Checked)
  1473. {
  1474. if(rtnStr.Length>7)
  1475. {
  1476. rtnStr = rtnStr + ",TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  1477. }
  1478. else
  1479. {
  1480. rtnStr = rtnStr + "TO_CHAR(A.CREATTIME,'YY-MM-DD HH24:MI') CREATTIME";
  1481. }
  1482. }
  1483. if(this.Chk_StatBookInMan.Checked)
  1484. {
  1485. if(rtnStr.Length>7)
  1486. {
  1487. rtnStr = rtnStr + ",A.CREATOR";
  1488. }
  1489. else
  1490. {
  1491. rtnStr = rtnStr + "A.CREATOR";
  1492. }
  1493. }
  1494. if(this.Chk_StatSendMan.Checked)
  1495. {
  1496. if(rtnStr.Length>7)
  1497. {
  1498. rtnStr = rtnStr + ",A.PICKSTORAGEMAN";
  1499. }
  1500. else
  1501. {
  1502. rtnStr = rtnStr + "A.PICKSTORAGEMAN";
  1503. }
  1504. }
  1505. if(this.Chk_StatBilletID.Checked)
  1506. {
  1507. if(rtnStr.Length>7)
  1508. {
  1509. rtnStr = rtnStr + ",A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT,A.ACREAGE ";
  1510. }
  1511. else
  1512. {
  1513. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,A.SERIALNUMBER,1 QUANTITY,A.WEIGHT,A.ADDWEIGHT,A.ACREAGE ";
  1514. }
  1515. rtnStr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET";
  1516. rtnList.Add(rtnStr);
  1517. return rtnList;
  1518. }
  1519. else
  1520. {
  1521. if(rtnStr.Length>7)
  1522. {
  1523. rtnStr = rtnStr + ",COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT,SUM(A.ACREAGE) ACREAGE ";
  1524. }
  1525. else
  1526. {
  1527. rtnStr = rtnStr + "C.INCEPTCORPNAME,A.LISTNUMBER,A.STEELTYPE,TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD') PICKSTORAGETIME,COUNT(A.SERIALNUMBER) QUANTITY,SUM(A.WEIGHT) WEIGHT,SUM(A.ADDWEIGHT) ADDWEIGHT,SUM(A.ACREAGE) ACREAGE ";
  1528. }
  1529. }
  1530. if(this.Chk_StatRole.Checked)
  1531. {
  1532. string tmpstr = "";
  1533. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.LENGTH) SPET "; //定长
  1534. rtnList.Add(tmpstr);
  1535. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH) SPET "; //定宽
  1536. rtnList.Add(tmpstr);
  1537. tmpstr = rtnStr + ",TO_CHAR(A.PLY)||'×'||TO_CHAR(A.WIDTH)||'×'||TO_CHAR(A.LENGTH) SPET "; //双定
  1538. rtnList.Add(tmpstr);
  1539. tmpstr = rtnStr + ",TO_CHAR(A.PLY) SPET "; //非定
  1540. rtnList.Add(tmpstr);
  1541. return rtnList;
  1542. }
  1543. else
  1544. {
  1545. if(this.Chk_StatSpet.Checked)
  1546. {
  1547. rtnStr = rtnStr + ",TO_CHAR(A.PLY) SPET ";
  1548. }
  1549. rtnList.Add(rtnStr);
  1550. return rtnList;
  1551. }
  1552. }
  1553. }
  1554. #endregion
  1555. }
  1556. }