.class public Lcom/moji/mjweather/weather/entity/MainWeatherCard;
.super Lcom/moji/http/fdsapi/entity/cards/BaseCard;
.source "MainWeatherCard.java"


# instance fields
.field public mAreaInfo:Lcom/moji/common/area/AreaInfo;

.field public mDetail:Lcom/moji/weatherprovider/data/Detail;

.field public mIsLocation:Z


# direct methods
.method public constructor <init>(Lcom/moji/weatherprovider/data/Detail;Lcom/moji/common/area/AreaInfo;)V
    .locals 0

    .line 21
    invoke-direct {p0}, Lcom/moji/http/fdsapi/entity/cards/BaseCard;-><init>()V

    .line 22
    iput-object p2, p0, Lcom/moji/mjweather/weather/entity/MainWeatherCard;->mAreaInfo:Lcom/moji/common/area/AreaInfo;

    if-eqz p2, :cond_0

    .line 23
    iget-boolean p2, p2, Lcom/moji/common/area/AreaInfo;->isLocation:Z

    if-eqz p2, :cond_0

    const/4 p2, 0x1

    goto :goto_0

    :cond_0
    const/4 p2, 0x0

    :goto_0
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/entity/MainWeatherCard;->mIsLocation:Z

    .line 24
    iput-object p1, p0, Lcom/moji/mjweather/weather/entity/MainWeatherCard;->mDetail:Lcom/moji/weatherprovider/data/Detail;

    return-void
.end method
