示例#1
0
        //GLSAPD 개체등록 및 가져오기(실제 APD 값이 저장됨)
        #region "GLSAPD"

        public bool AddGLSAPD(int intIndex)
        {
            clsGLSAPD dclsGLSAPD;     //GLSAPD 개체 선언

            try
            {
                if (intIndex <= 0)
                {
                    return(false);
                }

                if (pHashtableGLSAPD.Contains(intIndex))
                {
                    return(true);
                }

                dclsGLSAPD = new clsGLSAPD(intIndex);
                pHashtableGLSAPD.Add(intIndex, dclsGLSAPD);

                return(true);
            }
            catch
            {
                return(false);
            }
            finally
            {
            }
        }
示例#2
0
文件: clsGLSAPD.cs 项目: k2un/k2un
 public void CopyFrom(clsGLSAPD glsApd)
 {
     this.Name     = glsApd.Name;
     this.Length   = glsApd.Length;
     this.Format   = glsApd.Format;
     this.ModuleID = glsApd.ModuleID;
 }