this is because the function
GetSpectrumBandList()
returns a list
splist
that contains a list of
SpectrumInfo
ProView.Web.Services.SpectrumInfo
which cannot be assign to a list of integers that's why you are getting such error. you can avoid this by using like this :
matchInfo.Channels = new List<spectruminfo>();</spectruminfo>