Skip to content

Commit 052a08b

Browse files
Delete unused DBR to DBF mapping
1 parent 39ac639 commit 052a08b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

softioc/fields.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,6 @@
4343
DBF_NOACCESS: c_void_p,
4444
}
4545

46-
# Mapping from basic DBR_ codes to DBF_ values
47-
DbrToDbfCode = {
48-
DBR_STRING: DBF_STRING,
49-
DBR_SHORT: DBF_SHORT,
50-
DBR_FLOAT: DBF_FLOAT,
51-
DBR_ENUM: DBF_ENUM,
52-
DBR_CHAR: DBF_CHAR,
53-
DBR_LONG: DBF_LONG,
54-
# DBR_INT64: DBF_INT64, # TODO: the DBR_ definitions come from epicscorelibs.ca.dbr, but they don't define the 64 versions
55-
# DBR_UINT64: DBF_UINT64,
56-
DBR_DOUBLE: DBF_DOUBLE
57-
}
58-
5946

6047
class RecordFactory(object):
6148
def __init__(self, record_type, fields):

0 commit comments

Comments
 (0)