private CellPointViewModel CreateCellPoint(KeyValuePair<int, Point> source)
{
var data = this.CellDatas.FirstOrDefault(x => x.No == source.Key);
var cell = Master.Current.MapCells.Values
.FirstOrDefault(c => c.IdInEachMapInfo == source.Key && c.MapAreaId == this.Info.MapAreaId && c.MapInfoIdInEachMapArea == this.Info.IdInEachMapArea);
return new CellPointViewModel(
source.Key.ToString(),
source.Value,
data?.ColorNo ?? cell?.ColorNo ?? 0,
data?.Distance ?? 0);
}