严智鑫
2025-03-14 c41e1c8b82b8f4c7b149e0576c9a37bc5b2dbb85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%@page import="com.northglass.GlassLayout.Algorithm.AlgorithmDBInterface"%>
<%@page import="com.northglass.Globel.mes"%>
<%@page import="com.northglass.SqlHelper.*"%>
<%@page import="org.json.*"%>
<%@ page contentType="text/json;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 
 
<%
  System.out.println("change");
    String line=request.getParameter("line");
    System.out.print(line==null);
    if("1".equals(line)){
        AlgorithmDBInterface.canRotate1=!AlgorithmDBInterface.canRotate1;
    }
    if("2".equals(line)){
        AlgorithmDBInterface.canRotate2=!AlgorithmDBInterface.canRotate2;
         System.out.println(    AlgorithmDBInterface.canRotate2);
    }
    
    out.print("{result:\"ok\"}");
%>