123456789101112131415161718192021 |
- using Ips.Library.Basic;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ips.Library.LocLib
- {
- public static class SigFileUtil
- {
- public static void GetTimeslots(int fileLen1, int fileLen2, int fs, int addZero, double timeOffset, int dataLen, int expFs, int[] starts, int[] lens)
- {
- if (starts.IsNullOrEmpty() || lens.IsNullOrEmpty())
- throw new ArgumentNullException(starts.IsNullOrEmpty() ? nameof(starts) : nameof(lens));
- if (starts.Length != lens.Length)
- throw new Exception("起点个数和时隙长度不一致!");
- }
- }
- }
|