예제 #1
0
 public int ws_ins_upd_Period(int _id, int period, out string OpStatus)
 {
     try
     {
         OpStatus = "Выполнено";
         DeviceDataManager DDM = new DeviceDataManager();
         DDM.ins_upd_Period(_id, period);
         return(1);
     }
     catch (Exception err)
     {
         OpStatus = err.Message.ToString();
         return(0);
     }
 }
예제 #2
0
 public int ws_ins_upd_Period(int _id, int period, out string OpStatus)
 {
     try
     {
         OpStatus = "Выполнено";
         DeviceDataManager DDM = new DeviceDataManager();
         DDM.ins_upd_Period(_id, period);
         return 1;
     }
     catch (Exception err)
     {
         OpStatus = err.Message.ToString();
         return 0;
     }
 }