/// <summary> /// 解除呼叫 /// </summary> /// <param name="Id"></param> public void RemoveR_CallInfo(string Id) { R_CallInfo R_Call = GetAllRCallCache().Find(a => a.Id == Id); if (R_Call != null) { Dictionary <string, Dictionary <string, object> > updateItems = new Dictionary <string, Dictionary <string, object> >(); Dictionary <string, object> updateItem = new Dictionary <string, object>(); R_Call.CallType = 2; updateItem.Add("CallType", R_Call.CallType); R_Call.SendCount = 3; updateItem.Add("SendCount", R_Call.SendCount); //赋值操作用户,客户端IP地址 UpdateCreateUser(R_Call); updateItem.Add("CreateUserName", R_Call.CreateUserName); updateItem.Add("CreateClientIP", R_Call.CreateClientIP); updateItems.Add(R_Call.Id, updateItem); R_CallUpdateProperitesRequest request = new R_CallUpdateProperitesRequest(); request.updateItems = updateItems; _R_CallService.BachUpdateAlarmInfoProperties(request); } }
public static void UpdateCallItems(Dictionary <string, Dictionary <string, object> > updateItems) { R_CallUpdateProperitesRequest request = new R_CallUpdateProperitesRequest(); request.updateItems = updateItems; r_CallService.BachUpdateAlarmInfoProperties(request); }
public Basic.Framework.Web.BasicResponse BachUpdateAlarmInfoProperties(Sys.Safety.Request.R_Call.R_CallUpdateProperitesRequest callRequest) { return(_R_CallService.BachUpdateAlarmInfoProperties(callRequest)); }