コード例 #1
0
 private void targetDirection2Text_TextChanged(object sender, EventArgs e)
 {
     ObservationOperation.CalculateDirectionLine(subPos1HeadingText, targetDirection2Text, observePoint1PositionText, ref directionLine2, ref targetDirectionLine2Text);
     ObservationOperation.CalculateRandomTargetLine(directionLine1, directionLine2, directionLine3, ref targetRandomLine, ref randomTargetLineText, ref targetLineLengthDiffText, ref randomTargetLineCalculationMethodText);
     ObservationOperation.CalculateEstimatedDirectionLine(directionLine1, directionLine2, directionLine3, targetRandomLine, observePoint1PositionText, observePos1TimeDiffText, observePos2TimeDiffText, ref estimatedDirectionLine, ref estimatedDirectionLineText, ref targetHeadingText);
     ObservationOperation.CalculateActualTargetLine(targetRandomLine, estimatedDirectionLine, directionLine1, directionLine2, directionLine3, directionLine4, observePos1TimeDiffText, ref targetActualLine, ref actualTargetLineText, ref targetConfirmedPos, ref targetConfirmedPosDate, ref targetSpeedText);
 }
コード例 #2
0
 private void targetHeight3Text_TextChanged(object sender, EventArgs e)
 {
     ObservationOperation.CalculateTargetObservationPos(targetDirection3Text, subHeadingText, targetObserveHeight3Text, targetHeightText, ref targetDistance3Text, ref observeDate3Text, ref targetPosition3Text);
     ObservationOperation.CalculateTargetLine(targetPosition1Text, observeDate1Text, targetPosition2Text, observeDate2Text, targetPosition3Text, ref targetLineText, ref targetLine, ref targetHeadingText);
     ObservationOperation.CalcualteAttackParameter(targetLine, targetHeadingText, subHeadingText, attackDirectionText, ref aobText, ref rangeText);
     ObservationOperation.CalculateCorrectionPointDistance(targetLine, targetPosition3Text, ref correctionPointDistanceText);
 }
コード例 #3
0
        private void CalculateCurrentPos()
        {
            while (true)
            {
                ObservationOperation.CalculateTargetCurrentPos(targetActualLine, targetConfirmedPos, targetConfirmedPosDate, targetSpeedText, ref targetEstimatedPosText);

                Thread.Sleep(1000);
            }
        }
コード例 #4
0
        private void CalculateCurrentPos()
        {
            while (true)
            {
                ObservationOperation.CalculateTargetCurrentPos(targetLine, targetPosition1Text, observeDate1Text, targetPosition2Text, observeDate2Text, targetObserveSpeedText, ref targetEstimatedPositionText);

                Thread.Sleep(1000);
            }
        }
コード例 #5
0
 private void attackDirectionText_TextChanged(object sender, EventArgs e)
 {
     ObservationOperation.CalcualteAttackParameter(targetActualLine, targetHeadingText, subPos2HeadingText, attackDirectionText, ref aobText, ref rangeText);
 }
コード例 #6
0
 private void targetDirection4Text_TextChanged(object sender, EventArgs e)
 {
     ObservationOperation.CalculateDirectionLine(subPos2HeadingText, targetDirection4Text, observePoint1PositionText, ref directionLine4, ref targetDirectionLine4Text, isObservePos1DirectionLine: false);
     ObservationOperation.CalculateActualTargetLine(targetRandomLine, estimatedDirectionLine, directionLine1, directionLine2, directionLine3, directionLine4, observePos1TimeDiffText, ref targetActualLine, ref actualTargetLineText, ref targetConfirmedPos, ref targetConfirmedPosDate, ref targetSpeedText);
 }