using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OTSPartA_STDEditor { public class STDGroups { int s_id = 0; string s_name = ""; string s_color = "#FFFFFF"; int i_iorder = 0; int i_InfoState = 1; List _ContainSTD=new List(); public int id { set { s_id = value; } get { return s_id; } } public string name { set { s_name = value; } get { return s_name; } } public string color { set { s_color = value; } get { return s_color; } } public int iorder { set { i_iorder = value; } get { return i_iorder; } } public int InfoState { set { i_InfoState = value; } get { return i_InfoState; } } public List ContainSTD { set { _ContainSTD = value;} get { return _ContainSTD;} } public object Clone(STDGroups a_oSource) { STDGroups MySTDGroups = new STDGroups(); MySTDGroups.id=a_oSource.id; MySTDGroups.name = a_oSource.name; MySTDGroups.color = a_oSource.color; MySTDGroups.iorder = a_oSource.iorder; MySTDGroups.InfoState = a_oSource.InfoState; return MySTDGroups; } } }