public void LoadStatistic(ref COMDT_WEAL_CON_DATA dat) { for (ushort i = 0; i < dat.wWealNum; i = (ushort)(i + 1)) { COMDT_WEAL_CON_DATA_DETAIL conData = dat.astWealDetail[i]; ExeTaskActivity activity = this.GetActivity(COM_WEAL_TYPE.COM_WEAL_CONDITION, conData.dwWealID) as ExeTaskActivity; if (activity != null) { activity.LoadInfo(conData); } } }
public void LoadStatistic(ref COMDT_WEAL_CON_DATA dat) { for (ushort num = 0; num < dat.wWealNum; num += 1) { COMDT_WEAL_CON_DATA_DETAIL cOMDT_WEAL_CON_DATA_DETAIL = dat.astWealDetail[(int)num]; ExeTaskActivity exeTaskActivity = this.GetActivity(COM_WEAL_TYPE.COM_WEAL_CONDITION, cOMDT_WEAL_CON_DATA_DETAIL.dwWealID) as ExeTaskActivity; if (exeTaskActivity != null) { exeTaskActivity.LoadInfo(cOMDT_WEAL_CON_DATA_DETAIL); } } }