コード例 #1
0
        public MineralScanResultItem ToItem()
        {
            var item = MineralScanResultItem.Create();

            var probeInfo = new Dictionary <string, object>
            {
                { k.date, Creation },
                { k.area, Area },
                { k.zone, ZoneId },
                { k.mineral, MaterialType.GetName() },
                { k.scanAccuracy, ScanAccuracy },
                { k.type, 1 }
            };

            item.DynamicProperties.Update(k.probeInfo, probeInfo);
            return(item);
        }