CNAS取数仪器端升级
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

786 Zeilen
40KB

  1. namespace CNAS_DBSync
  2. {
  3. partial class frmSyncParams
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  33. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  34. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
  35. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
  36. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
  37. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSyncParams));
  38. this.pnlAll = new System.Windows.Forms.Panel();
  39. this.panel3 = new System.Windows.Forms.Panel();
  40. this.pnlRigh = new System.Windows.Forms.Panel();
  41. this.panel5 = new System.Windows.Forms.Panel();
  42. this.groupBox2 = new System.Windows.Forms.GroupBox();
  43. this.splitContainer1 = new System.Windows.Forms.SplitContainer();
  44. this.tabMapping = new System.Windows.Forms.TabControl();
  45. this.tabPage5 = new System.Windows.Forms.TabPage();
  46. this.dgvMapping = new System.Windows.Forms.DataGridView();
  47. this.InstrumentField = new System.Windows.Forms.DataGridViewTextBoxColumn();
  48. this.CnasField = new System.Windows.Forms.DataGridViewTextBoxColumn();
  49. this.cmsMapping = new System.Windows.Forms.ContextMenuStrip(this.components);
  50. this.btnDelMap = new System.Windows.Forms.ToolStripMenuItem();
  51. this.tabControl1 = new System.Windows.Forms.TabControl();
  52. this.tabPage6 = new System.Windows.Forms.TabPage();
  53. this.splitContainer2 = new System.Windows.Forms.SplitContainer();
  54. this.dgvInstruDS = new System.Windows.Forms.DataGridView();
  55. this.InstruFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
  56. this.InstruDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
  57. this.pnlleft = new System.Windows.Forms.Panel();
  58. this.cbxInstrument = new System.Windows.Forms.ComboBox();
  59. this.label12 = new System.Windows.Forms.Label();
  60. this.dgvCnas = new System.Windows.Forms.DataGridView();
  61. this.CNASFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
  62. this.CnasDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
  63. this.pnlRight = new System.Windows.Forms.Panel();
  64. this.cbxCnas = new System.Windows.Forms.ComboBox();
  65. this.label13 = new System.Windows.Forms.Label();
  66. this.panel1 = new System.Windows.Forms.Panel();
  67. this.panel7 = new System.Windows.Forms.Panel();
  68. this.btnLoadDBData = new System.Windows.Forms.Button();
  69. this.btnAddMapping = new System.Windows.Forms.Button();
  70. this.btnDatabaseConfig = new System.Windows.Forms.Button();
  71. this.panel2 = new System.Windows.Forms.Panel();
  72. this.groupBox1 = new System.Windows.Forms.GroupBox();
  73. this.panel10 = new System.Windows.Forms.Panel();
  74. this.dgvInstrument = new System.Windows.Forms.DataGridView();
  75. this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
  76. this.panel9 = new System.Windows.Forms.Panel();
  77. this.btnAdd = new System.Windows.Forms.Button();
  78. this.btnDel = new System.Windows.Forms.Button();
  79. this.panel8 = new System.Windows.Forms.Panel();
  80. this.label1 = new System.Windows.Forms.Label();
  81. this.btnSave = new System.Windows.Forms.Button();
  82. this.panel11 = new System.Windows.Forms.Panel();
  83. this.panel12 = new System.Windows.Forms.Panel();
  84. this.panel4 = new System.Windows.Forms.Panel();
  85. this.panel13 = new System.Windows.Forms.Panel();
  86. this.panel6 = new System.Windows.Forms.Panel();
  87. this.pnlAll.SuspendLayout();
  88. this.panel3.SuspendLayout();
  89. this.pnlRigh.SuspendLayout();
  90. this.panel5.SuspendLayout();
  91. this.groupBox2.SuspendLayout();
  92. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
  93. this.splitContainer1.Panel1.SuspendLayout();
  94. this.splitContainer1.Panel2.SuspendLayout();
  95. this.splitContainer1.SuspendLayout();
  96. this.tabMapping.SuspendLayout();
  97. this.tabPage5.SuspendLayout();
  98. ((System.ComponentModel.ISupportInitialize)(this.dgvMapping)).BeginInit();
  99. this.cmsMapping.SuspendLayout();
  100. this.tabControl1.SuspendLayout();
  101. this.tabPage6.SuspendLayout();
  102. ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
  103. this.splitContainer2.Panel1.SuspendLayout();
  104. this.splitContainer2.Panel2.SuspendLayout();
  105. this.splitContainer2.SuspendLayout();
  106. ((System.ComponentModel.ISupportInitialize)(this.dgvInstruDS)).BeginInit();
  107. this.pnlleft.SuspendLayout();
  108. ((System.ComponentModel.ISupportInitialize)(this.dgvCnas)).BeginInit();
  109. this.pnlRight.SuspendLayout();
  110. this.panel1.SuspendLayout();
  111. this.panel7.SuspendLayout();
  112. this.groupBox1.SuspendLayout();
  113. this.panel10.SuspendLayout();
  114. ((System.ComponentModel.ISupportInitialize)(this.dgvInstrument)).BeginInit();
  115. this.panel9.SuspendLayout();
  116. this.panel8.SuspendLayout();
  117. this.panel11.SuspendLayout();
  118. this.panel12.SuspendLayout();
  119. this.panel4.SuspendLayout();
  120. this.panel13.SuspendLayout();
  121. this.SuspendLayout();
  122. //
  123. // pnlAll
  124. //
  125. this.pnlAll.Controls.Add(this.panel3);
  126. this.pnlAll.Controls.Add(this.panel2);
  127. this.pnlAll.Controls.Add(this.groupBox1);
  128. this.pnlAll.Dock = System.Windows.Forms.DockStyle.Fill;
  129. this.pnlAll.Location = new System.Drawing.Point(0, 0);
  130. this.pnlAll.Name = "pnlAll";
  131. this.pnlAll.Size = new System.Drawing.Size(796, 463);
  132. this.pnlAll.TabIndex = 0;
  133. //
  134. // panel3
  135. //
  136. this.panel3.Controls.Add(this.pnlRigh);
  137. this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
  138. this.panel3.Location = new System.Drawing.Point(156, 0);
  139. this.panel3.Name = "panel3";
  140. this.panel3.Size = new System.Drawing.Size(640, 463);
  141. this.panel3.TabIndex = 5;
  142. //
  143. // pnlRigh
  144. //
  145. this.pnlRigh.Controls.Add(this.panel5);
  146. this.pnlRigh.Controls.Add(this.panel1);
  147. this.pnlRigh.Dock = System.Windows.Forms.DockStyle.Fill;
  148. this.pnlRigh.Location = new System.Drawing.Point(0, 0);
  149. this.pnlRigh.Name = "pnlRigh";
  150. this.pnlRigh.Size = new System.Drawing.Size(640, 463);
  151. this.pnlRigh.TabIndex = 5;
  152. //
  153. // panel5
  154. //
  155. this.panel5.Controls.Add(this.groupBox2);
  156. this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
  157. this.panel5.Location = new System.Drawing.Point(0, 0);
  158. this.panel5.Name = "panel5";
  159. this.panel5.Size = new System.Drawing.Size(640, 422);
  160. this.panel5.TabIndex = 4;
  161. //
  162. // groupBox2
  163. //
  164. this.groupBox2.Controls.Add(this.splitContainer1);
  165. this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  166. this.groupBox2.Location = new System.Drawing.Point(0, 0);
  167. this.groupBox2.Name = "groupBox2";
  168. this.groupBox2.Size = new System.Drawing.Size(640, 422);
  169. this.groupBox2.TabIndex = 1;
  170. this.groupBox2.TabStop = false;
  171. this.groupBox2.Text = "详情";
  172. //
  173. // splitContainer1
  174. //
  175. this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  176. this.splitContainer1.Location = new System.Drawing.Point(3, 19);
  177. this.splitContainer1.Name = "splitContainer1";
  178. this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
  179. //
  180. // splitContainer1.Panel1
  181. //
  182. this.splitContainer1.Panel1.Controls.Add(this.tabMapping);
  183. //
  184. // splitContainer1.Panel2
  185. //
  186. this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
  187. this.splitContainer1.Size = new System.Drawing.Size(634, 400);
  188. this.splitContainer1.SplitterDistance = 199;
  189. this.splitContainer1.TabIndex = 2;
  190. //
  191. // tabMapping
  192. //
  193. this.tabMapping.Controls.Add(this.tabPage5);
  194. this.tabMapping.Dock = System.Windows.Forms.DockStyle.Fill;
  195. this.tabMapping.Location = new System.Drawing.Point(0, 0);
  196. this.tabMapping.Name = "tabMapping";
  197. this.tabMapping.SelectedIndex = 0;
  198. this.tabMapping.Size = new System.Drawing.Size(634, 199);
  199. this.tabMapping.TabIndex = 0;
  200. //
  201. // tabPage5
  202. //
  203. this.tabPage5.Controls.Add(this.dgvMapping);
  204. this.tabPage5.Location = new System.Drawing.Point(4, 26);
  205. this.tabPage5.Name = "tabPage5";
  206. this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
  207. this.tabPage5.Size = new System.Drawing.Size(626, 169);
  208. this.tabPage5.TabIndex = 1;
  209. this.tabPage5.Text = "映射表";
  210. this.tabPage5.UseVisualStyleBackColor = true;
  211. //
  212. // dgvMapping
  213. //
  214. this.dgvMapping.AllowUserToAddRows = false;
  215. this.dgvMapping.BackgroundColor = System.Drawing.Color.White;
  216. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  217. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
  218. dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  219. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  220. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  221. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  222. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  223. this.dgvMapping.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  224. this.dgvMapping.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  225. this.dgvMapping.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  226. this.InstrumentField,
  227. this.CnasField});
  228. this.dgvMapping.ContextMenuStrip = this.cmsMapping;
  229. this.dgvMapping.Dock = System.Windows.Forms.DockStyle.Fill;
  230. this.dgvMapping.Location = new System.Drawing.Point(3, 3);
  231. this.dgvMapping.MultiSelect = false;
  232. this.dgvMapping.Name = "dgvMapping";
  233. this.dgvMapping.ReadOnly = true;
  234. this.dgvMapping.RowHeadersVisible = false;
  235. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  236. this.dgvMapping.RowsDefaultCellStyle = dataGridViewCellStyle2;
  237. this.dgvMapping.RowTemplate.Height = 23;
  238. this.dgvMapping.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  239. this.dgvMapping.Size = new System.Drawing.Size(620, 163);
  240. this.dgvMapping.TabIndex = 0;
  241. //
  242. // InstrumentField
  243. //
  244. this.InstrumentField.DataPropertyName = "SourceField";
  245. this.InstrumentField.HeaderText = "仪器数据列";
  246. this.InstrumentField.Name = "InstrumentField";
  247. this.InstrumentField.ReadOnly = true;
  248. this.InstrumentField.Width = 305;
  249. //
  250. // CnasField
  251. //
  252. this.CnasField.DataPropertyName = "TargetField";
  253. this.CnasField.HeaderText = "CNAS数据列";
  254. this.CnasField.Name = "CnasField";
  255. this.CnasField.ReadOnly = true;
  256. this.CnasField.Width = 305;
  257. //
  258. // cmsMapping
  259. //
  260. this.cmsMapping.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  261. this.btnDelMap});
  262. this.cmsMapping.Name = "cmsMapping";
  263. this.cmsMapping.Size = new System.Drawing.Size(101, 26);
  264. //
  265. // btnDelMap
  266. //
  267. this.btnDelMap.Name = "btnDelMap";
  268. this.btnDelMap.Size = new System.Drawing.Size(100, 22);
  269. this.btnDelMap.Text = "移除";
  270. this.btnDelMap.Click += new System.EventHandler(this.btnDelMap_Click);
  271. //
  272. // tabControl1
  273. //
  274. this.tabControl1.Controls.Add(this.tabPage6);
  275. this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
  276. this.tabControl1.Location = new System.Drawing.Point(0, 0);
  277. this.tabControl1.Name = "tabControl1";
  278. this.tabControl1.SelectedIndex = 0;
  279. this.tabControl1.Size = new System.Drawing.Size(634, 197);
  280. this.tabControl1.TabIndex = 1;
  281. //
  282. // tabPage6
  283. //
  284. this.tabPage6.Controls.Add(this.splitContainer2);
  285. this.tabPage6.Location = new System.Drawing.Point(4, 26);
  286. this.tabPage6.Name = "tabPage6";
  287. this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
  288. this.tabPage6.Size = new System.Drawing.Size(626, 167);
  289. this.tabPage6.TabIndex = 1;
  290. this.tabPage6.Text = "字段";
  291. this.tabPage6.UseVisualStyleBackColor = true;
  292. //
  293. // splitContainer2
  294. //
  295. this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
  296. this.splitContainer2.Location = new System.Drawing.Point(3, 3);
  297. this.splitContainer2.Name = "splitContainer2";
  298. //
  299. // splitContainer2.Panel1
  300. //
  301. this.splitContainer2.Panel1.Controls.Add(this.dgvInstruDS);
  302. this.splitContainer2.Panel1.Controls.Add(this.pnlleft);
  303. //
  304. // splitContainer2.Panel2
  305. //
  306. this.splitContainer2.Panel2.Controls.Add(this.dgvCnas);
  307. this.splitContainer2.Panel2.Controls.Add(this.pnlRight);
  308. this.splitContainer2.Size = new System.Drawing.Size(620, 161);
  309. this.splitContainer2.SplitterDistance = 307;
  310. this.splitContainer2.TabIndex = 1;
  311. //
  312. // dgvInstruDS
  313. //
  314. this.dgvInstruDS.AllowUserToAddRows = false;
  315. this.dgvInstruDS.BackgroundColor = System.Drawing.Color.White;
  316. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  317. dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
  318. dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  319. dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
  320. dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  321. dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  322. dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  323. this.dgvInstruDS.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
  324. this.dgvInstruDS.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  325. this.dgvInstruDS.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  326. this.InstruFieldName,
  327. this.InstruDataType});
  328. this.dgvInstruDS.Dock = System.Windows.Forms.DockStyle.Fill;
  329. this.dgvInstruDS.Location = new System.Drawing.Point(0, 34);
  330. this.dgvInstruDS.Name = "dgvInstruDS";
  331. this.dgvInstruDS.ReadOnly = true;
  332. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  333. this.dgvInstruDS.RowsDefaultCellStyle = dataGridViewCellStyle4;
  334. this.dgvInstruDS.RowTemplate.Height = 23;
  335. this.dgvInstruDS.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  336. this.dgvInstruDS.Size = new System.Drawing.Size(307, 127);
  337. this.dgvInstruDS.TabIndex = 1;
  338. //
  339. // InstruFieldName
  340. //
  341. this.InstruFieldName.DataPropertyName = "InstruFieldName";
  342. this.InstruFieldName.HeaderText = "列名";
  343. this.InstruFieldName.Name = "InstruFieldName";
  344. this.InstruFieldName.ReadOnly = true;
  345. this.InstruFieldName.Width = 150;
  346. //
  347. // InstruDataType
  348. //
  349. this.InstruDataType.DataPropertyName = "InstruDataType";
  350. this.InstruDataType.HeaderText = "数据类型";
  351. this.InstruDataType.Name = "InstruDataType";
  352. this.InstruDataType.ReadOnly = true;
  353. //
  354. // pnlleft
  355. //
  356. this.pnlleft.Controls.Add(this.cbxInstrument);
  357. this.pnlleft.Controls.Add(this.label12);
  358. this.pnlleft.Dock = System.Windows.Forms.DockStyle.Top;
  359. this.pnlleft.Location = new System.Drawing.Point(0, 0);
  360. this.pnlleft.Name = "pnlleft";
  361. this.pnlleft.Size = new System.Drawing.Size(307, 34);
  362. this.pnlleft.TabIndex = 0;
  363. //
  364. // cbxInstrument
  365. //
  366. this.cbxInstrument.FormattingEnabled = true;
  367. this.cbxInstrument.Location = new System.Drawing.Point(104, 6);
  368. this.cbxInstrument.Name = "cbxInstrument";
  369. this.cbxInstrument.Size = new System.Drawing.Size(144, 25);
  370. this.cbxInstrument.TabIndex = 1;
  371. this.cbxInstrument.SelectedIndexChanged += new System.EventHandler(this.cbxInstrument_SelectedIndexChanged);
  372. //
  373. // label12
  374. //
  375. this.label12.AutoSize = true;
  376. this.label12.Location = new System.Drawing.Point(3, 10);
  377. this.label12.Name = "label12";
  378. this.label12.Size = new System.Drawing.Size(104, 17);
  379. this.label12.TabIndex = 0;
  380. this.label12.Text = "仪器数据源表名:";
  381. //
  382. // dgvCnas
  383. //
  384. this.dgvCnas.AllowUserToAddRows = false;
  385. this.dgvCnas.BackgroundColor = System.Drawing.Color.White;
  386. dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  387. dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
  388. dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  389. dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
  390. dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  391. dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  392. dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  393. this.dgvCnas.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
  394. this.dgvCnas.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  395. this.dgvCnas.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  396. this.CNASFieldName,
  397. this.CnasDataType});
  398. this.dgvCnas.Dock = System.Windows.Forms.DockStyle.Fill;
  399. this.dgvCnas.Location = new System.Drawing.Point(0, 34);
  400. this.dgvCnas.Name = "dgvCnas";
  401. this.dgvCnas.ReadOnly = true;
  402. dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  403. this.dgvCnas.RowsDefaultCellStyle = dataGridViewCellStyle6;
  404. this.dgvCnas.RowTemplate.Height = 23;
  405. this.dgvCnas.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  406. this.dgvCnas.Size = new System.Drawing.Size(309, 127);
  407. this.dgvCnas.TabIndex = 2;
  408. //
  409. // CNASFieldName
  410. //
  411. this.CNASFieldName.DataPropertyName = "CnasFieldName";
  412. this.CNASFieldName.HeaderText = "列名";
  413. this.CNASFieldName.Name = "CNASFieldName";
  414. this.CNASFieldName.ReadOnly = true;
  415. this.CNASFieldName.Width = 150;
  416. //
  417. // CnasDataType
  418. //
  419. this.CnasDataType.DataPropertyName = "CnasDataType";
  420. this.CnasDataType.HeaderText = "数据类型";
  421. this.CnasDataType.Name = "CnasDataType";
  422. this.CnasDataType.ReadOnly = true;
  423. //
  424. // pnlRight
  425. //
  426. this.pnlRight.Controls.Add(this.cbxCnas);
  427. this.pnlRight.Controls.Add(this.label13);
  428. this.pnlRight.Dock = System.Windows.Forms.DockStyle.Top;
  429. this.pnlRight.Location = new System.Drawing.Point(0, 0);
  430. this.pnlRight.Name = "pnlRight";
  431. this.pnlRight.Size = new System.Drawing.Size(309, 34);
  432. this.pnlRight.TabIndex = 0;
  433. //
  434. // cbxCnas
  435. //
  436. this.cbxCnas.FormattingEnabled = true;
  437. this.cbxCnas.Location = new System.Drawing.Point(122, 6);
  438. this.cbxCnas.Name = "cbxCnas";
  439. this.cbxCnas.Size = new System.Drawing.Size(149, 25);
  440. this.cbxCnas.TabIndex = 2;
  441. this.cbxCnas.SelectedIndexChanged += new System.EventHandler(this.cbxCnas_SelectedIndexChanged);
  442. //
  443. // label13
  444. //
  445. this.label13.AutoSize = true;
  446. this.label13.Location = new System.Drawing.Point(3, 10);
  447. this.label13.Name = "label13";
  448. this.label13.Size = new System.Drawing.Size(113, 17);
  449. this.label13.TabIndex = 1;
  450. this.label13.Text = "CNAS数据库表名:";
  451. //
  452. // panel1
  453. //
  454. this.panel1.Controls.Add(this.panel7);
  455. this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
  456. this.panel1.Location = new System.Drawing.Point(0, 422);
  457. this.panel1.Name = "panel1";
  458. this.panel1.Size = new System.Drawing.Size(640, 41);
  459. this.panel1.TabIndex = 3;
  460. //
  461. // panel7
  462. //
  463. this.panel7.Controls.Add(this.btnLoadDBData);
  464. this.panel7.Controls.Add(this.btnAddMapping);
  465. this.panel7.Controls.Add(this.btnDatabaseConfig);
  466. this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
  467. this.panel7.Location = new System.Drawing.Point(272, 0);
  468. this.panel7.Name = "panel7";
  469. this.panel7.Size = new System.Drawing.Size(368, 41);
  470. this.panel7.TabIndex = 5;
  471. //
  472. // btnLoadDBData
  473. //
  474. this.btnLoadDBData.Location = new System.Drawing.Point(169, 3);
  475. this.btnLoadDBData.Name = "btnLoadDBData";
  476. this.btnLoadDBData.Size = new System.Drawing.Size(79, 23);
  477. this.btnLoadDBData.TabIndex = 4;
  478. this.btnLoadDBData.Text = "加载数据";
  479. this.btnLoadDBData.UseVisualStyleBackColor = true;
  480. this.btnLoadDBData.Click += new System.EventHandler(this.btnLoadDBData_Click);
  481. //
  482. // btnAddMapping
  483. //
  484. this.btnAddMapping.Location = new System.Drawing.Point(84, 3);
  485. this.btnAddMapping.Name = "btnAddMapping";
  486. this.btnAddMapping.Size = new System.Drawing.Size(79, 23);
  487. this.btnAddMapping.TabIndex = 2;
  488. this.btnAddMapping.Text = "新增映射";
  489. this.btnAddMapping.UseVisualStyleBackColor = true;
  490. this.btnAddMapping.Click += new System.EventHandler(this.btnAddMapping_Click);
  491. //
  492. // btnDatabaseConfig
  493. //
  494. this.btnDatabaseConfig.Location = new System.Drawing.Point(254, 3);
  495. this.btnDatabaseConfig.Name = "btnDatabaseConfig";
  496. this.btnDatabaseConfig.Size = new System.Drawing.Size(79, 23);
  497. this.btnDatabaseConfig.TabIndex = 3;
  498. this.btnDatabaseConfig.Text = "配置数据库";
  499. this.btnDatabaseConfig.UseVisualStyleBackColor = true;
  500. this.btnDatabaseConfig.Click += new System.EventHandler(this.btnDatabaseConfig_Click);
  501. //
  502. // panel2
  503. //
  504. this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
  505. this.panel2.Location = new System.Drawing.Point(146, 0);
  506. this.panel2.Name = "panel2";
  507. this.panel2.Size = new System.Drawing.Size(10, 463);
  508. this.panel2.TabIndex = 4;
  509. //
  510. // groupBox1
  511. //
  512. this.groupBox1.Controls.Add(this.panel10);
  513. this.groupBox1.Controls.Add(this.panel9);
  514. this.groupBox1.Controls.Add(this.panel8);
  515. this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
  516. this.groupBox1.Location = new System.Drawing.Point(0, 0);
  517. this.groupBox1.Name = "groupBox1";
  518. this.groupBox1.Size = new System.Drawing.Size(146, 463);
  519. this.groupBox1.TabIndex = 0;
  520. this.groupBox1.TabStop = false;
  521. this.groupBox1.Text = "仪器";
  522. //
  523. // panel10
  524. //
  525. this.panel10.Controls.Add(this.dgvInstrument);
  526. this.panel10.Dock = System.Windows.Forms.DockStyle.Fill;
  527. this.panel10.Location = new System.Drawing.Point(3, 45);
  528. this.panel10.Name = "panel10";
  529. this.panel10.Size = new System.Drawing.Size(140, 369);
  530. this.panel10.TabIndex = 6;
  531. //
  532. // dgvInstrument
  533. //
  534. this.dgvInstrument.AllowUserToAddRows = false;
  535. this.dgvInstrument.BackgroundColor = System.Drawing.Color.White;
  536. dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  537. dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
  538. dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  539. dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
  540. dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  541. dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  542. dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  543. this.dgvInstrument.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
  544. this.dgvInstrument.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  545. this.dgvInstrument.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  546. this.Code});
  547. this.dgvInstrument.Dock = System.Windows.Forms.DockStyle.Fill;
  548. this.dgvInstrument.Location = new System.Drawing.Point(0, 0);
  549. this.dgvInstrument.MultiSelect = false;
  550. this.dgvInstrument.Name = "dgvInstrument";
  551. this.dgvInstrument.ReadOnly = true;
  552. this.dgvInstrument.RowHeadersVisible = false;
  553. dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  554. this.dgvInstrument.RowsDefaultCellStyle = dataGridViewCellStyle8;
  555. this.dgvInstrument.RowTemplate.Height = 23;
  556. this.dgvInstrument.Size = new System.Drawing.Size(140, 369);
  557. this.dgvInstrument.TabIndex = 0;
  558. this.dgvInstrument.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvInstrument_CellDoubleClick);
  559. this.dgvInstrument.SelectionChanged += new System.EventHandler(this.dgvInstrument_SelectionChanged);
  560. //
  561. // Code
  562. //
  563. this.Code.DataPropertyName = "Code";
  564. this.Code.HeaderText = "仪器编号";
  565. this.Code.Name = "Code";
  566. this.Code.ReadOnly = true;
  567. this.Code.Width = 135;
  568. //
  569. // panel9
  570. //
  571. this.panel9.Controls.Add(this.btnAdd);
  572. this.panel9.Controls.Add(this.btnDel);
  573. this.panel9.Dock = System.Windows.Forms.DockStyle.Bottom;
  574. this.panel9.Location = new System.Drawing.Point(3, 414);
  575. this.panel9.Name = "panel9";
  576. this.panel9.Size = new System.Drawing.Size(140, 46);
  577. this.panel9.TabIndex = 5;
  578. //
  579. // btnAdd
  580. //
  581. this.btnAdd.Location = new System.Drawing.Point(3, 11);
  582. this.btnAdd.Name = "btnAdd";
  583. this.btnAdd.Size = new System.Drawing.Size(58, 23);
  584. this.btnAdd.TabIndex = 1;
  585. this.btnAdd.Text = "新增";
  586. this.btnAdd.UseVisualStyleBackColor = true;
  587. this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
  588. //
  589. // btnDel
  590. //
  591. this.btnDel.Location = new System.Drawing.Point(68, 11);
  592. this.btnDel.Name = "btnDel";
  593. this.btnDel.Size = new System.Drawing.Size(58, 23);
  594. this.btnDel.TabIndex = 2;
  595. this.btnDel.Text = "删除";
  596. this.btnDel.UseVisualStyleBackColor = true;
  597. this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
  598. //
  599. // panel8
  600. //
  601. this.panel8.Controls.Add(this.label1);
  602. this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
  603. this.panel8.Location = new System.Drawing.Point(3, 19);
  604. this.panel8.Name = "panel8";
  605. this.panel8.Size = new System.Drawing.Size(140, 26);
  606. this.panel8.TabIndex = 4;
  607. //
  608. // label1
  609. //
  610. this.label1.AutoSize = true;
  611. this.label1.Location = new System.Drawing.Point(4, 5);
  612. this.label1.Name = "label1";
  613. this.label1.Size = new System.Drawing.Size(68, 17);
  614. this.label1.TabIndex = 3;
  615. this.label1.Text = "当前选中:";
  616. //
  617. // btnSave
  618. //
  619. this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  620. this.btnSave.Location = new System.Drawing.Point(18, 4);
  621. this.btnSave.Name = "btnSave";
  622. this.btnSave.Size = new System.Drawing.Size(82, 35);
  623. this.btnSave.TabIndex = 3;
  624. this.btnSave.Text = "保存";
  625. this.btnSave.UseVisualStyleBackColor = true;
  626. this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
  627. //
  628. // panel11
  629. //
  630. this.panel11.Controls.Add(this.panel12);
  631. this.panel11.Dock = System.Windows.Forms.DockStyle.Bottom;
  632. this.panel11.Location = new System.Drawing.Point(0, 465);
  633. this.panel11.Name = "panel11";
  634. this.panel11.Size = new System.Drawing.Size(796, 43);
  635. this.panel11.TabIndex = 1;
  636. //
  637. // panel12
  638. //
  639. this.panel12.Controls.Add(this.btnSave);
  640. this.panel12.Dock = System.Windows.Forms.DockStyle.Right;
  641. this.panel12.Location = new System.Drawing.Point(682, 0);
  642. this.panel12.Name = "panel12";
  643. this.panel12.Size = new System.Drawing.Size(114, 43);
  644. this.panel12.TabIndex = 0;
  645. //
  646. // panel4
  647. //
  648. this.panel4.Controls.Add(this.panel13);
  649. this.panel4.Controls.Add(this.panel6);
  650. this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
  651. this.panel4.Location = new System.Drawing.Point(0, 0);
  652. this.panel4.Name = "panel4";
  653. this.panel4.Size = new System.Drawing.Size(796, 465);
  654. this.panel4.TabIndex = 2;
  655. //
  656. // panel13
  657. //
  658. this.panel13.Controls.Add(this.pnlAll);
  659. this.panel13.Dock = System.Windows.Forms.DockStyle.Fill;
  660. this.panel13.Location = new System.Drawing.Point(0, 0);
  661. this.panel13.Name = "panel13";
  662. this.panel13.Size = new System.Drawing.Size(796, 463);
  663. this.panel13.TabIndex = 2;
  664. //
  665. // panel6
  666. //
  667. this.panel6.BackColor = System.Drawing.SystemColors.ControlDark;
  668. this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom;
  669. this.panel6.Location = new System.Drawing.Point(0, 463);
  670. this.panel6.Name = "panel6";
  671. this.panel6.Size = new System.Drawing.Size(796, 2);
  672. this.panel6.TabIndex = 1;
  673. //
  674. // frmSyncParams
  675. //
  676. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  677. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  678. this.ClientSize = new System.Drawing.Size(796, 508);
  679. this.Controls.Add(this.panel4);
  680. this.Controls.Add(this.panel11);
  681. this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  682. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  683. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  684. this.Name = "frmSyncParams";
  685. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  686. this.Text = "仪器数据上传工具";
  687. this.Load += new System.EventHandler(this.frmSyncParams_Load);
  688. this.pnlAll.ResumeLayout(false);
  689. this.panel3.ResumeLayout(false);
  690. this.pnlRigh.ResumeLayout(false);
  691. this.panel5.ResumeLayout(false);
  692. this.groupBox2.ResumeLayout(false);
  693. this.splitContainer1.Panel1.ResumeLayout(false);
  694. this.splitContainer1.Panel2.ResumeLayout(false);
  695. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
  696. this.splitContainer1.ResumeLayout(false);
  697. this.tabMapping.ResumeLayout(false);
  698. this.tabPage5.ResumeLayout(false);
  699. ((System.ComponentModel.ISupportInitialize)(this.dgvMapping)).EndInit();
  700. this.cmsMapping.ResumeLayout(false);
  701. this.tabControl1.ResumeLayout(false);
  702. this.tabPage6.ResumeLayout(false);
  703. this.splitContainer2.Panel1.ResumeLayout(false);
  704. this.splitContainer2.Panel2.ResumeLayout(false);
  705. ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
  706. this.splitContainer2.ResumeLayout(false);
  707. ((System.ComponentModel.ISupportInitialize)(this.dgvInstruDS)).EndInit();
  708. this.pnlleft.ResumeLayout(false);
  709. this.pnlleft.PerformLayout();
  710. ((System.ComponentModel.ISupportInitialize)(this.dgvCnas)).EndInit();
  711. this.pnlRight.ResumeLayout(false);
  712. this.pnlRight.PerformLayout();
  713. this.panel1.ResumeLayout(false);
  714. this.panel7.ResumeLayout(false);
  715. this.groupBox1.ResumeLayout(false);
  716. this.panel10.ResumeLayout(false);
  717. ((System.ComponentModel.ISupportInitialize)(this.dgvInstrument)).EndInit();
  718. this.panel9.ResumeLayout(false);
  719. this.panel8.ResumeLayout(false);
  720. this.panel8.PerformLayout();
  721. this.panel11.ResumeLayout(false);
  722. this.panel12.ResumeLayout(false);
  723. this.panel4.ResumeLayout(false);
  724. this.panel13.ResumeLayout(false);
  725. this.ResumeLayout(false);
  726. }
  727. #endregion
  728. private System.Windows.Forms.Panel pnlAll;
  729. private System.Windows.Forms.GroupBox groupBox2;
  730. private System.Windows.Forms.GroupBox groupBox1;
  731. private System.Windows.Forms.Button btnSave;
  732. private System.Windows.Forms.Button btnDel;
  733. private System.Windows.Forms.Button btnAdd;
  734. private System.Windows.Forms.Label label1;
  735. private System.Windows.Forms.SplitContainer splitContainer2;
  736. private System.Windows.Forms.DataGridView dgvInstruDS;
  737. private System.Windows.Forms.Panel pnlleft;
  738. private System.Windows.Forms.ComboBox cbxInstrument;
  739. private System.Windows.Forms.Label label12;
  740. private System.Windows.Forms.DataGridView dgvCnas;
  741. private System.Windows.Forms.Panel pnlRight;
  742. private System.Windows.Forms.ComboBox cbxCnas;
  743. private System.Windows.Forms.Label label13;
  744. private System.Windows.Forms.Button btnAddMapping;
  745. private System.Windows.Forms.TabControl tabMapping;
  746. private System.Windows.Forms.TabPage tabPage5;
  747. private System.Windows.Forms.DataGridView dgvInstrument;
  748. private System.Windows.Forms.DataGridView dgvMapping;
  749. private System.Windows.Forms.ContextMenuStrip cmsMapping;
  750. private System.Windows.Forms.ToolStripMenuItem btnDelMap;
  751. private System.Windows.Forms.Panel panel3;
  752. private System.Windows.Forms.TabControl tabControl1;
  753. private System.Windows.Forms.TabPage tabPage6;
  754. private System.Windows.Forms.Panel panel1;
  755. private System.Windows.Forms.Button btnDatabaseConfig;
  756. private System.Windows.Forms.Panel panel2;
  757. private System.Windows.Forms.Panel pnlRigh;
  758. private System.Windows.Forms.SplitContainer splitContainer1;
  759. private System.Windows.Forms.Panel panel5;
  760. private System.Windows.Forms.Button btnLoadDBData;
  761. private System.Windows.Forms.Panel panel7;
  762. private System.Windows.Forms.Panel panel10;
  763. private System.Windows.Forms.Panel panel9;
  764. private System.Windows.Forms.Panel panel8;
  765. private System.Windows.Forms.Panel panel11;
  766. private System.Windows.Forms.Panel panel12;
  767. private System.Windows.Forms.Panel panel4;
  768. private System.Windows.Forms.Panel panel13;
  769. private System.Windows.Forms.Panel panel6;
  770. private System.Windows.Forms.DataGridViewTextBoxColumn Code;
  771. private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentField;
  772. private System.Windows.Forms.DataGridViewTextBoxColumn CnasField;
  773. private System.Windows.Forms.DataGridViewTextBoxColumn InstruFieldName;
  774. private System.Windows.Forms.DataGridViewTextBoxColumn InstruDataType;
  775. private System.Windows.Forms.DataGridViewTextBoxColumn CNASFieldName;
  776. private System.Windows.Forms.DataGridViewTextBoxColumn CnasDataType;
  777. }
  778. }