コード例 #1
0
            //static bool chk_40020 = false;
            //static bool chk_40080 = false;
            #endregion
            public void QuoteLogin()
            {
                quoteCom.OnGetStatus  += OnQuoteGetStatus;
                quoteCom.OnRcvMessage += OnQuoteRcvMessage;

                //Console.WriteLine("\nQuoteCom [ Version : " + quoteCom.version + " ]\n Device Ip: " + quoteCom.MyIP);

                quoteCom.Connect(host, port);
                Thread.Sleep(2222);

                string id     = "F131039608";
                string pwd    = "0000";
                char   center = ' ';

                quoteCom.SourceId = srcId;
                quoteCom.Login(id, pwd, center);

                Console.WriteLine("\nQuoteCom [ Version : " + quoteCom.version + " ]\nDevice IP: " + quoteCom.MyIP);
            }