예제 #1
0
파일: MainForm.cs 프로젝트: gofixiao/Midea
 public UnloadingPointThreadClass(MainForm form, CallBackDelegateWriteLog callBackDelegateWriteLog)
 {
     this.form = form;
     this.callBackDelegateWriteLog = callBackDelegateWriteLog;
 }
예제 #2
0
파일: MainForm.cs 프로젝트: gofixiao/Midea
        private void MainForm_Load(object sender, EventArgs e)
        {
            //this.chkSwitch.Checked = true;
            //当前日期
            this.dtCurrent = System.DateTime.Today;
            LogPathSub = dtCurrent.ToString("yyyyMM");
            //初始化托盘程序的各个要素
            InitializeNotifyIcon();
            this.AddLog("ASCM网络服务端程序启动...");
            mainForm = this;
            //this.dateTimePicker1.Enabled = this.radioButtonManual.Checked;

            //string server = "http://localhost:8537/";
            //string server = "http://10.16.9.42:83/";

            //MideaAscm.Client.DalInterface.AscmWsInterface.oWebProxy = oWebProxy;
            //MideaAscm.Client.DalInterface.AscmWsInterface.webSericeUrl = server + "AscmWebService.asmx";
        }