Update: Device Count Details

More information about device membership in Batches, Profiles and
Models.
This commit is contained in:
Gary Sharp
2013-07-25 17:47:40 +10:00
parent ad6b1b19b6
commit 19503366c4
27 changed files with 883 additions and 482 deletions
@@ -10,6 +10,9 @@ namespace Disco.Models.UI.Config.DeviceBatch
{
Disco.Models.Repository.DeviceBatch DeviceBatch { get; set; }
List<Disco.Models.Repository.DeviceModel> DeviceModels { get; set; }
List<ConfigDeviceBatchShowModelMembership> DeviceModelMembers { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
bool CanDelete { get; set; }
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.UI.Config.DeviceBatch
{
public interface ConfigDeviceBatchShowModelMembership : BaseUIModel
{
Disco.Models.Repository.DeviceModel DeviceModel { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
}
}
@@ -14,5 +14,6 @@ namespace Disco.Models.UI.Config.DeviceModel
string Model { get; set; }
string ModelType { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
}
}
@@ -12,6 +12,9 @@ namespace Disco.Models.UI.Config.DeviceModel
ConfigDeviceModelComponentsModel DeviceComponentsModel { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
bool CanDelete { get; set; }
}
}
@@ -11,6 +11,9 @@ namespace Disco.Models.UI.Config.DeviceProfile
Disco.Models.Repository.DeviceProfile DeviceProfile { get; set; }
List<Disco.Models.BI.Config.OrganisationAddress> OrganisationAddresses { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
bool CanDelete { get; set; }
}
}