public TaskQueue(ThematicOrder to, List <CommonOrder> commonOrderList, List <AssistData> assistDataList) { this.thematicOrder = to; this.commonOrderList = commonOrderList; this.assistDataList = assistDataList; if (to.Orderid == null) { isLocalOrder = true; } else { } }
public List <string> GetAssistInNeed(ThematicOrder to) { if (thematicNameList.Count == 0) { return(null); } foreach (string name in thematicNameList) { if (to.ProductName.Contains(name)) { return(assistMap[name]); } } return(null); }