move marina/testCode/com to src/com
[fleet.git] / src / com / sun / vlsi / chips / marina / test / Station.java
diff --git a/src/com/sun/vlsi/chips/marina/test/Station.java b/src/com/sun/vlsi/chips/marina/test/Station.java
new file mode 100644 (file)
index 0000000..5f9ed62
--- /dev/null
@@ -0,0 +1,23 @@
+package com.sun.vlsi.chips.marina.test;
+import com.sun.async.test.BitVector;
+import com.sun.async.test.Infrastructure;
+
+import java.util.List;
+import java.util.Random;
+import java.util.ArrayList;
+
+public enum Station {
+    ONE("152.70.25.42", 1, "H34401C", "H34401A", 24.98e-3),
+        TWO("152.70.25.27", 2, "H34401B", "H34401D", 26.47e-3);
+    public final String ipAddr, coreVoltmeter, currentVoltmenter;
+    public final int jtagChannel;
+    public final double ammeterShuntResistance;
+    private Station(String ip, int jtagChannel, String coreVoltmeter, 
+                    String currentVoltmeter, double ammeterShuntResistance) {
+        this.ipAddr = ip;
+        this.jtagChannel = jtagChannel;
+        this.coreVoltmeter = coreVoltmeter;
+        this.currentVoltmenter = currentVoltmeter;
+        this.ammeterShuntResistance = ammeterShuntResistance;
+    }
+};