zhangchengsong
7 小时以前 0e450768c357b45701a2e5ed162f4e93b3dd617c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_ISystemRepository;
using WIDESEAWCS_ISystemServices;
using WIDESEAWCS_Model;
using WIDESEAWCS_Model.Models;
using WIDESEAWCS_Model.Models.System;
 
namespace WIDESEAWCS_SystemServices
{
    public class Dt_PlatformStationService : ServiceBase<Dt_PlatformStation, IDt_PlatformStationRepository>, IDt_PlatformStationService
    {
        public Dt_PlatformStationService(IDt_PlatformStationRepository BaseDal) : base(BaseDal)
        {
        }
 
 
        public List<Dt_PlatformStation> getStatiomList(string ChildPosiDeviceCode)
        {
            return BaseDal.QueryData(x=>x.ChildPosiDeviceCode== ChildPosiDeviceCode).ToList();
        }
 
        public Dt_PlatformStation getStatiomInfo(string SourceAddress)
        {
            return BaseDal.QueryData(x => x.Station_code == SourceAddress).FirstOrDefault();
        }
    }
}