what-the-bank/sources/o/vfY.java

77 lines
2.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.HashMap;
/* loaded from: classes.dex */
public class vfY extends kHn {
private static final HashMap<Integer, String> a;
static {
HashMap<Integer, String> hashMap = new HashMap<>();
a = hashMap;
b(hashMap);
hashMap.put(0, "GPS Version ID");
hashMap.put(1, "GPS Latitude Ref");
hashMap.put(2, "GPS Latitude");
hashMap.put(3, "GPS Longitude Ref");
hashMap.put(4, "GPS Longitude");
hashMap.put(5, "GPS Altitude Ref");
hashMap.put(6, "GPS Altitude");
hashMap.put(7, "GPS Time-Stamp");
hashMap.put(8, "GPS Satellites");
hashMap.put(9, "GPS Status");
hashMap.put(10, "GPS Measure Mode");
hashMap.put(11, "GPS DOP");
hashMap.put(12, "GPS Speed Ref");
hashMap.put(13, "GPS Speed");
hashMap.put(14, "GPS Track Ref");
hashMap.put(15, "GPS Track");
hashMap.put(16, "GPS Img Direction Ref");
hashMap.put(17, "GPS Img Direction");
hashMap.put(18, "GPS Map Datum");
hashMap.put(19, "GPS Dest Latitude Ref");
hashMap.put(20, "GPS Dest Latitude");
hashMap.put(21, "GPS Dest Longitude Ref");
hashMap.put(22, "GPS Dest Longitude");
hashMap.put(23, "GPS Dest Bearing Ref");
hashMap.put(24, "GPS Dest Bearing");
hashMap.put(25, "GPS Dest Distance Ref");
hashMap.put(26, "GPS Dest Distance");
hashMap.put(27, "GPS Processing Method");
hashMap.put(28, "GPS Area Information");
hashMap.put(29, "GPS Date Stamp");
hashMap.put(30, "GPS Differential");
hashMap.put(31, "GPS Horizontal Positioning Error");
}
public vfY() {
a(new PZW(this));
}
public final ghO j() {
Axo[] m = m(2);
Axo[] m2 = m(4);
String o2 = o(1);
String o3 = o(3);
if (m == null || m.length != 3 || m2 == null || m2.length != 3 || o2 == null || o3 == null) {
return null;
}
Double d = ghO.d(m[0], m[1], m[2], o2.equalsIgnoreCase("S"));
Double d2 = ghO.d(m2[0], m2[1], m2[2], o3.equalsIgnoreCase("W"));
if (d == null || d2 == null) {
return null;
}
return new ghO(d.doubleValue(), d2.doubleValue());
}
@Override // o.BrP
public final HashMap<Integer, String> c() {
return a;
}
@Override // o.BrP
public final String b() {
return "GPS";
}
}