示例#1
0
        public ActionResult publish(casepublist modal)
        {
            if (!User.Identity.IsAuthenticated)
            {
                return(Redirect("/home"));
            }
            //判断是否存在respondid 存在的话是站内输入  不存在的话是手动输入
            //if (modal.respondentid == null)
            //{
            //    if (modal.respondent == null) { }
            //    ModelState.AddModelError("","应诉人不能为空");
            //    return View();
            //}

            //应诉人可以为空
            if (string.IsNullOrEmpty(modal.content))
            {
                ModelState.AddModelError("", "案件内容不能为空");
                return(View());
            }
            if (modal.content.Length < 50)
            {
                ModelState.AddModelError("", "输入的案件信息需要在50字以上,请补充内容");
                return(View());
            }
            CaseInfo dbcase = new CaseInfo();
            var      result = dbcase.PublishCase(modal);

            if (result == 1)
            {
                return(Redirect("/home"));
            }
            ModelState.AddModelError("", "发布案件出现问题,请修改信息后重新发布");
            return(View());
        }
示例#2
0
 public static EocSwitchStatement Translate(CodeConverter C, SwitchStatement stat)
 {
     return(new EocSwitchStatement(
                C,
                stat.Case.Select(x => CaseInfo.Translate(C, x)).ToList(),
                EocStatementBlock.Translate(C, stat.DefaultBlock)));
 }
示例#3
0
        public List <CaseInfo> GetAllCase()
        {
            List <CaseInfo> list = new List <CaseInfo>();
            //for (int i = 0; i < 10; i++)
            //{
            //    list.Add(new CaseInfo()
            //    {
            //        CaseDescription = "aaaaa",
            //        CaseHappenAddr = "sfasdf",
            //        CaseHappenTime = DateTime.Now,
            //        CaseID = (uint)i,
            //        CaseName = "case" + i,
            //        CaseNo = "case" + i,
            //    }
            //    );
            //}
            //return list;

            int lQueryHandle = Framework.Container.Instance.IVXProtocol.QueryCaseList();

            while (true)
            {
                CaseInfo ptCaseInfo = Framework.Container.Instance.IVXProtocol.QueryNextCase(lQueryHandle);
                if (ptCaseInfo != null)
                {
                    list.Add(ptCaseInfo);
                }
                else
                {
                    break;
                }
            }
            Framework.Container.Instance.IVXProtocol.CloseCaseQuery(lQueryHandle);
            return(list);
        }
        public PastHistoryDetailPage(CaseInfo currentCase)
        {
            _currentCase = currentCase;
            InitializeComponent();
            Emergency        = _currentCase.CaseTypeLabelText;
            CaseDate.Text    = _currentCase.CaseDateTime.ToString();
            Description.Text = _currentCase.CaseDescription;

            uih.GetHelperInfoByID(_currentCase.HelperID);
            UserPro helper = uih.GetHelperInfo();

            HelperImage.Source  = helper.Icon;
            HelperName.Text     = helper.FirstName;
            HelperRating.Text   = bcc.StarNoToStarSign(helper.Rating);
            HelperLanguage.Text = helper.FLanguage + "/" + helper.SLanguage;

            ReceiptInfo _receipt = uih.GetReceiptByID(_currentCase.ReceiptID);

            ServiceFee.Text   = _receipt.ServiceFee.ToString();
            EquipmentFee.Text = _receipt.EqFee.ToString();
            CycbisFee.Text    = _receipt.Surcharge.ToString();
            Tax.Text          = _receipt.Tax.ToString();
            Total.Text        = (_receipt.EqFee + _receipt.ServiceFee + _receipt.Surcharge + _receipt.Tax).ToString();

            PaymentNum.Text   = _receipt.PaymentName;
            CaseDateTime.Text = _currentCase.CaseDateTime.ToString();
        }
