70 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using AR;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Data;
 | |
| using System.Drawing;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace Project.Dialog.Debug
 | |
| {
 | |
|     public partial class fSendInboutData : Form
 | |
|     {
 | |
|         public fSendInboutData()
 | |
|         {
 | |
|             InitializeComponent();
 | |
|         }
 | |
| 
 | |
|         public class reelinfo
 | |
|         {
 | |
|             public string ReelId { get; set; }
 | |
|             public string C { get; set; }
 | |
|             public reelinfo()
 | |
|             {
 | |
| 
 | |
|             }
 | |
|         }
 | |
|         private void button1_Click(object sender, EventArgs e)
 | |
|         {
 | |
|             //post
 | |
| 
 | |
|             var reelinfo = new
 | |
|             {
 | |
|                 AMKOR_SID = tbsid.Text,
 | |
|                 AMKOR_BATCH = tbbatch.Text,
 | |
|                 REEL_ID = tbrid.Text,
 | |
|                 REEL_VENDOR_LOT = tblot.Text,
 | |
|                 REEL_AMKOR_SID = tbsid.Text,
 | |
|                 REEL_QTY = tbqty.Text,
 | |
|                 REEL_MANUFACTURER = tbvname.Text,
 | |
|                 REEL_PRODUCTION_DATE = tbmfg.Text,
 | |
|                 REEL_INCH_INFO = tbinch.Text,
 | |
|                 REEL_PART_NUM = tbpart.Text,
 | |
|                 EQP_ID = tbeqid.Text,
 | |
|                 EQP_NAME = tbeqname.Text,
 | |
|                 BADGE = tbbadge.Text,
 | |
|                 OPER_NAME = tboper.Text,
 | |
|                 HOST_NAME = System.Net.Dns.GetHostEntry("").HostName,
 | |
|             };
 | |
|             UTIL.MsgE("미지원");
 | |
|             //var rlt = Amkor.RestfulService.Inbound_label_attach_reel_info(reelinfo, out string errmsg);
 | |
|             //if (rlt == false) UTIL.MsgE(errmsg);
 | |
| 
 | |
|         }
 | |
| 
 | |
|         private void button2_Click(object sender, EventArgs e)
 | |
|         {
 | |
|             //read
 | |
|         }
 | |
| 
 | |
|         private void fSendInboutData_Load(object sender, EventArgs e)
 | |
|         {
 | |
|             tbeqid.Text = AR.SETTING.Data.MCID;
 | |
|             tbeqname.Text = $"Label Attach {tbeqid.Text}";
 | |
|         }
 | |
|     }
 | |
| }
 | 
