示例#1
0
        /// <summary>
        /// 读取构件的算量属性是否根据的判断值
        /// </summary>
        /// <param name="fi"></param>
        /// <returns></returns>
        public static bool ReadIsFollow(this Element fi)
        {
            SchemaEntityOpr opr = new SchemaEntityOpr(fi);

            if (opr.IsValid())
            {
                String str = "";
                //读取comtype
                if (opr.GetParm("IsFollow", ref str))
                {
                    return(bool.Parse(str));
                }
                else
                {
                    return(true);
                }
            }
            else
            {
                return(true);
            }
        }