示例#1
0
 public MTrsLoader(CObjectInfo objInfo, int selfChannel,
                   CTrsLoaderRefComp refComp, CTrsLoaderData data)
     : base(objInfo, selfChannel)
 {
     m_RefComp = refComp;
     SetData(data);
 }
示例#2
0
        void CreateTrsLoader(CObjectInfo objInfo)
        {
            CTrsLoaderRefComp refComp = new CTrsLoaderRefComp();

            refComp.ctrlLoader = m_ctrlLoader;

            CTrsLoaderData data = new CTrsLoaderData();

            m_trsLoader = new MTrsLoader(objInfo, TrsLoader, refComp, data);
        }
示例#3
0
        public int GetData(out CTrsLoaderData target)
        {
            target = ObjectExtensions.Copy(m_Data);

            return(SUCCESS);
        }
示例#4
0
 public int SetData(CTrsLoaderData source)
 {
     m_Data = ObjectExtensions.Copy(source);
     return(SUCCESS);
 }