local base = UIBaseContainer
local KillZombieActivityALKirovProgressItem = BaseClass("KillZombieActivityALKirovProgressItem", base)
local progress_path = "Progress"
local OnCreate = function(self)
  base.OnCreate(self)
  self:ComponentDefine()
  self:DataDefine()
end
local OnDestroy = function(self)
  self:DataDestroy()
  self:ComponentDestroy()
  base.OnDestroy(self)
end
local OnEnable = function(self)
  base.OnEnable(self)
end
local OnDisable = function(self)
  base.OnDisable(self)
end
local ComponentDefine = function(self)
  self.progress = self:AddComponent(UISlider, progress_path)
end
local ComponentDestroy = function(self)
  self.progress = nil
end
local DataDefine = function(self)
  self.value = nil
end
local DataDestroy = function(self)
  self.value = nil
end
local RefreshProgress = function(self, value)
  if value then
    self.progress:SetValue(value)
  end
  self.value = value
end
KillZombieActivityALKirovProgressItem.OnCreate = OnCreate
KillZombieActivityALKirovProgressItem.OnDestroy = OnDestroy
KillZombieActivityALKirovProgressItem.OnEnable = OnEnable
KillZombieActivityALKirovProgressItem.OnDisable = OnDisable
KillZombieActivityALKirovProgressItem.ComponentDefine = ComponentDefine
KillZombieActivityALKirovProgressItem.ComponentDestroy = ComponentDestroy
KillZombieActivityALKirovProgressItem.DataDefine = DataDefine
KillZombieActivityALKirovProgressItem.DataDestroy = DataDestroy
KillZombieActivityALKirovProgressItem.RefreshProgress = RefreshProgress
return KillZombieActivityALKirovProgressItem
