module CommLogistics::Tools
  class Status
  end
  
  class << Status
    def complete?(val, key)
      result = false
      val = val.to_i
      case key.to_s
      when 'state_code'
        if val == Comm::Const::MasterCode::MCODE_STATUS2_COMP
          result = true
        end
      end
      
      result
    end
  end
end