if(vessel_id.StartsWith("F")) {
var shipProfile = getShipProfile(vessel_id);
if(shipProfile != null && shipProfile == "active") {
disableShipIfExist(imo_no,port_reg,flag);
disableShipIfExist(official_no,port_reg,flag);
insertShipProfileWithCert();
public void disableShipIfExist(string s1, string s2, string s3) {
public void insertShipProfileWithCert() {
public void updateProfile() {
public void processCertificate() {
public string getShipProfile(string s1) {