Exemple #1
0
        private void createNewParam(String name, TypeParametr type, String range, String index)
        {
            String sqlReqStr = "INSERT INTO PARAM (TASK_ID, NAME, TYPE, RANGE, NUMBER) " +
                               "VALUES('" + TaskID + "','" + name + "','" + ((int)type).ToString() + "','" + range + "','" + index + "');";
            int state = sqlManager.SendInsertRequest(sqlReqStr);

            if (state == 0)
            {
                Console.WriteLine("error");
            }
        }
Exemple #2
0
 public ShowTypeParametr(TypeParametr _type, string _name)
 {
     this.type = _type;
     this.name = _name;
 }
Exemple #3
0
 public ShowTypeParametr(TypeParametr _type, string _name)
 {
     this.type = _type;
     this.name = _name;
 }
Exemple #4
0
 private void createNewParam(String name, TypeParametr type, String range, String index)
 {
     String sqlReqStr = "INSERT INTO PARAM (TASK_ID, NAME, TYPE, RANGE, NUMBER) " +
         "VALUES('" + TaskID + "','" + name + "','" + ((int)type).ToString() + "','" + range + "','" + index + "');";
     int state = sqlManager.SendInsertRequest(sqlReqStr);
     if (state == 0)
         Console.WriteLine("error");
 }