Example #1
0
 public AddressSpace(ClickVariableType type, DatumAddressKind kind, int baseAddress, Type datumType, int datumSize, int minLogicalAddress, int maxLogicalAddress)
 {
     this.Type              = type;
     this.Kind              = kind;
     this.BaseAddress       = baseAddress;
     this.DatumType         = datumType;
     this.DatumSize         = datumSize;
     this.MinLogicalAddress = minLogicalAddress;
     this.MaxLogicalAddress = maxLogicalAddress;
 }
Example #2
0
 private void RegisterAddressSpace(ClickVariableType variableType, DatumAddressKind addressKind, int baseAddress, Type datumType, int datumSize, int maxLogicalAddress)
 {
     RegisterAddressSpace(variableType, addressKind, baseAddress, datumType, datumSize, 1, maxLogicalAddress);
 }
Example #3
0
        private void RegisterAddressSpace(ClickVariableType variableType, DatumAddressKind addressKind, int baseAddress, Type datumType, int datumSize, int minLogicalAddress, int maxLogicalAddress)
        {
            var space = new AddressSpace(variableType, addressKind, baseAddress, datumType, datumSize, minLogicalAddress, maxLogicalAddress);

            _addressMap.Add(variableType, space);
        }