private void SetFlowProperty(ItemFlow itemFlow, List<Flow> flows)
{
Flow flow = flows.Single(f => f.Equals(itemFlow.Flow));
itemFlow.Flow.WindowTime = flow.WindowTime;
itemFlow.Flow.NextOrderTime = flow.NextOrderTime;
itemFlow.Flow.NextWindowTime = flow.NextWindowTime;
itemFlow.Flow.IsUpdateWindowTime = flow.IsUpdateWindowTime;
}