using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ips.Library.LocLib { public static class SlotUtil { public static IEnumerable Each(string file1, string file2, List slots, int addzero = 0, double offsetTime = 0d) { using var fs1 = new FileStream(file1, FileMode.Open, FileAccess.Read, FileShare.Read); using var fs2 = new FileStream(file2, FileMode.Open, FileAccess.Read, FileShare.Read); yield break; } } public class CorSlot { public CorSlot(int start, int length) : this(start, length, start, length) { } public CorSlot(int start1, int length1, int start2, int length2) { this.Start1 = start1; this.Length1 = length1; this.Start2 = start2; this.Length2 = length2; } public int Start1 { get; set; } public int Length1 { get; set; } public int Start2 { get; set; } public int Length2 { get; set; } } public class SlotBuffer { public SlotBuffer() { } public SlotBuffer(byte[] buf1, byte[] buf2) { Buf1 = buf1; Buf2 = buf2; } public byte[] Buf1 { get; set; } public byte[] Buf2 { get; set; } } }