BasicProperties
 
General Info
Properties
Methods
Events



Embedded Beans
CPU Beans
About Beans
Bean Categories



Bean icon
 
 Bean BasicProperties
 
This bean is example of basic properties. The bean was designed to help developers start creating a new user beans quickly.

Parameters of the bean.

Properties:

  • Bean name - Bean name
  • Address in CPU address space - Setting of the property: AddrType: external, internal, RAM, ROM, FLASH, EEPROM, one type only, allocate; FixedSize=0; Symbol=ADDR; Value=0; MinValue=0; MaxValue=-1;
  • Boolean group - Setting of the property: Symbol=BOOLGROUP; TypeSpecName=typeEnaDis; Value=true; DefineYesNo=true;
    • Boolean yes / no - Setting of the property: Symbol=BOOL; TypeSpecName=typeYesNo; Value=false; GetTextValueIndex=false
  • Date - Setting of the property: Symbol=DATE; Text=12/31/2000; MinDateValue=01/01/1900; MaxDateValue=12/31/2999
  • Directory - Setting of the property: Symbol=DIR; Text=;
  • Enumeration - Setting of the property: Symbol=ENUM; TypeSpecName=MyFirstEnumType; GetTextValueIndex=false; Index=0;
  • External bitmap file - Setting of the property: Filter=Bitmap file (*.bmp)<PIPE>*.bmp; Symbol=BITMAP;Value=;
  • External file - Setting of the property: FileDefine=fdNONE; Filter=Html file (*.html)<PIPE>*.html; Symbol=FILE; Value=;
  • Group of items - Setting of the property: Expanded=expYES; Symbol=GROUP; Text=group of integer numbers;
    • Integer - signed - Setting of the property: Symbol=INT; Value=1; MaxValue=16; MinValue=-16;
    • Integer - unsigned - Setting of the property: Symbol=WORD; Value=100; MaxValue=65535; MinValue=0;
  • List of items - Setting of the property: ItemsName=Real; ItemsSymb=REAL; ItemsType=Real number; Symbol=LIST; ItemsTypeSpecName=; MaxItems=-1; MinItems=1; Text=list of real numbers;
    One item of the list looks like:
    Real0 - Real value
  • String - Setting of the property: Symbol=STRING; Value=default string value; MaxLength=-1; MinLength=0;
  • String list - Setting of the property: DefineList=false; AcceptNonPrintChars=false; ExternEditorEnabled=true;
  • Time - Setting of the property: Symbol=TIME; Text=08:15:00
  • CPU clock/speed selection - Setting of the property: default speed mode settings: Expanded=expYES; Symbol=_SpeedGrp;
    For details about speed modes please refer to page Speed Modes Support.



©1997-2005, UNIS, Ltd.