public int SettAdd([FromForm] IOT.Core.Model.Sett a)
        {
            logger.Debug($"用户对设置进行添加,添加的Id为:{a.SId}");
            int i = _settRepository.AddSett(a);

            return(i);
        }
        public int SettAdd(IOT.Core.Model.Sett a)
        {
            int i = _settRepository.AddSett(a);

            return(i);
        }