Example #1
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            pos_x   = input.getDouble("pos_x");
            pos_y   = input.getDouble("pos_y");
            pos_z   = input.getDouble("pos_z");
            rot_w   = input.getDouble("rot_w");
            rot_x   = input.getDouble("rot_x");
            rot_y   = input.getDouble("rot_y");
            rot_z   = input.getDouble("rot_z");
            scale_x = input.getDouble("scale_x");
            scale_y = input.getDouble("scale_y");
            scale_z = input.getDouble("scale_z");

            type    = input.getInt("type");
            text    = input.getString("text");
            texture = input.getFile("texture");
            video   = input.getFile("video");

            model = input.Get <BmobPointer <BmobModel> >("model");
            mark  = input.Get <BmobPointer <Mark> >("mark");

            version = input.getInt("version");
        }
Example #2
0
 //读字段信息
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     objectId = input.getString("objectId");
     price    = input.getDouble("price");
     count    = input.getInt("count");
 }
Example #3
0
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     this.qiHaoObjectId   = input.getString("qiHaoObjectId");
     this.qiHao           = input.getInt("qiHao");
     this.userId          = input.getString("userId");
     this.jieE            = input.getDouble("jieE");
     this.type            = input.getInt("type");
     this.typeForKaiJiang = input.getInt("typeForKaiJiang");
     this.isLingQu        = input.getBoolean("isLingQu");
 }
Example #4
0
        // public string 详细介绍 { set; get; }
        //        public string 促销状态 { set; get; }
        //        public string 轮播广告状态 { set; get; }

        public CommodityPcShow(string objectId, string category, string categorySub, string name, BmobDouble price,
                               BmobInt count, string details, string promotion, string ad)
        {
            this.objectId = objectId;
            分类            = category;
            子类            = categorySub;
            称             = name;
            价格            = price;
            数量            = count;
            //  详细介绍 = details;
//            促销状态 = promotion;
//            轮播广告状态 = ad;
        }
Example #5
0
    public override void readFields(BmobInput input)
    {
        base.readFields(input);
        this.isHideBiDaXiao = input.getBoolean("isHideBiDaXiao");
        this.banBenHao      = input.getDouble("banBenHao");
        this.banBenShuoMing = input.getString("banBenShuoMing");

        this.renWuBangZhu    = input.getString("renWuBangZhu");
        this.keFuQQ          = input.getString("keFuQQ");
        this.zhuanHuaFei     = input.getString("zhuanHuaFei");
        this.shearMessage    = input.getString("shearMessage");
        this.kaMiWangZhi     = input.getString("kaMiWangZhi");
        this.tongYiTiaoKuan  = input.getString("tongYiTiaoKuan");
        this.zhuCeZengSong   = Double.Parse(input.getDouble("zhuCeZengSong").ToString());
        this.pingJiaZengSong = Double.Parse(input.getDouble("pingJiaZengSong").ToString());
        this.upVipNeedJin    = input.getDouble("upVipNeedJin").Get();
    }
 public override void readFields(BmobInput input)
 {
     this.latitude = input.getDouble("latitude");
     this.longitude = input.getDouble("longitude");
 }