示例#1
0
        public bool FromString(string __strOne)
        {
            string str;

            string[] strArray;
            int      num;
            int      num2;
            string   str2;
            double   num3;
            bool     flag;

            char[] chArray;
            bool   flag2;

Label_000B:
            str      = __strOne ?? "";
            strArray = str.Split(new char[] { 9 });
            if (((((int)strArray.Length) < 0x62) == 0) != null)
            {
                goto Label_0038;
            }
            flag = 0;
            goto Label_00A1;
Label_0038:
            this.Type     = strArray[0];
            this.PlanName = strArray[1];
            num           = 1;
            num2          = 0;
            goto Label_0091;
Label_0050:
            str2 = string.Format("Data{0}", (int)(num2 + 1));
            num3 = Util.pasteDouble(strArray[num += 1], 0.0);
            CommonClassDB.SetObjectFieldValue(this, str2, (double)num3);
            num2 += 1;
Label_0091:
            if ((num2 < 0x60) != null)
            {
                goto Label_0050;
            }
            flag = 1;
Label_00A1:
            return(flag);
        }