duheng
2024-07-29 e0e3ba17d3e48a586c49b9fe84e2c791438651bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using Yw.Dto;
 
namespace HStation.CAL.LocalClient
{
    /// <summary>
    ///
    /// </summary>
    public class XhsDbFirstHelper : IXhsDbFirstHelper
    {
        /// <summary>
        ///
        /// </summary>
        public async Task<bool> Initial()
        {
            return await Task.Run(() =>
            {
                var bol = HStation.Service.Assets.DbFirstHelper.Initial(out string Msg);
                if (!bol)
                {
                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.L001, Msg);
                }
                return bol;
            });
        }
    }
}