/// <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)); }
/// <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)); }
/// <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)); }
/// <summary> /// Select All staion list from the tblStationmster Table /// </summary> /// <returns></returns> public List <cstStationMasterTbl> GetStationMaster() { cmdStation command = new cmdStation(); return(command.GetStationList()); }
/// <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)); }
/// <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)); }