Ejemplo n.º 1
0
 public void MarshalSaHpiAnnunciatorRecT( SaHpiAnnunciatorRecT x )
 {
     MarshalSaHpiAnnunciatorNumT( x.AnnunciatorNum );
     MarshalSaHpiAnnunciatorTypeT( x.AnnunciatorType );
     MarshalSaHpiBoolT( x.ModeReadOnly );
     MarshalSaHpiUint32T( x.MaxConditions );
     MarshalSaHpiUint32T( x.Oem );
 }
Ejemplo n.º 2
0
            public SaHpiAnnunciatorRecT DemarshalSaHpiAnnunciatorRecT()
            {
                SaHpiAnnunciatorRecT x = new SaHpiAnnunciatorRecT();

                x.AnnunciatorNum = DemarshalSaHpiAnnunciatorNumT();
                x.AnnunciatorType = DemarshalSaHpiAnnunciatorTypeT();
                x.ModeReadOnly = DemarshalSaHpiBoolT();
                x.MaxConditions = DemarshalSaHpiUint32T();
                x.Oem = DemarshalSaHpiUint32T();

                return x;
            }
Ejemplo n.º 3
0
 /**
  * Check function for HPI struct SaHpiAnnunciatorRecT
  */
 public static bool Check( SaHpiAnnunciatorRecT x )
 {
     if ( x == null ) {
     return false;
     }
     return true;
 }