Ejemplo n.º 1
0
        /// <summary>
        /// 重置
        /// </summary>
        public void Reset()
        {
            ScoreCalculator.Init();

            CurrentDeviceState = DeviceState.None;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 关开关完成
        /// </summary>
        public void SwitchOffComplete()
        {
            var score = ScoreCalculator.CalcSwitchOffResult(CurrentWeldingType, CurrentDeviceState);

            Logger.Debug("关开关成绩:{score.ToString(CultureInfo.InvariantCulture)}");
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 排查隐患完成
        /// </summary>
        public void CheckTroubleComplete()
        {
            var score = ScoreCalculator.CalcCheckTroubleResult(CurrentWeldingType, CurrentDeviceState);

            Logger.Debug("排查隐患成绩:{score.ToString(CultureInfo.InvariantCulture)}");
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 焊前检查完成
        /// </summary>
        public void InspectionBeforeWeldingComplete()
        {
            var score = ScoreCalculator.CalcInspectionBeforeWeldingResult(CurrentWeldingType, CurrentDeviceState);

            Logger.Debug("焊前检查成绩:{score.ToString(CultureInfo.InvariantCulture)}");
        }