Beispiel #1
0
        /// <summary>
        ///  Selected item from Station Table
        /// </summary>
        /// <param name="StationID">Guid StaionID</param>
        /// <returns>Indication Station Information</returns>
        public cstStationMasterTbl GetStationMaster(Guid StationID)
        {
            cmdStation command = new cmdStation();

            return(command.GetStationList(StationID));
        }
Beispiel #2
0
        /// <summary>
        /// Get station Information from the Device ID
        /// </summary>
        /// <param name="DevideID">String MAC Address </param>
        /// <returns>List<cstStationMasterTbl> </returns>
        public List <cstStationMasterTbl> GetStationMaster(String DeviceID)
        {
            cmdStation command = new cmdStation();

            return(command.GetStationList(DeviceID));
        }
Beispiel #3
0
        /// <summary>
        /// Station information filtered by Station Name
        /// </summary>
        /// <param name="Stationame">String Station name</param>
        /// <returns>cst StationMasterTbl Information</returns>
        public cstStationMasterTbl GetStationMasterByName(string Stationame)
        {
            cmdStation Command = new cmdStation();

            return(Command.GetStationInfo(Stationame));
        }
Beispiel #4
0
        /// <summary>
        /// Select All staion list from the tblStationmster Table
        /// </summary>
        /// <returns></returns>
        public List <cstStationMasterTbl> GetStationMaster()
        {
            cmdStation command = new cmdStation();

            return(command.GetStationList());
        }
Beispiel #5
0
        /// <summary>
        /// Upadte Station table with the Device ID record
        /// </summary>
        /// <param name="lsStationMaster">List <cstStationMasterTbl></param>
        /// <param name="DeviceID">String Device ID</param>
        /// <returns></returns>
        public Boolean SaveStationMaster(List <cstStationMasterTbl> lsStationMaster, String DeviceID)
        {
            cmdStation command = new cmdStation();

            return(command.SaveSationMaster(lsStationMaster, DeviceID));
        }
Beispiel #6
0
        /// <summary>
        /// Save data to the StationMaster Table.
        /// </summary>
        /// <param name="lsStationMaster">List<cstStationMasterTbl></param>
        /// <returns>Boolean </returns>
        public Boolean SaveStationMaster(List <cstStationMasterTbl> lsStationMaster)
        {
            cmdStation command = new cmdStation();

            return(command.SaveSationMaster(lsStationMaster));
        }