示例#5
0
        /// <summary>
        /// 查询下一个案件(遍历接口)
        /// </summary>
        /// <param name="queryHandle">查询标示值</param>
        /// <returns>案件信息</returns>
        public CaseInfo QueryNextCase(Int32 queryHandle)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXSDKProtocol VdaSdk_QueryNextCase lQueryHandle:" + queryHandle);
            TVDASDK_CASE_INFO ptCaseInfo;
            bool retVal = IVXSDKProtocol.VdaSdk_QueryNextCase(queryHandle, out ptCaseInfo);

            CaseInfo caseInfo = null;

            // 不会有SDK调用失败的情况, 因为数据已经全部取到SDK了, 不需要再跟Server交互。所以不需要CheckError

            if (retVal)
            {
                MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_QueryNextCase ret:{0},"
                                                                                                           + "dwCaseID:{1},"
                                                                                                           + "szCaseHappenAddr:{2},"
                                                                                                           + "dwCaseHappenTime:{3},"
                                                                                                           + "szCaseDescription:{4},"
                                                                                                           + "szCaseName:{5},"
                                                                                                           + "szCaseNo:{6},"
                                                                                                           + Environment.NewLine
                                                                                                           , retVal
                                                                                                           , ptCaseInfo.dwCaseID
                                                                                                           , ptCaseInfo.tGroupBase.szCaseHappenAddr
                                                                                                           , ptCaseInfo.tGroupBase.dwCaseHappenTime
                                                                                                           , ptCaseInfo.tGroupBase.szCaseDescription
                                                                                                           , ptCaseInfo.tGroupBase.szCaseName
                                                                                                           , ptCaseInfo.tGroupBase.szCaseNo
                                                                                                           ));

                caseInfo = ModelParser.Convert(ptCaseInfo);
            }

            return(caseInfo);
        }
示例#6
0
        void CaseManagerService_CaseModified(CaseInfo caseInfo)
        {
            if (caseInfo != null)
            {
                DataRow row = m_DTCase.Rows.Find(caseInfo.CaseID);
                if (row != null)
                {
                    row["CaseName"]        = caseInfo.CaseName;
                    row["CaseNo"]          = caseInfo.CaseNo;
                    row["CaseHappenTime"]  = caseInfo.CaseHappenTime;
                    row["CaseHappenAddr"]  = caseInfo.CaseHappenAddr;
                    row["CaseDescription"] = caseInfo.CaseDescription;
                    row["Case"]            = caseInfo;
                    m_SelectedCase         = caseInfo;

                    if (PropertyChanged != null)
                    {
                        PropertyChanged(this, new PropertyChangedEventArgs("CurrEditCase"));
                        PropertyChanged(this, new PropertyChangedEventArgs("CaseName"));
                        PropertyChanged(this, new PropertyChangedEventArgs("CaseNo"));
                        PropertyChanged(this, new PropertyChangedEventArgs("CaseHappenAddr"));
                        PropertyChanged(this, new PropertyChangedEventArgs("CaseHappenTime"));
                        PropertyChanged(this, new PropertyChangedEventArgs("Description"));
                    }
                }
            }
        }
        public async Task <IHttpActionResult> UpdateCaseAsync(int id, CaseInfo json)
        {
            if (id <= 0)
            {
                throw new BadRequestException(ResultCode.ArgumentException, "请选择要更新的案例");
            }
            if (json == null)
            {
                throw new HttpResponseException(HttpStatusCode.UnsupportedMediaType);
            }
            var cases = await this.m_CaseInfoStorage.GetAsync(id);

            if (cases == null)
            {
                throw new BadRequestException(ResultCode.ArgumentException, "更新的案例不存在");
            }

            cases.title      = json.title;
            cases.imgurl     = json.imgurl;
            cases.typeid     = json.typeid;
            cases.link       = json.link;
            cases.seecount   = json.seecount;
            cases.prizecount = json.prizecount;
            cases.sort       = json.sort;

            ValidatorProvider.ThrowIfInValidate <CaseInfoValidator, CaseInfo>(cases);
            int count = await this.m_CaseInfoStorage.UpdateAsync(json);

            if (count <= 0)
            {
                throw new BadRequestException(ResultCode.ActionFail, "更新失败");
            }

            return(Json(JsonApiResult.Ok("")));
        }
