using System;
namespace ChuPiao.Common.Models
{
	/// <summary>
	/// 彩票机投注模式配置
	/// </summary>
	[Serializable]
	public class M_MachineModeConfigEntity:ICloneable
	{
		public M_MachineModeConfigEntity()
        { }
        #region Model
        private int _c_id;
        private int _c_mid;
        private int _c_maclotid;
        private bool _c_ischeckcode = true;
        private string _c_maclotkeys = "";
        private int _c_maclotkeysinterval = 60;
        private int _c_maxprintmultiple = 99;
        private int _c_maxprintline = 5;
        private int _c_singlemoney = 2;
        private string _c_macplaykeys = "";
        private int _c_macplaykeysinterval = 60;
        private string _c_multiplekey = "F5";
        private int _c_multiplekeyinterval = 60;
        private string _c_multipleconfirmkey = "Enter";
        private int _c_multipleconfirmkeyinterval = 60;
        private string _c_printconfirmkey = "Enter";
        private int _c_printconfirmkeyinterval = 60;
        private string _c_passwordconfirmkey = "Enter";
        private int _c_passwordconfirmkeyinterval = 60;
        private int _c_macplayid;
        private int _c_macmodeid;
        private string _c_macmodekeys = "";
        private int _c_macmodekeysinterval = 60;
        private int _c_sendkeyinterval = 30;
        private bool _c_iseveryinit = false;
        private string _c_toinitmodekeys = "";
        private int _c_toinitmodekeysinterval = 60;
        private string _c_nextkey = "";
        private int _c_nextkeyinterval = 60;
        private string _c_nextexpectkeys = "";
        private int _c_nextexpectkeysinterval = 60;
        private string _c_currentexpectkeys = "";
        private int _c_currentexpectkeysinterval = 60;
        /// <summary>
        /// 彩票机投注模式配置主键ID
        /// </summary>
        public int C_Id
        {
            set { _c_id = value; }
            get { return _c_id; }
        }
        /// <summary>
        /// 彩票机主键ID
        /// </summary>
        public int C_Mid
        {
            set { _c_mid = value; }
            get { return _c_mid; }
        }
        /// <summary>
        /// 机器彩种ID
        /// </summary>
        public int C_MacLotId
        {
            set { _c_maclotid = value; }
            get { return _c_maclotid; }
        }
        /// <summary>
        /// 是否进行投注号码检测
        /// </summary>
        public bool C_IsCheckCode
        {
            set { _c_ischeckcode = value; }
            get { return _c_ischeckcode; }
        }
        /// <summary>
        /// 进入机器彩种键值
        /// </summary>
        public string C_MacLotKeys
        {
            set { _c_maclotkeys = value; }
            get { return _c_maclotkeys; }
        }
        /// <summary>
        /// 彩种徤码发送间隔
        /// </summary>
        public int C_MacLotKeysInterval
        {
            set { _c_maclotkeysinterval = value; }
            get { return _c_maclotkeysinterval; }
        }
        /// <summary>
        /// 最大打印倍数
        /// </summary>
        public int C_MaxPrintMultiple
        {
            set { _c_maxprintmultiple = value; }
            get { return _c_maxprintmultiple; }
        }
        /// <summary>
        /// 一张票最大打印行数
        /// </summary>
        public int C_MaxPrintLine
        {
            set { _c_maxprintline = value; }
            get { return _c_maxprintline; }
        }
        /// <summary>
        /// 单倍金额
        /// </summary>
        public int C_SingleMoney
        {
            set { _c_singlemoney = value; }
            get { return _c_singlemoney; }
        }
        /// <summary>
        /// 进入机器玩法的键值
        /// </summary>
        public string C_MacPlayKeys
        {
            set { _c_macplaykeys = value; }
            get { return _c_macplaykeys; }
        }
        /// <summary>
        /// 彩票机玩法键码发送间隔
        /// </summary>
        public int C_MacPlayKeysInterval
        {
            set { _c_macplaykeysinterval = value; }
            get { return _c_macplaykeysinterval; }
        }
        /// <summary>
        /// 倍投键码
        /// </summary>
        public string C_MultipleKey
        {
            set { _c_multiplekey = value; }
            get { return _c_multiplekey; }
        }
        /// <summary>
        /// 倍投键码发送间隔
        /// </summary>
        public int C_MultipleKeyInterval
        {
            set { _c_multiplekeyinterval = value; }
            get { return _c_multiplekeyinterval; }
        }
        /// <summary>
        /// 倍投确认键
        /// </summary>
        public string C_MultipleConfirmKey
        {
            set { _c_multipleconfirmkey = value; }
            get { return _c_multipleconfirmkey; }
        }
        /// <summary>
        /// 陪投确认键码发送间隔
        /// </summary>
        public int C_MultipleConfirmKeyInterval
        {
            set { _c_multipleconfirmkeyinterval = value; }
            get { return _c_multipleconfirmkeyinterval; }
        }
        /// <summary>
        /// 打印确认键
        /// </summary>
        public string C_PrintConfirmKey
        {
            set { _c_printconfirmkey = value; }
            get { return _c_printconfirmkey; }
        }
        /// <summary>
        /// 打印确认键码发送间隔
        /// </summary>
        public int C_PrintConfirmKeyInterval
        {
            set { _c_printconfirmkeyinterval = value; }
            get { return _c_printconfirmkeyinterval; }
        }
        /// <summary>
        /// 密码确认键
        /// </summary>
        public string C_PasswordConfirmKey
        {
            set { _c_passwordconfirmkey = value; }
            get { return _c_passwordconfirmkey; }
        }
        /// <summary>
        /// 密码确认键码发送间隔
        /// </summary>
        public int C_PasswordConfirmKeyInterval
        {
            set { _c_passwordconfirmkeyinterval = value; }
            get { return _c_passwordconfirmkeyinterval; }
        }
        /// <summary>
        /// 机器玩法ID
        /// </summary>
        public int C_MacPlayId
        {
            set { _c_macplayid = value; }
            get { return _c_macplayid; }
        }
        /// <summary>
        /// 机器投注模式ID
        /// </summary>
        public int C_MacModeId
        {
            set { _c_macmodeid = value; }
            get { return _c_macmodeid; }
        }
        /// <summary>
        /// 进入机器投注模式的键值
        /// </summary>
        public string C_MacModeKeys
        {
            set { _c_macmodekeys = value; }
            get { return _c_macmodekeys; }
        }
        /// <summary>
        /// 彩票机投注模式键码发送间隔
        /// </summary>
        public int C_MacModeKeysInterval
        {
            set { _c_macmodekeysinterval = value; }
            get { return _c_macmodekeysinterval; }
        }
        /// <summary>
        /// 发送键码之间的间隔(毫秒)
        /// </summary>
        public int C_SendKeyInterval
        {
            set { _c_sendkeyinterval = value; }
            get { return _c_sendkeyinterval; }
        }
        /// <summary>
        /// 是否每次都要发送初始化键
        /// </summary>
        public bool C_IsEveryInit
        {
            set { _c_iseveryinit = value; }
            get { return _c_iseveryinit; }
        }
        /// <summary>
        /// 复式界面跳转到该玩法的初始投注模式键值
        /// </summary>
        public string C_ToInitModeKeys
        {
            set { _c_toinitmodekeys = value; }
            get { return _c_toinitmodekeys; }
        }
        /// <summary>
        /// 初始化投注模式键码发送间隔
        /// </summary>
        public int C_ToInitModeKeysInterval
        {
            set { _c_toinitmodekeysinterval = value; }
            get { return _c_toinitmodekeysinterval; }
        }
        /// <summary>
        /// 下一场的键值
        /// </summary>
        public string C_NextKey
        {
            set { _c_nextkey = value; }
            get { return _c_nextkey; }
        }
        /// <summary>
        /// 下一场的键码发送间隔
        /// </summary>
        public int C_NextKeyInterval
        {
            set { _c_nextkeyinterval = value; }
            get { return _c_nextkeyinterval; }
        }
        /// <summary>
        /// 转到下一期的键值
        /// </summary>
        public string C_NextExpectKeys
        {
            set { _c_nextexpectkeys = value; }
            get { return _c_nextexpectkeys; }
        }
        /// <summary>
        /// 转到下一期的键码发送间隔
        /// </summary>
        public int C_NextExpectKeysInterval
        {
            set { _c_nextexpectkeysinterval = value; }
            get { return _c_nextexpectkeysinterval; }
        }
        /// <summary>
        /// 转到当前期的键值
        /// </summary>
        public string C_CurrentExpectKeys
        {
            set { _c_currentexpectkeys = value; }
            get { return _c_currentexpectkeys; }
        }
        /// <summary>
        /// 转到当前期的键码发送的间隔
        /// </summary>
        public int C_CurrentExpectKeysInterval
        {
            set { _c_currentexpectkeysinterval = value; }
            get { return _c_currentexpectkeysinterval; }
        }
        #endregion Model

