Exemple #1
0
        public void OffSurfaceGather(string reportName, string WP4000IP) // 注销外部采集
        {
            GatherEvent e      = GatherFace.OffSurfaceGather(reportName);
            功率分析仪       _功率分析仪 = AnyWay类构造.获取功率分析仪(WP4000IP);

            _功率分析仪.解析完毕 -= e.外部采集处理函数;
        }
Exemple #2
0
 public void HandGather(string reportName)
 {
     GatherFace.HandGather(reportName);
     if (this.isOrder)
     {
         GatherFace.SetOrder(this.view);
     }
 }
Exemple #3
0
 public void RemoveRecord(decimal id, string reportName)
 {
     GatherFace.RemoveRecord(id, reportName);
     if (this.isOrder)
     {
         GatherFace.SetOrder(this.view);
     }
 }
Exemple #4
0
        public void LoginSurfaceGather(string reportName, string WP4000IP) // 注册外部采集
        {
            功率分析仪       _功率分析仪 = AnyWay类构造.获取功率分析仪(WP4000IP);
            GatherEvent e      = new GatherEvent();

            _功率分析仪.解析完毕 += new 功率分析仪.解析完毕通知(e.外部采集处理函数);
            GatherFace.LoginSurfaceGather(reportName, e);
        }
Exemple #5
0
        // 加载报表信息
        public void Load(string reportName, IThreadAction _action, decimal groupid, int 间隔时间, int 延时时间)
        {
            GatherGroupLogic _group = new GatherGroupLogic();

            _group.LoadGroupInfo(groupid);
            GatherDBLogic   db    = new GatherDBLogic(reportName, _group);
            GatherItemLogic IItem = new GatherItemLogic();

            GatherFace.Load(reportName, db, IItem, 间隔时间, 延时时间, _action);
        }
Exemple #6
0
 public void EndGather(string reportName)
 {
     GatherFace.EndGather(reportName);
 }
Exemple #7
0
 public void StartGather(string reportName)
 {
     GatherFace.StartGather(reportName);
 }
Exemple #8
0
 public void GatherStorePattern(string reportName, DataStoreType type) // 采集存储模式
 {
     GatherFace.GatherStorePattern(reportName, type);
 }
Exemple #9
0
 public DataTable GetReportTable(string reportName)
 {
     return(GatherFace.GetReportTable(reportName));
 }
Exemple #10
0
 public void TableComputer(string tbName, string FiledName, ITableComputer computer)
 {
     GatherFace.TableComputer(tbName, FiledName, computer);
 }
Exemple #11
0
 public void GatherComplete(IGatherComplete _complete, string reportName)
 {
     GatherFace.GatherComplete(_complete, reportName);
 }
Exemple #12
0
 public void LoadGrid(控件库.表格控件.Grid _Grid, string tbName, string Fliter, string sort, bool order) // Fliter过滤条件,sort是排序,order是否要加入自动序号
 {
     this.isOrder = order;
     view         = GatherFace.LoadGrid(_Grid, tbName, Fliter, sort, order);
 }
Exemple #13
0
 public void LoadGrid(控件库.表格控件.Grid _Grid, string tbName)
 {
     GatherFace.LoadGrid(_Grid, tbName);
 }
Exemple #14
0
 public void EditTime(string reportName, int 间隔时间)
 {
     GatherFace.EditTime(reportName, 间隔时间);
 }
Exemple #15
0
 public void AddRowEvent(string reportName, IGatherRow Irow)
 {
     GatherFace.AddRowEvent(reportName, Irow);
 }
Exemple #16
0
 public void UpdateToDB(string reportName) // 更新表到数据库
 {
     GatherFace.UpdateToDB(reportName);
 }