Exemplo n.º 1
0
 /// <summary>
 /// 有参数的构造函数
 /// </summary>
 /// <param name="cMcuBits"></param>
 public CMcuFuncAVR8BitsParam(CMcuFuncAVR8BitsParam cMcuBits)
 {
     this.mText  = cMcuBits.mText;
     this.mValue = cMcuBits.mValue;
     this.mMask  = cMcuBits.mMask;
     this.mName  = cMcuBits.mName;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="cMcuBits"></param>
 /// <returns></returns>
 public bool Init(CMcuFuncAVR8BitsParam cMcuBits)
 {
     this.mText  = cMcuBits.mText;
     this.mValue = cMcuBits.mValue;
     this.mMask  = cMcuBits.mMask;
     this.mName  = cMcuBits.mName;
     return(true);
 }