	    #region Implementation of ICloneable

	    public object Clone()
        {
            return this.MemberwiseClone();
	    }

        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return false;
            }
            M_MachineModeConfigEntity entity = obj as M_MachineModeConfigEntity;
            if (entity == null)
            {
                return false;
            }
            if (entity._c_id != _c_id || entity._c_mid != _c_mid || entity._c_maclotid != _c_maclotid || entity._c_ischeckcode != _c_ischeckcode
                || entity._c_maclotkeys != _c_maclotkeys || entity._c_maclotkeysinterval != _c_maclotkeysinterval || entity._c_maxprintmultiple != _c_maxprintmultiple
                || entity._c_maxprintline != _c_maxprintline || entity._c_singlemoney != _c_singlemoney || entity._c_macplaykeys != _c_macplaykeys
                || entity._c_macplaykeysinterval != _c_macplaykeysinterval || entity._c_multiplekey != _c_multiplekey || entity._c_multiplekeyinterval != _c_multiplekeyinterval
                || entity._c_multipleconfirmkey != _c_multipleconfirmkey || entity._c_multipleconfirmkeyinterval != _c_multipleconfirmkeyinterval
                || entity._c_printconfirmkey != _c_printconfirmkey || entity._c_printconfirmkeyinterval != _c_printconfirmkeyinterval
                || entity._c_passwordconfirmkey != _c_passwordconfirmkey || entity._c_passwordconfirmkeyinterval != _c_passwordconfirmkeyinterval
                || entity._c_macplayid != _c_macplayid || entity._c_macmodeid != _c_macmodeid || entity._c_macmodekeys != _c_macmodekeys
                || entity._c_macmodekeysinterval != _c_macmodekeysinterval || entity._c_sendkeyinterval != _c_sendkeyinterval
                || entity._c_iseveryinit != _c_iseveryinit || entity._c_toinitmodekeys != _c_toinitmodekeys
                || entity._c_toinitmodekeysinterval != _c_toinitmodekeysinterval || entity._c_nextkey != _c_nextkey
                || entity._c_nextkeyinterval != _c_nextkeyinterval || entity._c_nextexpectkeys != _c_nextexpectkeys
                || entity._c_nextexpectkeysinterval != _c_currentexpectkeysinterval || entity._c_currentexpectkeys != _c_currentexpectkeys
                || entity._c_currentexpectkeysinterval != _c_currentexpectkeysinterval)
            {
                return false;
            }
            return true;
        }
	    #endregion
	}
}

