/// <summary> /// /// </summary> /// <param name="dbi"></param> public DBHardwareBuilder(DBIBase dbi) { if (dbi == null) { throw new ArgumentNullException("dbi"); } this._dbi = dbi; }
/// <summary> /// /// </summary> /// <param name="dbi"></param> public SimpleDevicePersister(Xdgk.Common.DBIBase dbi) { if (dbi == null) { throw new ArgumentNullException("dbi"); } this._dbi = dbi; }
/// <summary> /// /// </summary> /// <param name="communiSoft"></param> /// <param name="dbiBase"></param> /// <param name="fromStation"></param> /// <param name="fromDevice"></param> /// <param name="fromOpera"></param> /// <param name="fromReceivePart"></param> /// <param name="fromAddress"></param> /// <param name="pr"></param> /// <returns></returns> public bool ProcessParseResult(CommuniSoft communiSoft, DBIBase dbiBase, string fromStation, string fromDevice, string fromOpera, string fromReceivePart, int fromAddress, ParseResult pr) { foreach (IParseResultProcessor p in IParseResultProcessorCollection) { if (p.ForDevice == fromDevice) { p.DBIBase = dbiBase; p.FromStation = fromStation; p.FromDevice = fromDevice; p.FromOpera = fromOpera; p.FromAddress = fromAddress; p.FromReceivePart = fromReceivePart; p.ProcessParseResult(communiSoft, pr); return true; } } return false; }
public CrlgxlPersister(DBIBase dbi) : base(dbi) { }
public Scl6Persister(DBIBase dbi) : base(dbi) { }
/// <summary> /// /// </summary> /// <param name="connString"></param> public DBIBase(string connString) { this._connString = connString; _DBIBase = this; }
/// <summary> /// /// </summary> /// <param name="dbi"></param> /// <param name="deviceType"></param> public SimpleDeviceSourceProvider(DBIBase dbi, Type deviceType) { if (dbi == null) { throw new ArgumentNullException("dbi"); } if (deviceType == null) { throw new ArgumentNullException("deviceType"); } this._dbi = dbi; this._deviceType = deviceType; }
public Xd100ePersister(DBIBase dbi) : base(dbi) { }