private void 获取opc配置_Click(object sender, RoutedEventArgs e)
        {
            Tuple <string, Guid> server = cmb_OpcSerList.SelectedItem as Tuple <string, Guid>;

            if (null == server)
            {
                MessageBox.Show("请选择服务点");
                return;
            }
            List <DriveNodeEntity> listDriveNodes;

            OPCHelper.GetOpcServerAllItem(txtOpcIp.Text.Trim(), server.Item2, out listDriveNodes);

            driveNodeRoot.nodeStrGuid = server.Item2.ToString();
            driveNodeRoot.nodeName    = server.Item1;
            driveNodeRoot.serviceIp   = txtOpcIp.Text.Trim();
            driveNodeRoot.childNode   = listDriveNodes;

            string strDriveNodeRoot;

            JsonHelper.ObjectToStrJson(driveNodeRoot, out strDriveNodeRoot);
            Console.WriteLine(strDriveNodeRoot);
        }