//{PREFIX}-{POD_TYPE}{RETRO_TYPE}-{RETRO_ID}-{TRACK}-{POD_ID} public string assignNewPodId(string prodCodeStr, int newPodId) { ProductionCode prodCode = new ProductionCode(); prodCode = deconstructProdCode(prodCodeStr); prodCode.pod_id = newPodId; return(prodCode.ToString()); }
public string assignNewRetroType(string prodCodeStr, string newRetroTypeCode) { ProductionCode prodCode = new ProductionCode(); prodCode = deconstructProdCode(prodCodeStr); prodCode.retro_type = newRetroTypeCode; return(prodCode.ToString()); }
public string assignNewTrack(string prodCodeStr, int newTrack) { ProductionCode prodCode = new ProductionCode(); prodCode = deconstructProdCode(prodCodeStr); prodCode.track = newTrack; return(prodCode.ToString()); }
public string incTrackFromProdCode(string prodCodeStr) { ProductionCode prodCode = deconstructProdCode(prodCodeStr); int track = -1; try { ++prodCode.track; return(prodCode.ToString()); } catch (Exception) { return(""); } }