public bool IsAGVStationPort(EqptBLL eqptBLL, string portID) { APORTSTATION port_station = CacheManager.getPortStation(portID); if (port_station == null) { return(false); } return(port_station.GetEqptType(eqptBLL) == SCAppConstants.EqptType.AGVStation); }