private void Form1_Load(object sender, EventArgs e) { //EmsServiceClient c_EmsService = new EmsServiceClient("xxx","http://localhost:7777/EmsService"); EmsServiceClient c_EmsService = new EmsServiceClient("http://webserv.thematrix.net:7777/EmsService"); EmsMachineRegisterInfo emsMachineRegisterInfo = new EmsMachineRegisterInfo("TWE-00", "MP-TWE-00", "MP", "Y1E3120-4P", "", 0, 0, 0, 0, 0); c_EmsService.Register(emsMachineRegisterInfo); }
public Form1() { InitializeComponent(); m_ServiceClient = new EmsServiceClient("http://127.0.0.1:7777/EmsService/"); m_MC = new Machine(); }