Beispiel #1
0
        public void Start()
        {
            _isRunning = true;
            string rMsg = "";

            SHOPDB_Center = new DB2012Class(ref rMsg, "473080b8a5c7ce14657e92e595540b143155f94d337b53bdbc66beb8fe26ff2d835d3bce1efa21116ab2288250b3bc6ffb93e939372cac5db3780d9ad371a003dc56594500fe3779c48511428b7dbf3097af7942c533a6a25623695c098cf692ad9b7e9661f86c910d593a8917028ea696abdccdd17d76a2bc47a0552b68cb9a390f2eae99f03a9a548286b71e5ff2bfc0ddd76f046e62cd352e2eb8569abc73a11b34e8f19f83c69a041edac680c198b92e781c9c6bc822", "E2D4A6EF", true);

            while (_isRunning)
            {
                try
                {
                    //CreateWXTs();
                    PushProc();
                }
                catch (Exception exception)
                {
                    LogHelper.Logger.Error("写入日志出错。", exception);
                }
                Thread.Sleep(60000);
            }
        }
Beispiel #2
0
        public void Start()
        {
            _isRunning = true;
            string rMsg                 = "";
            string _PublicDBLink        = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=198.20.7.161)(PORT=1521))(CONNECT_DATA=(SERVER = DEDICATED)(SERVICE_NAME=BUCENTER)));";
            string _PublicDBLinkUserPSW = "7ec0e239f1757b5bf2f54eba69443998395bbd406ac277a2507ea4651097434fcb021a4405cf973d7b4001f36b49a9b7";

            DB_Center     = new DB2012Class(ref rMsg, _PublicDBLink, _PublicDBLinkUserPSW, "E2D4A6EF", true);
            SHOPDB_Center = new DB2012Class(ref rMsg, "473080b8a5c7ce14657e92e595540b143155f94d337b53bdbc66beb8fe26ff2d835d3bce1efa21116ab2288250b3bc6ffb93e939372cac5db3780d9ad371a003dc56594500fe3779c48511428b7dbf3097af7942c533a6a25623695c098cf692ad9b7e9661f86c910d593a8917028ea696abdccdd17d76a2bc47a0552b68cb9a390f2eae99f03a9a548286b71e5ff2bfc0ddd76f046e62cd352e2eb8569abc73a11b34e8f19f83c69a041edac680c198b92e781c9c6bc822", "E2D4A6EF", true);

            while (_isRunning)
            {
                try
                {
                    //CreateWXTs();
                    PushProc();
                }
                catch (Exception exception)
                {
                    LogHelper.Logger.Error("写入日志出错。", exception);
                }
                Thread.Sleep(60000);
            }
        }