/// <summary> /// 更新当前使命类特有的需要传递给策略的变量名和变量值,在ProcessControlRules中调用 /// </summary> private void UpdateHtMissionVariables() { // 更新当前已经完成的单程数量 HtMissionVariables["CompetitionPeriod"] = CompetitionPeriod.ToString(); HtMissionVariables["Ball_0_Left_Status"] = ballleft[0]; HtMissionVariables["Ball_1_Left_Status"] = ballleft[1]; HtMissionVariables["Ball_2_Left_Status"] = ballleft[2]; HtMissionVariables["Ball_3_Left_Status"] = ballleft[3]; HtMissionVariables["Ball_4_Left_Status"] = ballleft[4]; HtMissionVariables["Ball_5_Left_Status"] = ballleft[5]; HtMissionVariables["Ball_6_Left_Status"] = ballleft[6]; HtMissionVariables["Ball_7_Left_Status"] = ballleft[7]; HtMissionVariables["Ball_8_Left_Status"] = ballleft[8]; HtMissionVariables["Ball_0_Right_Status"] = ballright[0]; HtMissionVariables["Ball_1_Right_Status"] = ballright[1]; HtMissionVariables["Ball_2_Right_Status"] = ballright[2]; HtMissionVariables["Ball_3_Right_Status"] = ballright[3]; HtMissionVariables["Ball_4_Right_Status"] = ballright[4]; HtMissionVariables["Ball_5_Right_Status"] = ballright[5]; HtMissionVariables["Ball_6_Right_Status"] = ballright[6]; HtMissionVariables["Ball_7_Right_Status"] = ballright[7]; HtMissionVariables["Ball_8_Right_Status"] = ballright[8]; }
/// <summary> /// 更新当前使命类特有的需要传递给策略的变量名和变量值,在ProcessControlRules中调用 /// </summary> private void UpdateHtMissionVariables() { // 更新当前已经完成的单程数量 HtMissionVariables["CompetitionPeriod"] = CompetitionPeriod.ToString(); }
/// <summary> /// 更新当前使命类特有的需要传递给策略的变量名和变量值,在ProcessControlRules中调用 /// </summary> private void UpdateHtMissionVariables() { // 更新比赛阶段值 HtMissionVariables["CompetitionPeriod"] = CompetitionPeriod.ToString(); }