using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XImagingXhandler.XDAL; namespace XCore { public class ChannelBll { public List GenerateChannelDirections() { List channelDirections= new List(); ChannelDirection cd1= new ChannelDirection(); cd1.channeldirection_id = "1"; cd1.channeldirection_name = "竖向"; channelDirections.Add(cd1); ChannelDirection cd2 = new ChannelDirection(); cd2.channeldirection_id = "2"; cd2.channeldirection_name = "向下竖向"; channelDirections.Add(cd2); ChannelDirection cd3 = new ChannelDirection(); cd3.channeldirection_id = "3"; cd3.channeldirection_name = "横向"; channelDirections.Add(cd3); ChannelDirection cd4 = new ChannelDirection(); cd4.channeldirection_id = "4"; cd4.channeldirection_name = "向下横向"; channelDirections.Add(cd4); return channelDirections; } } }