Esempio n. 1
0
 protected override bool AddObject(ITreeNode plcObj, Dictionary <string, Tuple <int, PlcObject> > plcObjects, IEnumerable <string> values)
 => PlcObjectResolver.AddRawPlcObjects(PlcObject, Variables, values);
Esempio n. 2
0
 public MappingEntry(PlcDataMapper mapper, MappingAttribute mapping, Type type, PlcMetaDataTree tree, int readDataBlockSize, int validationTimeInMs)
     : base(mapper, PlcObjectResolver.GetMapping(mapping?.Name, tree, type), readDataBlockSize, validationTimeInMs)
 {
     Mapping = mapping ?? ExceptionThrowHelper.ThrowArgumentNullException <MappingAttribute>(nameof(mapping));
     Type    = type ?? ExceptionThrowHelper.ThrowArgumentNullException <Type>(nameof(type));
 }