//--------------------------------------------------------------------// // C o n s t r u c t o r // // P C L S y m b o l S e t // // // //--------------------------------------------------------------------// public PCLSymbolSet(PCLSymbolSets.eSymSetGroup group, PCLSymSetTypes.eIndex indxType, PCLTextParsingMethods.eIndex parsingMethod, UInt16 kind1, String alias, String name, Boolean mapped, PCLSymSetMaps.eSymSetMapId mapId) { _group = group; _indxType = indxType; _parsingMethod = parsingMethod; _kind1 = kind1; _alias = alias; _name = name; if ((kind1 < 1) // 1 = 0A // || (kind1 > 65530)) // 65530 = 2047Z // { _idNum = 0; _idAlpha = 0x3f; // ? // } else { _idNum = (UInt16)(kind1 / 32); _idAlpha = (Byte)((kind1 - (_idNum * 32)) + 64); } _id = _idNum.ToString() + Convert.ToChar(_idAlpha); _mapped = mapped; _mapId = mapId; }
//--------------------------------------------------------------------// // C o n s t r u c t o r // // P C L T e x t P a r s i n g M e t h o d // // // //--------------------------------------------------------------------// public PCLTextParsingMethod( PCLTextParsingMethods.eIndex indxMethod, Int16 value, String desc, UInt16 [] rangeDataSingle, UInt16 [] rangeDataDouble) { _indxMethod = indxMethod; _value = value; _desc = desc; _rangeDataSingle = rangeDataSingle; _rangeDataDouble = rangeDataDouble; }