/// <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> /// Select All staion list from the tblStationmster Table /// </summary> /// <returns></returns> public List <cstStationMasterTbl> GetStationMaster() { cmdStation command = new cmdStation(); return(command.GetStationList()); }
/// <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> /// Parameterised Constructor /// </summary> /// <param name="DeviceID">String Device number.(MAC Address)</param> public model_Station(String DeviceID) { StationID = StationFucntions.GetStationList(DeviceID).FirstOrDefault().StationID; //Set Model Infotion; _modelSetStationInfotmation(); }