示例#8
0
        /// <summary>
        /// 获取指定案件详细信息
        /// </summary>
        /// <param name="caseID">案件编号</param>
        /// <returns>案件信息</returns>
        public CaseInfo GetCaseByID(UInt32 caseID)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXSDKProtocol VdaSdk_GetCaseByID caseID:" + caseID);
            TVDASDK_CASE_INFO ptCaseInfo;
            bool retVal = IVXSDKProtocol.VdaSdk_GetCaseByID(caseID, out ptCaseInfo);

            if (!retVal)
            {
                // 调用失败,抛异常
                CheckError();
                // 如果不抛异常, 应该是记录不存在, 返回 null
                return(null);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_GetCaseByID ret:{0},"
                                                                                                       + "dwCaseID:{1},"
                                                                                                       + "szCaseHappenAddr:{2},"
                                                                                                       + "dwCaseHappenTime:{3},"
                                                                                                       + "szCaseDescription:{4},"
                                                                                                       + "szCaseName:{5},"
                                                                                                       + "szCaseNo:{6},"
                                                                                                       + Environment.NewLine
                                                                                                       , retVal
                                                                                                       , ptCaseInfo.dwCaseID
                                                                                                       , ptCaseInfo.tGroupBase.szCaseHappenAddr
                                                                                                       , ptCaseInfo.tGroupBase.dwCaseHappenTime
                                                                                                       , ptCaseInfo.tGroupBase.szCaseDescription
                                                                                                       , ptCaseInfo.tGroupBase.szCaseName
                                                                                                       , ptCaseInfo.tGroupBase.szCaseNo
                                                                                                       ));

            CaseInfo caseInfo = ModelParser.Convert(ptCaseInfo);

            return(retVal ? caseInfo : null);
        }
示例#9
0
        /// <summary>
        /// 修改案件
        /// </summary>
        /// <param name="caseInfo">案件信息</param>
        /// <returns>成功返回TRUE,失败返回FALSE</returns>
        public bool MdfCase(CaseInfo caseInfo)
        {
            TVDASDK_CASE_BASE tCaseBase = ModelParser.Convert(caseInfo);

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_MdfCase caseID:{0},"
                                                                                                       + "szCaseName:{1},"
                                                                                                       + "szCaseNo:{2},"
                                                                                                       + "dwCaseHappenTime:{3},"
                                                                                                       + "szCaseDescription:{4},"
                                                                                                       + "szCaseHappenAddr:{5},"
                                                                                                       + Environment.NewLine
                                                                                                       , caseInfo.CaseID
                                                                                                       , tCaseBase.szCaseName
                                                                                                       , tCaseBase.szCaseNo
                                                                                                       , tCaseBase.dwCaseHappenTime
                                                                                                       , tCaseBase.szCaseDescription
                                                                                                       , tCaseBase.szCaseHappenAddr
                                                                                                       ));
            bool retVal = IVXSDKProtocol.VdaSdk_MdfCase(caseInfo.CaseID, tCaseBase);

            if (!retVal)
            {
                // 调用失败,抛异常
                CheckError();
            }
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_MdfCase ret:{0}", retVal));
            return(retVal);
        }
示例#10
0
        public DataInputPage(CaseInfo selectedItem, bool isEdit)
        {
            InitializeComponent();
            ToolBarItems();
            this.selectedItem = selectedItem;

            PopulateSymptomPicker();

            // saveCase = selectedItem;
            nameFld.Text   = selectedItem.Name;
            ageFld.Text    = selectedItem.Age.ToString();
            actionFld.Text = selectedItem.ActionTaken;

            IfEdit();
            genderEntry.Text = selectedItem.Gender;
            //symptomEntry.Text = selectedItem.Symptom;
            incidentEntry.Text = selectedItem.IncidentType;
            specificEntry.Text = selectedItem.Specific;
            if (selectedItem.SeenByMedic == true)
            {
                medicSwitch.IsToggled = true;
            }

            if (selectedItem.IncidentReported == true)
            {
                reportSwitch.IsToggled = true;
            }
        }
        private void UpdateModel(CaseInfo caseInfo, Intent intent)
        {
            if (caseInfo.LastAskedSlot == null || caseInfo.LastAskedSlot == "")//first time
            {
                return;
            }
            //verify data capture integrity

            if (intent.Slots[caseInfo.LastAskedSlot].Resolution != null)
            {
                if (intent.Slots[caseInfo.LastAskedSlot].Resolution.Authorities[0].Status.Code == "ER_SUCCESS_MATCH")
                {
                    caseInfo.DataElements.Add(new KeyValuePair <string, string>(caseInfo.LastAskedSlot, intent.Slots[caseInfo.LastAskedSlot].Value));
                }
                else
                {
                    caseInfo.ErrorFlag = true;
                }
            }
            else
            {
                if (intent.Slots[caseInfo.LastAskedSlot].Value == "?" || intent.Slots[caseInfo.LastAskedSlot].Value == null)
                {
                    caseInfo.ErrorFlag = true;
                }
                else
                {
                    caseInfo.DataElements.Add(new KeyValuePair <string, string>(caseInfo.LastAskedSlot, intent.Slots[caseInfo.LastAskedSlot].Value));
                }
            }
        }
