示例#1
0
    public void SaveToFile()
    {
        MirToPionts.MirToCoord();
        StreamWriter sw = new StreamWriter("name.txt");

        sw.WriteLine("X1\t\t\tY1\t\t\tX2\t\t\tY2");
        for (int i = 0; i < Params.Y2.ToArray().Length; i++)
        {
            sw.WriteLine(Params.X1.ToArray()[i] + "\t" + Params.Y1.ToArray()[i] + "\t" + Params.X2.ToArray()[i] + "\t" + Params.Y2.ToArray()[i]);
        }
        sw.Close();
    }
示例#2
0
 public void PrepeirToCalc()
 {
     LaserToPoint.LaserToCoord();
     MirToPionts.MirToCoord();
 }