Exemple #1
0
 public void MarshalSaHpiHpiSwEventT( SaHpiHpiSwEventT x )
 {
     MarshalSaHpiManufacturerIdT( x.MId );
     MarshalSaHpiSwEventTypeT( x.Type );
     MarshalSaHpiTextBufferT( x.EventData );
 }
Exemple #2
0
            public SaHpiHpiSwEventT DemarshalSaHpiHpiSwEventT()
            {
                SaHpiHpiSwEventT x = new SaHpiHpiSwEventT();

                x.MId = DemarshalSaHpiManufacturerIdT();
                x.Type = DemarshalSaHpiSwEventTypeT();
                x.EventData = DemarshalSaHpiTextBufferT();

                return x;
            }
Exemple #3
0
 /**
  * Check function for HPI struct SaHpiHpiSwEventT
  */
 public static bool Check( SaHpiHpiSwEventT x )
 {
     if ( x == null ) {
     return false;
     }
     if ( !Check( x.EventData ) ) {
     return false;
     }
     return true;
 }