You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
183 lines
4.4 KiB
183 lines
4.4 KiB
.class public Lcom/viatech/device/DeviceInfo; |
|
.super Ljava/lang/Object; |
|
.source "DeviceInfo.java" |
|
|
|
|
|
# static fields |
|
.field public static final SUPPORT_SCAN_INTERVAL_CMD_VERSION:I = 0x4fb |
|
|
|
|
|
# instance fields |
|
.field public changelog:Ljava/lang/String; |
|
|
|
.field public devcheck:Ljava/lang/String; |
|
|
|
.field public deviceid:Ljava/lang/String; |
|
|
|
.field public devicestatus:I |
|
|
|
.field public externalpower:I |
|
|
|
.field public idletime:I |
|
|
|
.field public isupdate:I |
|
|
|
.field public mac:Ljava/lang/String; |
|
|
|
.field public manufactory:Ljava/lang/String; |
|
|
|
.field public module:Ljava/lang/String; |
|
|
|
.field public newdeviceid:Ljava/lang/String; |
|
|
|
.field public newversion:I |
|
|
|
.field public product:Ljava/lang/String; |
|
|
|
.field public remainbattery:I |
|
|
|
.field public sdsize:J |
|
|
|
.field public sdused:J |
|
|
|
.field public stationenabled:I |
|
|
|
.field public system1addr:Ljava/lang/String; |
|
|
|
.field public system2addr:Ljava/lang/String; |
|
|
|
.field public systemflag:Ljava/lang/String; |
|
|
|
.field public version:I |
|
|
|
.field public videoHeight:I |
|
|
|
.field public videoWidth:I |
|
|
|
|
|
# direct methods |
|
.method public constructor <init>()V |
|
.locals 2 |
|
|
|
.prologue |
|
const/4 v1, 0x0 |
|
|
|
.line 10 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 12 |
|
const/4 v0, 0x0 |
|
|
|
iput-object v0, p0, Lcom/viatech/device/DeviceInfo;->newdeviceid:Ljava/lang/String; |
|
|
|
.line 13 |
|
iput v1, p0, Lcom/viatech/device/DeviceInfo;->isupdate:I |
|
|
|
.line 14 |
|
iput v1, p0, Lcom/viatech/device/DeviceInfo;->newversion:I |
|
|
|
.line 15 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public toString()Ljava/lang/String; |
|
.locals 2 |
|
|
|
.prologue |
|
.line 47 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v1, "product:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/device/DeviceInfo;->product:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...manufactory:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/device/DeviceInfo;->manufactory:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...module:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/device/DeviceInfo;->module:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...mac:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/device/DeviceInfo;->mac:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...deviceid:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/device/DeviceInfo;->deviceid:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...videoWidth:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget v1, p0, Lcom/viatech/device/DeviceInfo;->videoWidth:I |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "...videoHeight:" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget v1, p0, Lcom/viatech/device/DeviceInfo;->videoHeight:I |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|