Newer
Older
CameraServer / CameraDb / model / ListenParam.cs
yxw on 14 Aug 2020 1 KB firstcommit sz
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CameraDb.model
{
    public class ListenParam
    {
        //报警主机参数
        private byte[] ipv4;
        private byte[] gateWay;
        private byte[] subMask;
        private byte[] dns;
        private byte[] hostIp;//监听IP主机和报警主机地址是一个地址
        private ushort hostPort;
        private ushort httpPort;
        private ushort devPort;

        public byte[] IPV4
        {
            get { return ipv4; }
            set { ipv4 = value; }
        }

        public byte[] GATEWAY
        {
            get { return gateWay; }
            set { gateWay = value; }
        }

        public byte[] SUBMASK
        {
            get { return subMask; }
            set { subMask = value; }
        }

        public byte[] DNS
        {
            get { return dns; }
            set { dns = value; }
        }

        public byte[] HOSTIP
        {
            get { return hostIp; }
            set { hostIp = value; }
        }

        public ushort HOSTPORT
        {
            get { return hostPort; }
            set { hostPort = value; }
        }

        public ushort HTTPPORT
        {
            get { return httpPort; }
            set { httpPort = value; }
        }

        public ushort DEVPORT
        {
            get { return devPort; }
            set { devPort = value; }
        }

    }
}