| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | 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<SlotBuffer> Each(string file1, string file2, List<CorSlot> 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; }    }}
 |