Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Blok kódu
languageesl
themeConfluence
typedef struct _StationPar
 {
   HOBJ          spID;           // station Id
   HOBJ          spParent;       // parent Id - lines
   char          spName[32];     // Object name - stations
   unsigned int  spProtocol;     // Station protocol
   KomObjAddress spAdr;          // Station address
   char          spStaInit[200]; // Init station parameters
   LineParPtr    spLnPar;        // Parent parameters
   void         *spStVarPar;     // Parameters dependant on a protocol
   KomUniVal    *spStVal;        // value
 } StationPar;

Structure StationPar defines the parameters of Station type. All the parameters are read-only except the spStVarPar!

spID

Station ID (HOBJ).

spParent

...

Station address

spStaInit

Station initialisation initialization parameters.

spLnPar

Address Pointer to the parameters of the station parent (line).

spStVarPar

Address Pointer to a user's structure. A programmer can place here a pointer to own structure with auxiliary parameters for the station.

spPtVal

Address to a KomUniVal structure KomUniVal (value of the station).

Info
titleRelated pages:

D2000 KomAPI - interface structures

...