using FLY.OBJComponents.Server.Model; using SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FLY.Thick.Blowing.Server.Model { /// /// 数据库对象 /// public class DbModel:SQLiteDbContext,IErrorDBModel { /// /// Profile表 对象 /// public DBTable TbProfile { get; } = new DBTable(); /// /// ScanData表 对象 /// public DBTable TbScanData { get; } = new DBTable(); /// /// TrendData表 对象 /// public DBTable TbTrendData { get; } = new DBTable(); /// /// Sample表 对象 /// public DBTable TbSample { get; } = new DBTable(); /// /// TrendData表 对象 /// public DBTable TbError { get; } = new DBTable(); /// /// /// /// sqlite数据库路径 public DbModel(string dbpath) : base(dbpath) { } /// /// /// public DbModel() : this(@"D:\blowingdata\thickness.sqlite3") { } } }