예제 #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");
        }
예제 #2
0
    public override void readFields(BmobInput input)
    {
        base.readFields(input);

        this.daPeiLv    = input.getDouble("daPeiLv").Get();
        this.qiHao      = input.getInt("qiHao").Get();
        this.type       = input.getInt("type").Get();
        this.xiaoPeiLv  = input.getDouble("xiaoPeiLv").Get();
        this.zhongPeiLv = input.getDouble("zhongPeiLv").Get();
    }
예제 #3
0
 //读字段信息
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     objectId = input.getString("objectId");
     price    = input.getDouble("price");
     count    = input.getInt("count");
 }
예제 #4
0
파일: help.cs 프로젝트: 1617176084/CMM
    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();
    }
예제 #5
0
 //读字段信息
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     tempValue  = input.getDouble("tempValue");
     isHumidity = input.getBoolean("isHumidity");
     isOpened   = input.getBoolean("isOpened");
     isAuto     = input.getBoolean("isAuto");
     dateTime   = input.getDate("dateTime");
 }
예제 #6
0
 //读字段信息
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     //读取属性值
     this.name         = input.getString("name");
     this.questionList = input.getString("questionList");
     this.id           = input.getInt("id");
     this.difficulty   = input.getDouble("difficulty");
     this.courseId     = input.getInt("courseId");
 }
예제 #7
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");
 }
예제 #8
0
 //读字段信息
 public override void readFields(BmobInput input)
 {
     base.readFields(input);
     this.id          = input.getInt("id");
     this.difficulty  = input.getDouble("difficulty");
     this.totalNum    = input.getInt("totalNum");
     this.rightNum    = input.getInt("rightNum");
     this.question    = input.getString("question");
     this.a           = input.getString("a");
     this.b           = input.getString("b");
     this.c           = input.getString("c");
     this.d           = input.getString("d");
     this.image       = input.getFile("image");
     this.answer      = input.getString("answer");
     this.analysis    = input.getString("analysis");
     this.courseId    = input.getInt("courseId");
     this.unitId      = input.getInt("unitId");
     this.knowledgeId = input.getString("knowledgeId");
 }
예제 #9
0
        //读字段信息
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            BitkyId           = input.getString("BitkyId");
            BitkyMode         = input.getInt("BitkyMode");
            BitkyModeStr      = input.getString("BitkyModeStr");
            Promotion         = input.getString("Promotion");
            AD                = input.getString("AD");
            Category          = input.getString("Category");
            CategorySub       = input.getString("CategorySub");
            Name              = input.getString("Name");
            Price             = input.getDouble("Price");
            Count             = input.getInt("Count");
            Details           = input.getString("Details");
            CoverPhotoName    = input.getString("CoverPhotoName");
            CoverPhotoUrl     = input.getString("CoverPhotoUrl");
            CoverPhotoNameSet = input.getList <string>("CoverPhotoNameSet");
            CoverPhotoUrlSet  = input.getList <string>("CoverPhotoUrlSet");
        }
예제 #10
0
    public override void readFields(BmobInput input)
    {
        base.readFields(input);

        Content  = input.getString("Content");
        UserId   = input.getString("UserId");
        Level    = input.getInt("Level");
        X        = input.getDouble("X");
        Y        = input.getDouble("Y");
        Z        = input.getDouble("Z");
        ColorR   = input.getDouble("ColorR");
        ColorG   = input.getDouble("ColorG");
        ColorB   = input.getDouble("ColorB");
        FontSize = input.getInt("FontSize");
    }
예제 #11
0
파일: myUser.cs 프로젝트: 1617176084/CMM
    public override void readFields(BmobInput input)
    {
        base.readFields(input);
        try
        {
            userId = input.getString("userId");
            name   = input.getString("name");

            jinBi     = double.Parse(input.getDouble("jinBi").ToString());
            phone     = input.getString("phone");
            qq        = input.getString("qq");
            niCheng   = input.getString("niCheng");
            zhiFuBao  = input.getString("zhiFuBao");
            sheBei    = input.getString("sheBei");
            isPingJia = int.Parse(input.getInt("isPingJia").ToString());
            userType  = int.Parse(input.getInt("userType").ToString());
            isJinYan  = int.Parse(input.getInt("isJinYan").ToString());
        }
        catch {
        }
    }
