Example #1
0
        private void readFileXml2()
        {
            ReadParserXml rpx = new ReadParserXml();

            rpx.readXml(dataFile.xml2);
            rpx.parseXml();
            if (rpx.isRet == 0)
            {
                update(rpx.err, "", "", "warning");
            }
            else
            {
                update("", rpx.name, rpx.artist, "on");
            }
        }
Example #2
0
        private void readFileXml()
        {
            ReadParserXml rpx = new ReadParserXml();

            rpx.readXml(dataFile.xml);
            rpx.parseXml();
            if (rpx.isRet == 0)
            {
                update(rpx.err, "", "", "warning");
            }
            else
            {
                if (rpx.retransmission == "0")
                {
                    Console.WriteLine("Start Start2");
                    Start2();
                }
                else
                {
                    Stop2();
                    update("", rpx.name, rpx.artist, "on");
                }
            }
        }