diff --git a/PROMS/DataLoader/Transitions.cs b/PROMS/DataLoader/Transitions.cs index 9449a0b4..b745590b 100644 --- a/PROMS/DataLoader/Transitions.cs +++ b/PROMS/DataLoader/Transitions.cs @@ -138,14 +138,14 @@ namespace DataLoader // last sibling. In data, these are represented with the SQL database field in the transitions // table 'IsRange' == 2, and the toid == rangeid. In the content record, the link is // TransitionRange:[type] [tranid] [toid] [rangeid] -> and the toid == rangeid - if (itype == 2) - { - if (dr["TOSEQUENCE"].ToString().Length > 3 && - dr["TOSEQUENCE"].ToString().Substring(0, 2) == dr2["TOSEQUENCE"].ToString().Substring(0, 2)) - thekey2 = thekey; - else - thekey2 = dr2["TONUMBER"].ToString() + "|" + dr2["TOSEQUENCE"].ToString().Substring(0, 3); - } + //if (itype == 2) + //{ + // if (dr["TOSEQUENCE"].ToString().Length > 3 && + // dr["TOSEQUENCE"].ToString().Substring(0, 2) == dr2["TOSEQUENCE"].ToString().Substring(0, 2)) + // thekey2 = thekey; + // else + // thekey2 = dr2["TONUMBER"].ToString() + "|" + dr2["TOSEQUENCE"].ToString().Substring(0, 3); + //} if (dicTrans_ItemDone.ContainsKey(thekey2)) { toItem2 = dicTrans_ItemDone[thekey2];