duheng
2024-07-24 90fe896927e0d060e2c6fb408c3d699ebd92ab46
WebApi/Controllers/AnaSettingController.cs
@@ -29,7 +29,7 @@
        [HttpGet]
        public IStation.Dto.ApiResult GetSetting( )
        {   
            return new IStation.Dto.ApiResult<Model.AnaSetting>(IStation.Common.AnaSetting.GetSetting());
            return new IStation.Dto.ApiResult<CalcModel.AnaSetting>(IStation.AnaGlobalParas.Setting);
        }
        /// <summary>
@@ -39,13 +39,13 @@
        /// <returns></returns>
        [Route("SaveSetting")]
        [HttpPost]
        public IStation.Dto.ApiResult SaveSetting([FromBody] Model.AnaSetting ana)
        public IStation.Dto.ApiResult SaveSetting([FromBody] CalcModel.AnaSetting ana)
        {
            if (ana == null)
            {
                return new IStation.Dto.ApiResult<bool>(false);
            }
            IStation.LogHelper.Info("General Save Setting  ");
            return new IStation.Dto.ApiResult<bool>(IStation.Common.AnaSetting.SaveSetting(ana));
        }