コード例 #1
0
 BasicResponse <Dictionary <string, System.Data.DataTable> > IChartService.GetMcData(Sys.Safety.Request.Chart.GetMcDataRequest request)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
        public Basic.Framework.Web.BasicResponse <Dictionary <string, string> > GetMcData(Sys.Safety.Request.Chart.GetMcDataRequest request)
        {
            Dictionary <string, string> McData = new Dictionary <string, string>();
            var res = _chartService.GetMcData(request);

            foreach (KeyValuePair <string, DataTable> kvp in res.Data)
            {
                McData.Add(kvp.Key, ObjectConverter.ToBase64String(kvp.Value));
            }
            return(new BasicResponse <Dictionary <string, string> >()
            {
                Data = McData
            });
        }