mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/MissionProgramNamespaceUtils.java
public static MissionProgramParametersGen.MissionProgramParameters 
        genTimedDataLoopParams(final MissionProgramParametersGen.MissionProgramSchedule schedule, 
         final String assetName, final String programName)
    {       
        MissionProgramParametersGen.MissionProgramParameters params =  MissionProgramParametersGen.
                MissionProgramParameters.newBuilder().
                setTemplateName("timed-data-capture-loop").
                setSchedule(schedule).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("asset").
                        setValue(Multitype.newBuilder().
                                setType(Type.STRING).setStringValue(assetName).build()).build()).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("initTimeDelay").
                        setValue(Multitype.newBuilder().
                                 setType(Type.INT32).setInt32Value(2).build()).build()).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("timeUnitStr").
                        setValue(Multitype.newBuilder().
                                 setType(Type.STRING).setStringValue("Millisecond").build()).build()).
                setProgramName(programName).build();
        return params;
    }
/**
     * Generate mission program parameters for a mission using the 
     * timed-data-capture-loop template.
     * @return
     *     the mission program parameters.
     */
Generate mission program parameters for a mission using the
timed-data-capture-loop template.
@return
the mission program parameters.
Generate mission program parameters for a mission using the timed - data - capture - loop template . @return the mission program parameters .
public static MissionProgramParametersGen.MissionProgramParameters 
        genTimedDataLoopParams(final MissionProgramParametersGen.MissionProgramSchedule schedule, 
         final String assetName, final String programName)
    {       
        MissionProgramParametersGen.MissionProgramParameters params =  MissionProgramParametersGen.
                MissionProgramParameters.newBuilder().
                setTemplateName("timed-data-capture-loop").
                setSchedule(schedule).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("asset").
                        setValue(Multitype.newBuilder().
                                setType(Type.STRING).setStringValue(assetName).build()).build()).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("initTimeDelay").
                        setValue(Multitype.newBuilder().
                                 setType(Type.INT32).setInt32Value(2).build()).build()).
                addParameters(SharedTypesGen.MapEntry.newBuilder().setKey("timeUnitStr").
                        setValue(Multitype.newBuilder().
                                 setType(Type.STRING).setStringValue("Millisecond").build()).build()).
                setProgramName(programName).build();
        return params;
    }
public static MissionProgramParametersGen . MissionProgramParameters genTimedDataLoopParams ( final MissionProgramParametersGen . MissionProgramSchedule schedule , final String assetName , final String programName ) { MissionProgramParametersGen . MissionProgramParameters params = MissionProgramParametersGen . MissionProgramParameters . newBuilder ( ) . setTemplateName ( "timed-data-capture-loop" ) . setSchedule ( schedule ) . addParameters ( SharedTypesGen . MapEntry . newBuilder ( ) . setKey ( "asset" ) . setValue ( Multitype . newBuilder ( ) . setType ( Type . STRING ) . setStringValue ( assetName ) . build ( ) ) . build ( ) ) . addParameters ( SharedTypesGen . MapEntry . newBuilder ( ) . setKey ( "initTimeDelay" ) . setValue ( Multitype . newBuilder ( ) . setType ( Type . INT32 ) . setInt32Value ( 2 ) . build ( ) ) . build ( ) ) . addParameters ( SharedTypesGen . MapEntry . newBuilder ( ) . setKey ( "timeUnitStr" ) . setValue ( Multitype . newBuilder ( ) . setType ( Type . STRING ) . setStringValue ( "Millisecond" ) . build ( ) ) . build ( ) ) . setProgramName ( programName ) . build ( ) ; return params ; }
Generate mission program parameters for a mission using the
 timed-data-capture-loop template.
Generate mission program parameters for a mission using the timed - data - capture - loop template .