public string GetModelDatas(string builderId)
        {
            CustomAnalyseItemService service = new CustomAnalyseItemService();
            DataTable dt = service.GetDIYAnalyseModel();
            string[] column = {"ID","Name","Date","Builder","Description","IsPrivate"};
            string result = DataGridJsonParser.DataTableToJson(dt, column);

            return result;
        }
        public string GetModelDatasByModelID(string DIYAnalyseModelID)
        {
            int id = 0;
            int.TryParse(DIYAnalyseModelID, out id);
            CustomAnalyseItemService service = new CustomAnalyseItemService();
            DataTable dt = service.GetModelDatasByDIYAnalyseModelID(id);
            string[] column = { "ID", "DIYAnalyseModelID", "ProductLineID", "ProductLineName", "VariableName", "VariableDescription" };

            string result = DataGridJsonParser.DataTableToJson(dt, column);

            return result;
        }
        public string GetCharDatas(string myJsonData)
        {
            string[] seletedStrings = myJsonData.JsonPickArray("selectedLines");
            ArrayList productLineAndlableNames = new ArrayList();
            foreach (var item in seletedStrings)
            {
                string productLineAndlableName = item.JsonPick("VariableName");
                productLineAndlableNames.Add(productLineAndlableName);
            }
            CustomAnalyseItemService service = new CustomAnalyseItemService();
            DataTable dt = service.GetProcessDatas(productLineAndlableNames);

            string result = DataTable2ChartJson.ToChartJson(dt, "Time", "T", "100");

            return result;
        }