示例#12
0
 /// <summary>
 /// 修改案例
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public int Modify(CaseInfo caseInfo)
 {
     return(SqlHelper.ExecuteNonQuery(@"update T_Case set Title=@Title,Content=@Content,
         ImgPath=@ImgPath where Id=@Id", CommandType.Text,
                                      new SqlParameter("@Title", caseInfo.Title), new SqlParameter("@Id", caseInfo.Id),
                                      new SqlParameter("@Content", caseInfo.Content), new SqlParameter("@ImgPath", caseInfo.ImgPath)));
 }
示例#13
0
        void Handle_PastItemTapped(object sender, ItemTappedEventArgs e)
        {
            CaseInfo _currentCase = e.Item as CaseInfo;

            ((ListView)sender).SelectedItem = null;
            Navigation.PushAsync(new PastHistoryDetailPage(_currentCase));
        }
示例#14
0
 void CaseManagerService_CaseAdded(CaseInfo caseInfo)
 {
     //if (caseInfo.UserGroupId == Framework.Container.Instance.AuthenticationService.CurrLoginUserInfo.UserGroupId)
     //{
     AddCaseRow(caseInfo);
     SelectedCase = caseInfo;
     //}
 }
示例#15
0
        /// <summary>
        /// 添加案例
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        public int Add(CaseInfo caseInfo)
        {
            string sql = "insert into T_Case values(@Title,@Content,@ImgPath,0)";

            return(SqlHelper.ExecuteNonQuery(sql, CommandType.Text,
                                             new SqlParameter("@Title", caseInfo.Title), new SqlParameter("@Content", caseInfo.Content),
                                             new SqlParameter("@ImgPath", caseInfo.ImgPath)));
        }
示例#16
0
 public static void Insert(CaseInfo caseInfo)
 {
     SqlHelper.ExecuteNonQuery("insert into T_案件基本信息(案件编号,案件性质,案件来源,案件简要案情描述) values(@案件编号,@案件性质,@案件来源,@案件简要案情描述)",
                               new SqlParameter("@案件编号", caseInfo.CaseId),
                               new SqlParameter("@案件性质", caseInfo.CaseLevel),
                               new SqlParameter("案件来源", caseInfo.CaseSource),
                               new SqlParameter("@案件简要案情描述", caseInfo.CaseDescribe));
 }
示例#17
0
 public static void Update(CaseInfo caseInfo)
 {
     SqlHelper.ExecuteNonQuery("update T_案件基本信息 set 案件性质=@案件性质,案件来源=@案件来源,案件简要案情描述=@案件简要案情描述 where 案件编号=@案件编号 and isDel=0",
                               new SqlParameter("@案件性质", caseInfo.CaseLevel),
                               new SqlParameter("案件来源", caseInfo.CaseSource),
                               new SqlParameter("@案件简要案情描述", caseInfo.CaseDescribe),
                               new SqlParameter("@案件编号", caseInfo.CaseId));
 }
示例#18
0
        //修改案件基本信息
        private void btnChaneCaseInfo_Click(object sender, RoutedEventArgs e)
        {
            CaseInfo cs = new CaseInfo();
            Abstract ab = (Abstract)lvw3.SelectedItem;

            cs.CaseID = ab.CaseID;
            cs.Show();
        }
