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

namespace DotNettyFrom.config
{
    public class Water2Config
    {
        public static string DefaultWater2No = "000000000002";

        public static int DefaulWater2tPort = 15443;

        //功能码的位置,长度
        public static int FunctionCodeStartPos = 9;
        public static int FunctionCodeLength = 1;

        //心跳指令的功能码,用来判定是否是心跳
        public static int HeartbeatDownCmdCode = 3;

        public static int LengthFieldOffset = 10;
        public static int LengthFieldLength = 1;
        public static int LengthAdjustment = 2;
        public static int InitialBytesToStrip = 0;


        public static int MeasurePointLen = 0;
        public static int MessageFlowLen = 2;

    }
}
