public void RegistPt(ushort pt_id, CreateNewPt CreateNewFun, ProcessPt ProcessPtFun) { if (!dicPts.ContainsKey(pt_id)) { dicPts.Add(pt_id, new PtRigstInfo(CreateNewFun, ProcessPtFun)); } }
public void PrcPt(st.net.NetBase.Pt pt) { if (dicPts.ContainsKey(pt.GetID())) { ProcessPt ProcessPtFun = dicPts[pt.GetID()].ProcessPtFun; ProcessPtFun(pt); } }
public PtRigstInfo(CreateNewPt _CreateNewFun, ProcessPt _ProcessPtFun) { CreateNewFun = _CreateNewFun; ProcessPtFun = _ProcessPtFun; }