public CCamInfo GetCCamInfo(string id)
        {
            CCamInfo info = null;

            if (ListCCamInfo.Count <= 0)
            {
                return(info);
            }

            info = ListCCamInfo.Find(p => p.cam_id == id);

            return(info);
        }
        private void LoadMstCCam()
        {
            try
            {
                string    sql = string.Format(MV.SQL.S_MST_CCAM_INFO);
                DataTable dt  = new DataTable();
                if (MV.DbManager.Fill(sql, dt) < 0)
                {
                    MakeLog(string.Format("[{0}] - {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, string.Format("교차로 카메라 정보 로딩실패.")));
                    MakeLog(string.Format("[{0}] - {1} \n{2}", System.Reflection.MethodBase.GetCurrentMethod().Name, sql, MV.DbManager.GetErrorMsg()));
                }

                ListCCamInfo.Clear();
                foreach (DataRow dr in dt.Rows)
                {
                    CCamInfo info = new CCamInfo();

                    info.cam_id    = dr["CAM_ID"].ToString();
                    info.parent_id = dr["PARENT_ID"].ToString();
                    info.name      = dr["NAME"].ToString();
                    info.ip        = dr["IP"].ToString();
                    info.id        = dr["ID"].ToString();
                    info.pw        = dr["PW"].ToString();
                    info.rtsp_url  = dr["RTSP_URL"].ToString();
                    int.TryParse(dr["RTSP_PORT"].ToString(), out info.rtsp_port);
                    int.TryParse(dr["HTTP_PORT"].ToString(), out info.http_port);
                    info.cross_id  = dr["CROSS_ID"].ToString();
                    info.right_use = dr["RIGHT_USE"].ToString();

                    ListCCamInfo.Add(info);
                }
            }
            catch (Exception ex)
            {
                MakeLog(string.Format("[{0}] - {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, ex.Message.Replace("'", "")));
            }
        }