[後端] 修改Device SaveChangeName api
This commit is contained in:
		
							parent
							
								
									6f80966014
								
							
						
					
					
						commit
						19d3845a95
					
				@ -61,10 +61,10 @@ namespace Backend.ApiControllers
 | 
				
			|||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            { "@user_guid", myUser.userinfo_guid },
 | 
					                            { "@user_guid", myUser.userinfo_guid },
 | 
				
			||||||
                            { "@operation_type", 1 }, //1:名稱修改
 | 
					                            { "@operation_type", 1 }, //1:名稱修改
 | 
				
			||||||
                            { "@building_guid", GetOne.Building_guid },
 | 
					                            { "@building_guid", GetOne.building_tag },
 | 
				
			||||||
                            { "@main_system_guid", GetOne.Main_system_guid },
 | 
					                            { "@main_system_guid", GetOne.device_system_tag },
 | 
				
			||||||
                            { "@sub_system_guid", GetOne.Sub_system_guid },
 | 
					                            { "@sub_system_guid", GetOne.device_name_tag },
 | 
				
			||||||
                            { "@floor_guid", GetOne.Floor_guid },
 | 
					                            { "@floor_guid", GetOne.floor_tag },
 | 
				
			||||||
                            { "@device_guid", GetOne.Device_guid },
 | 
					                            { "@device_guid", GetOne.Device_guid },
 | 
				
			||||||
                            { "@action_name", "修改名稱" },
 | 
					                            { "@action_name", "修改名稱" },
 | 
				
			||||||
                            { "@parameter", JsonConvert.SerializeObject(change) },
 | 
					                            { "@parameter", JsonConvert.SerializeObject(change) },
 | 
				
			||||||
 | 
				
			|||||||
@ -54,13 +54,13 @@ namespace Backend.Models
 | 
				
			|||||||
        public string Device_guid { get; set; }
 | 
					        public string Device_guid { get; set; }
 | 
				
			||||||
        public byte Deleted { get; set; }
 | 
					        public byte Deleted { get; set; }
 | 
				
			||||||
        public byte Status { get; set; }
 | 
					        public byte Status { get; set; }
 | 
				
			||||||
        public string Building_guid { get; set; }
 | 
					        public string building_tag { get; set; }
 | 
				
			||||||
        public string Building_full_name { get; set; }
 | 
					        public string Building_full_name { get; set; }
 | 
				
			||||||
        public string Main_system_guid { get; set; }
 | 
					        public string Main_system_guid { get; set; }
 | 
				
			||||||
        public string Main_system_full_name { get; set; }
 | 
					        public string Main_system_full_name { get; set; }
 | 
				
			||||||
        public string Sub_system_guid { get; set; }
 | 
					        public string Sub_system_guid { get; set; }
 | 
				
			||||||
        public string Sub_system_full_name { get; set; }
 | 
					        public string Sub_system_full_name { get; set; }
 | 
				
			||||||
        public string Floor_guid { get; set; }
 | 
					        public string floor_tag { get; set; }
 | 
				
			||||||
        public string Floor_full_name { get; set; }
 | 
					        public string Floor_full_name { get; set; }
 | 
				
			||||||
        public string Device_coordinate { get; set; }
 | 
					        public string Device_coordinate { get; set; }
 | 
				
			||||||
        public string Device_full_name { get; set; }
 | 
					        public string Device_full_name { get; set; }
 | 
				
			||||||
@ -76,7 +76,8 @@ namespace Backend.Models
 | 
				
			|||||||
        public string Device_flashing { get; set; }
 | 
					        public string Device_flashing { get; set; }
 | 
				
			||||||
        public string Device_ip { get; set; }
 | 
					        public string Device_ip { get; set; }
 | 
				
			||||||
        public string Device_port { get; set; }
 | 
					        public string Device_port { get; set; }
 | 
				
			||||||
        public string Device_name_tag { get; set; }
 | 
					        public string device_name_tag { get; set; }
 | 
				
			||||||
 | 
					        public string device_system_tag { get; set; }
 | 
				
			||||||
        public List<DeviceDisaster> Device_disasters { get; set; } //防災類型
 | 
					        public List<DeviceDisaster> Device_disasters { get; set; } //防災類型
 | 
				
			||||||
        public List<DeviceNode> Device_nodes { get; set; } //設備子節點
 | 
					        public List<DeviceNode> Device_nodes { get; set; } //設備子節點
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user