예제 #12
0
        //读字段信息
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.ChargePileAddress = input.getLong("ChargePileAddress");
            this.CurrentState      = input.getInt("CurrentState");
            this.CommState         = input.getInt("CommState");
            this.CurrentSOC        = input.getDouble("CurrentSOC");
            this.ChargeTime        = input.getInt("ChargeTime");
            this.RemainTime        = input.getInt("RemainTime");
            this.CurrentVOL        = input.getDouble("currentVOL");
            this.CurrentCur        = input.getDouble("currentCur");
            this.OutPower          = input.getDouble("OutPower");
            this.OutQuantity       = input.getDouble("OutQuantity");
            this.ACCTime           = input.getInt("ACCTime");

            //this.CurrentAlarmInfo = input.Get<BmobPointer<CurrentAlarmInfoClass>>("CurrentAlarmInfo");
            this.cpInOverVol   = input.getBoolean("cpInOverVol");
            this.cpOutOverVol  = input.getBoolean("cpInOverVol");
            this.cpInUnderVol  = input.getBoolean("cpInUnderVol");
            this.cpOutUnderVol = input.getBoolean("cpOutUnderVol");
            this.cpInOverCur   = input.getBoolean("cpInOverCur");
            this.cpOutOverCur  = input.getBoolean("cpOutOverCur");
            this.cpInUnderCur  = input.getBoolean("cpInUnderCur");
            this.cpOutUnderCur = input.getBoolean("cpOutUnderCur");
            this.cpTempHigh    = input.getBoolean("cpTempHigh");
            this.cpOutShort    = input.getBoolean("cpOutShort");

            this.TotalQuantity = input.getDouble("TotalQuantity");
            this.TotalFee      = input.getDouble("TotalFee");
            this.JianQ         = input.getDouble("JianQ");
            this.JianPrice     = input.getDouble("JianPrice");
            this.JianFee       = input.getDouble("JianFee");
            this.fengQ         = input.getDouble("fengQ");
            this.fengPrice     = input.getDouble("fengPrice");
            this.fengFee       = input.getDouble("fengFee");
            this.PingQ         = input.getDouble("PingQ");
            this.PingPrice     = input.getDouble("PingPrice");
            this.PingFee       = input.getDouble("PingFee");
            this.GUQ           = input.getDouble("GUQ");
            this.GUPrice       = input.getDouble("GUPrice");
            this.GUFee         = input.getDouble("GUFee");

            this.BatterySoc = input.getDouble("BatterySoc");
            this.BMSState   = input.getBoolean("BMSState");
            this.PortVol    = input.getDouble("PortVol");
            this.CellNum    = input.getInt("CellNum");
            this.TempNum    = input.getInt("TempNum");
            this.MaxVol     = input.getDouble("MaxVol");
            this.MaxCTemp   = input.getDouble("MaxCTemp");

            this.CellMaxVol    = input.getDouble("CellMaxVol");
            this.CellPos       = input.getInt("CellPos");
            this.CellMinVol    = input.getDouble("CellMinVol");
            this.CellMinVolPos = input.getInt("CellMinVolPos");
            this.MaxTemp       = input.getDouble("MaxTemp");
            this.MinTemp       = input.getDouble("MinTemp");

            this.VolDataAlarm    = input.getBoolean("VolDataAlarm");
            this.SampleVolFault  = input.getBoolean("SampleVolFault");
            this.UvorOvAlarm     = input.getBoolean("UvorOvAlarm");
            this.SystemParaAlarm = input.getBoolean("SystemParaAlarm");
            this.FanFailFault    = input.getBoolean("FanFailFault");
            this.SampleTempFault = input.getBoolean("SampleTempFault");
        }
예제 #13
0
 public override void readFields(BmobInput input)
 {
     this.latitude = input.getDouble("latitude");
     this.longitude = input.getDouble("longitude");
 }