示例#19
0
 public DataInputPage(string eventName)
 {
     InitializeComponent();
     azureService = DependencyService.Get <AzureService>();
     nameOfEvent  = eventName;
     saveCase     = new CaseInfo();
     PopulateSymptomPicker();
     ToolBarItems();
 }
示例#20
0
        //双击打开案件详情
        private void lvw3_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            CaseInfo cs = new CaseInfo();
            Abstract ab = (Abstract)lvw3.SelectedItem;

            cs.CurrentDir = CurrentDir;
            cs.CaseID     = ab.CaseID;
            cs.Show();
        }
示例#21
0
        private static CaseInfo ToCaseInfo(DataRow row)
        {
            CaseInfo caseInfo = new CaseInfo();

            caseInfo.CaseId       = (string)row["案件编号"];
            caseInfo.CaseLevel    = (string)row["案件性质"];
            caseInfo.CaseSource   = (string)row["案件来源"];
            caseInfo.CaseDescribe = (string)row["案件简要案情描述"];
            return(caseInfo);
        }
示例#22
0
        public void ValidateCase(string areaName, string locName, string caseID, List <string> serialList)
        {
            foreach (string item in serialList)
            {
                SerialInfo si = new SerialInfo();

                si.serial = item;

                LocationData d = new LocationData();
                d.curCase      = caseID;
                d.date         = DateTime.UtcNow.Date.ToString("dd/MM/yyyy");
                d.time         = DateTime.Now.ToString("h:mm:ss tt");
                d.location     = locName;
                d.lastLocation = true;
                d.userID       = "311015";


                si.locationData.Add(d);



                if (MongoCRUD.GetInstance().RecordExists <SerialInfo>("Serial", item, "serial"))
                {
                    MongoCRUD.GetInstance().AppendRecord <SerialInfo>("Serial", item, d);
                }
                else
                {
                    MongoCRUD.GetInstance().InsertRecord("Serial", si, item, caseID);
                }
            }

            CaseInfo ci = new CaseInfo();

            ci.caseID  = caseID;
            ci.curLoc  = locName;
            ci.ageInfo = DateTime.Now.ToString("MM-dd-yyyy hh: mm tt");

            MongoCRUD.GetInstance().InsertRecord("Cases", ci, caseID, null);

            List <AreaInfo> areas = MongoCRUD.GetInstance().LoadRecords <AreaInfo>("Areas", "areaName", areaName);

            if (areas.Count != 0)
            {
                foreach (LocationObject lo in areas[0].locationsList)
                {
                    if (lo.locName == ci.curLoc)
                    {
                        if (!lo.casesList.Contains(ci))
                        {
                            MongoCRUD.GetInstance().UpdateLocationCases(lo, areas[0], ci);
                        }
                    }
                }
            }
        }
示例#23
0
        public static CaseInfo[] GetAll()
        {
            DataTable dt = SqlHelper.Adapter("select * from T_案件基本信息 where isDel=0");

            CaseInfo[] cases = new CaseInfo[dt.Rows.Count];
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cases[i] = ToCaseInfo(dt.Rows[i]);
            }
            return(cases);
        }
 private void NewCaseInfo()
 {
     CaseInfo = new CaseInfo()
     {
         Name   = "默认案例",
         Number = DateTime.Now.ToString("yyyyMMddhhmmss"),
         Author = SystemContext.Instance.CurUserInfo.UserName,
         Path   = SystemContext.Instance.CaseSaveFullPath,
         Type   = "临时的",
     };
 }
示例#25
0
        public bool EditCase(CaseInfo tCaseBase)
        {
            bool bRet = Framework.Container.Instance.IVXProtocol.MdfCase(tCaseBase);

            if (bRet)
            {
                Framework.Container.Instance.EvtAggregator.GetEvent <CaseModifiedEvent>().Publish(tCaseBase);
            }

            return(bRet);
        }
