Ejemplo n.º 1
0
 private static void Project_Open3(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle projectFilename)
 {
     // (Ljava/lang/String;)V
     // (LSystem/String;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::RAS506.HECRASController @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::RAS506.HECRASController>(@__env, @__obj);
         ((global::RAS506._HECRASController)(@__real)).Project_Open(global::net.sf.jni4net.utils.Convertor.StrongJ2CString(@__env, projectFilename));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
Ejemplo n.º 2
0
 private static void Project_Close4(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()V
     // ()V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::RAS506.HECRASController @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::RAS506.HECRASController>(@__env, @__obj);
         ((global::RAS506._HECRASController)(@__real)).Project_Close();
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
Ejemplo n.º 3
0
        private static bool Compute_CurrentPlan2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle nmsg, global::net.sf.jni4net.utils.JniLocalHandle Msg, global::net.sf.jni4net.utils.JniLocalHandle BlockingMode)
        {
            // (Lnet/sf/jni4net/Ref;Lnet/sf/jni4net/Ref;Lnet/sf/jni4net/Ref;)Z
            // (ILSystem/Array;Z)Z
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
            bool @__return = default(bool);

            try {
                int @__ref_nmsg = net.sf.jni4net.Ref.GetValue <int>(@__env, nmsg);
                global::System.Array @__ref_Msg         = net.sf.jni4net.Ref.GetValue <global::System.Array>(@__env, Msg);
                bool @__ref_BlockingMode                = net.sf.jni4net.Ref.GetValue <bool>(@__env, BlockingMode);
                global::RAS506.HECRASController @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::RAS506.HECRASController>(@__env, @__obj);
                @__return = ((bool)(((global::RAS506._HECRASController)(@__real)).Compute_CurrentPlan(ref __ref_nmsg, ref __ref_Msg, ref __ref_BlockingMode)));
                net.sf.jni4net.Ref.SetValue <int>(@__env, nmsg, @__ref_nmsg);
                net.sf.jni4net.Ref.SetValue <global::System.Array>(@__env, Msg, @__ref_Msg);
                net.sf.jni4net.Ref.SetValue <bool>(@__env, BlockingMode, @__ref_BlockingMode);
            }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
            return(@__return);
        }