Displaying differences for changeset
 
display as  

src/java/bin/ages/ages-static.zip

 

src/java/m/oms/ages/V1_0.java

@@ -26,6 +26,8 @@
 import static m.oms.ages.V1_0.KEY_SCRIPT_NPBDCW;
 import static m.oms.ages.V1_0.KEY_SCRIPT_NPEAGLE;
 import static m.oms.ages.V1_0.KEY_SCRIPT_NPDRAKE58;
+import static m.oms.ages.V1_0.KEY_SCRIPT_NPDRAKE51;
+import static m.oms.ages.V1_0.KEY_SCRIPT_NPDRAKE27;
 import ngmf.util.cosu.luca.of.NS;
 import ngmf.util.cosu.luca.of.RMSE;
 import ngmf.util.cosu.luca.of.TRMSE;
@@ -60,6 +62,8 @@
 @Resource(file = "${csip.dir}/bin/ages/simulation/ages_noPLBDCW.sim", type = REFERENCE, id = KEY_SCRIPT_NPBDCW)
 @Resource(file = "${csip.dir}/bin/ages/simulation/ages_noPLEAGLE.sim", type = REFERENCE, id = KEY_SCRIPT_NPEAGLE)
 @Resource(file = "${csip.dir}/bin/ages/simulation/ages_noPLDRAKE58.sim", type = REFERENCE, id = KEY_SCRIPT_NPDRAKE58)
+@Resource(file = "${csip.dir}/bin/ages/simulation/ages_noPLDRAKE51.sim", type = REFERENCE, id = KEY_SCRIPT_NPDRAKE51)
+@Resource(file = "${csip.dir}/bin/ages/simulation/ages_noPLDRAKE27.sim", type = REFERENCE, id = KEY_SCRIPT_NPDRAKE27)
 public class V1_0 extends ModelDataService {
 
     public static final String KEY_SCRIPT = "ages.sim";
@@ -71,6 +75,8 @@
     public static final String KEY_SCRIPT_NPBDCW = "ages_noPLBDCW.sim"; // no payload script
     public static final String KEY_SCRIPT_NPEAGLE = "ages_noPLEAGLE.sim"; // no payload script
     public static final String KEY_SCRIPT_NPDRAKE58 = "ages_noPLDRAKE58.sim"; // no payload script
+    public static final String KEY_SCRIPT_NPDRAKE51 = "ages_noPLDRAKE51.sim"; // no payload script
+    public static final String KEY_SCRIPT_NPDRAKE27 = "ages_noPLDRAKE27.sim"; // no payload script
     public static final String RUN_INC = "run.inc";
 
     public static final String PAR_STARTTIME = "startTime";
@@ -278,6 +284,14 @@
                     dsl = parameter().getString(KEY_SCRIPT_NPDRAKE58,
                             resources().getFile(KEY_SCRIPT_NPDRAKE58).toString());
                 }
+                if (project.equals("DRAKE51")) {
+                    dsl = parameter().getString(KEY_SCRIPT_NPDRAKE51,
+                            resources().getFile(KEY_SCRIPT_NPDRAKE51).toString());
+                }
+                if (project.equals("DRAKE27")) {
+                    dsl = parameter().getString(KEY_SCRIPT_NPDRAKE27,
+                            resources().getFile(KEY_SCRIPT_NPDRAKE27).toString());
+                }
             }
         }