示例#26
0
        public uint AddCase(CaseInfo tCaseBase)
        {
            uint CaseId = Framework.Container.Instance.IVXProtocol.AddCase(tCaseBase);

            if (CaseId > 0)
            {
                CaseInfo Case = Framework.Container.Instance.IVXProtocol.GetCaseByID(CaseId);
                Framework.Container.Instance.EvtAggregator.GetEvent <CaseAddedEvent>().Publish(Case);
            }

            return(CaseId);
        }
示例#27
0
        private CaseInfo CreateNewCase(string title, string description, string clientEmail)
        {
            CaseInfo ci = new CaseInfo()
            {
                Task          = title,
                Description   = description,
                ClientAddress = clientEmail,
            };

            Context.CaseHandlingRepository.CreateCase(ci);
            return(ci);
        }
示例#28
0
        private async void FeedTFSCasesAsync(string casesTFSQueue)
        {
            var cases = await TFSConnector.Instance.GetCasesAsync(casesTFSQueue);

            foreach (var tfscase in cases)
            {
                CaseInfo caseInfo   = CasesStatesOperations.GetCaseInfo(tfscase.CaseNumber);
                var      formedCase = new CaseControl(tfscase, caseInfo.Left, caseInfo.Top, caseInfo.Marked);
                LayoutRoot.Children.Add(formedCase);
                CaseControls.Add(formedCase);
            }
        }
示例#29
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string cId = Request.QueryString["id"];
         if (string.IsNullOrEmpty(cId))
         {
             return;
         }
         caseInfo = CaseInfoManage.GetById(Convert.ToInt32(cId));
     }
 }
示例#30
0
 private void AddCaseRow(CaseInfo caseInfo)
 {
     m_DTCase.Rows.Add(new object[] { caseInfo.CaseID,
                                      caseInfo.CaseName,
                                      caseInfo.CaseNo,
                                      caseInfo.CaseHappenTime,
                                      caseInfo.CaseHappenAddr,
                                      caseInfo.CaseDescription,
                                      caseInfo,
                                      Properties.Resources.进入案件1,
                                      Properties.Resources.编辑案件1,
                                      Properties.Resources.除案件1 });
 }
	public void LoadCaseConfiguration( CaseInfo ci )
	{
		WWWForm form = new WWWForm();
        form.AddField("command", "loadCase");
        form.AddField("name", ci.name);
		DBCall(GameMgr.GetInstance().DatabaseURL,form,loadCase);
	}	
	public void loadCases(bool status, string data, string error_msg, WWW download)
	{
		if ( status == true )
		{
			CaseList.Clear();
			
			string[] split = data.Split('#');
			foreach( string item in split )
			{
				string[] fields = item.Split('&');
				if ( fields.Length >= 7 )
				{
					CaseInfo ci = new CaseInfo();
					ci.owner = fields[0];
					ci.name = fields[1];
					ci.descriptionShort = fields[2];
					ci.description = fields[3];
					ci.template = fields[4];
					ci.thumbnail = fields[5];
					ci.datetime = fields[6];
					CaseList.Add(ci);
					// add data if field length is greater than 7
					if ( fields.Length >= 8 )
					{
						ci.SetOptionData(fields[7]);
					}
				}
			}
		}
		if ( loadCasesCallback != null )
			loadCasesCallback(status,data,error_msg,download);
	}
	public void LoadCaseConfiguration( CaseInfo ci, DatabaseMgr.Callback callback )
	{
		if ( ci != null )
			LoadCaseConfiguration(ci.name,callback);
	}
	public void SetCurrentCase( CaseInfo item )
	{
		if ( item != null )
		{
			Data = item.CaseOptionData;
			PrepareCaseForStart();
		}
	}
	void loadCases(bool status, string data, string error_msg, WWW download)
	{
		CaseList.Clear();
		
		string[] split = data.Split('#');
		foreach( string item in split )
		{
			string[] fields = item.Split('&');
			if ( fields.Length == 3 )
			{
				CaseInfo ci = new CaseInfo();
				ci.owner = fields[0];
				ci.name = fields[1];
				ci.description = fields[2];
				CaseList.Add(ci);
			}
		}
		
		LoadCaseConfiguration(CaseList[0]);
	}