.class Lcom/moji/mjweather/thunderstorm/TsEventPresenter$1;
.super Ljava/lang/Object;
.source "TsEventPresenter.java"

# interfaces
.implements Lcom/moji/opevent/OperationEventUpdateListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/thunderstorm/TsEventPresenter;->a()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/moji/mjweather/thunderstorm/TsEventPresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/thunderstorm/TsEventPresenter;I)V
    .locals 0

    .line 25
    iput-object p1, p0, Lcom/moji/mjweather/thunderstorm/TsEventPresenter$1;->b:Lcom/moji/mjweather/thunderstorm/TsEventPresenter;

    iput p2, p0, Lcom/moji/mjweather/thunderstorm/TsEventPresenter$1;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 5

    .line 28
    invoke-static {}, Lcom/moji/opevent/OperationEventManager;->a()Lcom/moji/opevent/OperationEventManager;

    move-result-object v0

    new-instance v1, Lcom/moji/opevent/OperationEventPosition;

    iget v2, p0, Lcom/moji/mjweather/thunderstorm/TsEventPresenter$1;->a:I

    sget-object v3, Lcom/moji/opevent/model/OperationEventPage;->P_THUNDER_MAP:Lcom/moji/opevent/model/OperationEventPage;

    sget-object v4, Lcom/moji/opevent/model/OperationEventRegion;->R_THUNDER_DETAIL:Lcom/moji/opevent/model/OperationEventRegion;

    invoke-direct {v1, v2, v3, v4}, Lcom/moji/opevent/OperationEventPosition;-><init>(ILcom/moji/opevent/model/OperationEventPage;Lcom/moji/opevent/model/OperationEventRegion;)V

    invoke-virtual {v0, v1}, Lcom/moji/opevent/OperationEventManager;->a(Lcom/moji/opevent/OperationEventPosition;)Lcom/moji/opevent/model/OperationEvent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 30
    iget-object v1, p0, Lcom/moji/mjweather/thunderstorm/TsEventPresenter$1;->b:Lcom/moji/mjweather/thunderstorm/TsEventPresenter;

    invoke-static {v1}, Lcom/moji/mjweather/thunderstorm/TsEventPresenter;->a(Lcom/moji/mjweather/thunderstorm/TsEventPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v1

    check-cast v1, Lcom/moji/mjweather/thunderstorm/TsEventCallback;

    invoke-interface {v1, v0}, Lcom/moji/mjweather/thunderstorm/TsEventCallback;->a(Lcom/moji/opevent/model/OperationEvent;)V

    :cond_0
    return-void
.end method

.method public b()V
    .locals 0

    return-void
.end method
