mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-01 17:35:33 +01:00
Update JSON files
This commit is contained in:
parent
f1d14059f5
commit
285a79f89b
4 changed files with 209 additions and 207 deletions
|
|
@ -11759,7 +11759,7 @@
|
|||
"datatype": "StatsCounter32"
|
||||
},
|
||||
"PacketsReceived": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -11770,7 +11770,7 @@
|
|||
"datatype": "StatsCounter64"
|
||||
},
|
||||
"PacketsSent": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -11803,7 +11803,7 @@
|
|||
"datatype": "StatsCounter32"
|
||||
},
|
||||
"BytesReceived": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -11814,7 +11814,7 @@
|
|||
"datatype": "StatsCounter64"
|
||||
},
|
||||
"BytesSent": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -12339,7 +12339,7 @@
|
|||
"datatype": "StatsCounter32"
|
||||
},
|
||||
"PacketsReceived": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -12350,7 +12350,7 @@
|
|||
"datatype": "StatsCounter64"
|
||||
},
|
||||
"PacketsSent": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -12383,7 +12383,7 @@
|
|||
"datatype": "StatsCounter32"
|
||||
},
|
||||
"BytesReceived": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
@ -12394,7 +12394,7 @@
|
|||
"datatype": "StatsCounter64"
|
||||
},
|
||||
"BytesSent": {
|
||||
"type": "unsignedInt",
|
||||
"type": "unsignedLong",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"version": "2.0",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -13,7 +13,6 @@ import bbf_common as bbf
|
|||
|
||||
DMC_DIR = "datamodel"
|
||||
|
||||
|
||||
def getlastname(name):
|
||||
return name.replace(".{i}", "").split('.')[-2]
|
||||
|
||||
|
|
@ -335,7 +334,7 @@ def printheaderObjCommon(objname):
|
|||
def cprintheaderOBJS(objname):
|
||||
fp = open('./.objparamarray.c', 'a', encoding='utf-8')
|
||||
print("DMOBJ %s[] = {" % ("t" + getname(objname) + "Obj"), file=fp)
|
||||
print("/* OBJ, permission, addobj, delobj, checkdep, browseinstobj, nextdynamicobj, dynamicleaf, nextobj, leaf, linker, bbfdm_type, uniqueKeys*/", file=fp)
|
||||
print("/* OBJ, permission, addobj, delobj, checkdep, browseinstobj, nextdynamicobj, dynamicleaf, nextobj, leaf, linker, bbfdm_type, uniqueKeys, version*/", file=fp)
|
||||
fp.close()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -75,10 +75,13 @@ def getparamtype(dmparam):
|
|||
break
|
||||
if c.tag == "dataType":
|
||||
reftype = c.get("ref")
|
||||
if "StatsCounter" in reftype:
|
||||
if reftype == "StatsCounter32" or reftype == "PSDBreakPointIndexAndLevel" or reftype == "PSMBreakPointIndexAndLevel" or reftype == "SELTPAttenuationCharacteristicsIndexAndTFlog":
|
||||
ptype = "unsignedInt"
|
||||
break
|
||||
elif "Dbm1000" in reftype:
|
||||
elif reftype == "StatsCounter64":
|
||||
ptype = "unsignedLong"
|
||||
break
|
||||
elif reftype == "Dbm1000" or reftype == "UERComplex":
|
||||
ptype = "int"
|
||||
break
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue