Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Example Parts Library cbold_logo_gif

<<  File View  >> Class View Parts Library Examples Home

 

// This File Generated by:  pt_to_h.exe
// Source File:             esd.pt
// Destination File:        esd.h
 
#ifndef _esd_h_
#define _esd_h_
 
// AR_OFF -- auto registration is not needed
 
// THIS FILE IS IN THE PUBLIC DOMAIN.
// IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
// NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
class CP_ESD_STRIP_400 : public TPart {     // ESD discharge strip for 400mm-deep VME
 
public:
  port   FRONT;     // long  front  strip connected directly to front panel
  port   MID;       // short middle strip connected via 2 x 1 Mohm to circuit GND
  port   REAR;      // short rear   strip connected via 2 x 1 Mohm to front strip
 
  CP_ESD_STRIP_400() {
    SetPackage( "ESD_400MM", 3 );
    SetReferencePrefix( "S" );
  }
 
  virtual void Register() {
    reg(  FRONT );
          FRONT.SetPin( "1" );
    reg(  MID );
          MID.SetPin( "2" );
    reg(  REAR );
          REAR.SetPin( "3" );
  }
};
 
class CP_ESD_STRIP_220R : public TPart {     // ESD discharge strip for 220mm-deep VME rear transition module
 
public:
  port   REAR;      // long  rear   strip connected directly to rear panel
  port   MID;       // short middle strip connected via 2 x 1 Mohm to circuit GND
  port   FRONT;     // short front  strip connected via 2 x 1 Mohm to rear strip
 
  CP_ESD_STRIP_220R() {
    SetPackage( "ESD_220MMR", 3 );
    SetReferencePrefix( "S" );
  }
 
  virtual void Register() {
    reg(  REAR );
          REAR.SetPin( "1" );
    reg(  MID );
          MID.SetPin( "2" );
    reg(  FRONT );
          FRONT.SetPin( "3" );
  }
};
 
 
#endif

 

<<  File View  >> Class View Parts Library Examples Home

Legal Copyright © 2007 by Coolquest, Inc. Contact