smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

gsm: Allow to create a default value for the classmark3

This commit is contained in:
Holger Hans Peter Freyther 2013-01-07 12:45:36 +01:00
parent 3dd455a510
commit ef362d2b23
1 changed files with 11 additions and 0 deletions

View File

@ -739,6 +739,17 @@ GSM48DataHolder subclass: GSM48Classmark3 [
<gsmName: 'cm3'>
<gsmElementId: 2r00100000>
<gsmMinValueSize: 2 max: 12>
GSM48Classmark3 class >> createDefault [
<category: 'creation'>
^ self new
data: self defaultValue; yourself
]
GSM48Classmark3 class >> defaultValue [
<category: 'default'>
^ #(16r60 16r14 16r4C 16r8F 16r60 16r3B 16r88 16r00 16r90) asByteArray.
]
]
GSM48VariableSizedIE subclass: GSM48MIdentity [