| 12345678910111213141516171819202122232425262728293031 |
- //************************************************************************
- // author: yuzhengyang
- // date: 2018.3.27 - 2018.6.3
- // desc: 工具描述
- // Copyright (c) yuzhengyang. All rights reserved.
- //************************************************************************
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Azylee.Core.ThreadUtils.SleepUtils
- {
- public static class Sleep
- {
- /// <summary>
- /// Sleep(单位:秒)
- /// </summary>
- public static void S(short s)
- {
- SleepTool.Zs(s);
- }
- /// <summary>
- /// Sleep(单位:分)
- /// </summary>
- public static void M(short m)
- {
- SleepTool.Zm(m);
- }
- }
- }
|