예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="dbi"></param>
 public DBHardwareBuilder(DBIBase dbi)
 {
     if (dbi == null)
     {
         throw new ArgumentNullException("dbi");
     }
     this._dbi = dbi;
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="dbi"></param>
        public SimpleDevicePersister(Xdgk.Common.DBIBase dbi)
        {
            if (dbi == null)
            {
                throw new ArgumentNullException("dbi");
            }

            this._dbi = dbi;
        }
예제 #3
0
파일: SimpleDPU.cs 프로젝트: hkiaipc/C3
        /// <summary>
        /// 
        /// </summary>
        /// <param name="dbi"></param>
        public SimpleDevicePersister(Xdgk.Common.DBIBase dbi)
        {
            if (dbi == null)
            {
                throw new ArgumentNullException("dbi");
            }

            this._dbi = dbi;
        }
예제 #4
0
        /// <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;
        }
예제 #5
0
파일: Class1.cs 프로젝트: hkiaipc/C3
 public CrlgxlPersister(DBIBase dbi)
     : base(dbi)
 {
 }
예제 #6
0
파일: Class1.cs 프로젝트: hkiaipc/C3
 public Scl6Persister(DBIBase dbi)
     : base(dbi)
 {
 }
예제 #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="connString"></param>
 public DBIBase(string connString)
 {
     this._connString = connString;
     _DBIBase         = this;
 }
예제 #8
0
파일: DBIBase.cs 프로젝트: hkiaipc/yh
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connString"></param>
 public DBIBase(string connString)
 {
     this._connString = connString;
     _DBIBase = this;
 }
예제 #9
0
파일: SimpleDPU.cs 프로젝트: hkiaipc/C3
        /// <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;
        }
예제 #10
0
파일: Class1.cs 프로젝트: hkiaipc/C3
 public Xd100ePersister(DBIBase dbi)
     : base(dbi)
 {
 }