using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace DataCollection
{
    internal class ServiceConstant
    {
        public const ushort ChannelCount = 16;
        public const ushort DataStartAddr = 0;
        public const ushort ConfigStartAddr = 1000;
        public static readonly ushort ConfigLength = (ushort) (ChannelCount *Unsafe.SizeOf<double>() * 2);
        public const int ModBusPort = 502;

        public const ushort IPStartAddr = 2000;
        public const string NetcatName = "eth0";
    }
}
