protected override void show() { base.show(); var CurrentDevice = (SystemSlot.SubDevice) this.CurrentSubDevice; lbl_SlotNumber_Value.Text = MobPropertyDataConvert.AsDefaultValue(new MobProperty(this.CurrentDevice.SubDevices.Count().ToString()), "N/A");; abort(); }
protected override void show() { base.show(); var CurrentDevice = (ComputerSystemProduct.SubDevice) this.CurrentSubDevice; lbl_NumberID_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.IdentifyingNumber, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentPerformance = (PERFORM_SYSTEM.SubDevice) this.CurrentSubDevice; lbl_Threads_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.Threads, "N/A", "{0:N0}"); lbl_Process_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.Processes, "N/A", "{0:N0}"); }
protected override void show() { base.show(); var CurrentSubDevice = (SoundDevice.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Name, "N/A"); lbl_Manufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Manufacturer, "N/A"); lbl_PowerManagment_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.PowerManagementSupported, "N/A"); }
protected override void show() { base.show(); var CurrentDevice = (MotherboardDevice.SubDevice) this.CurrentSubDevice; lbl_PrimaryBus_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.PrimaryBusType, "N/A"); lbl_SecondaryBus_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.SecondaryBusType, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentDevice = (PhysicalMemoryArray.SubDevice) this.CurrentSubDevice; lbl_Size_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.MaxCapacity, "N/A", "{0:N0}") + " Kbytes"; lbl_Block_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.MemoryDevices, "N/A"); lbl_Type_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Caption, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentDevice = (BaseBoard.SubDevice) this.CurrentSubDevice; lbl_Manufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Manufacturer, "N/A"); lbl_Model_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Product, "N/A"); lbl_Version_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Version, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentDevice = (DiscoveryLight.Core.Device.Data.OperatingSystem.SubDevice) this.CurrentSubDevice; lbl_Version_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.BuildNumber, "N/A"); lbl_SystemOS_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Caption, "N/A"); lbl_Producer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Manufacturer, "N/A"); lbl_Architectur_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.OSArchitecture, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentDevice = (ComputerSystem.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Name, "N/A"); lbl_Type_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.SystemType, "N/A"); lbl_Manufaturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Manufacturer, "N/A"); lbl_Model_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Model, "N/A"); lbl_User_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.UserName, "N/A"); lbl_Domain_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Domain, "N/A"); abort(); }
protected override void show() { base.show(); var CurrentDevice = (BIOS.SubDevice) this.CurrentSubDevice; lbl_BiosManufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Manufacturer, "N/A");; lbl_BiosSerialNumber_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.SerialNumber, "N/A"); lbl_BiosVersion_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentDevice.Caption, "N/A"); lbl_BiosReleaseDate_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsSubString(0, 4), CurrentDevice.ReleaseDate, null) + "-" + MobPropertyDataConvert.AsDefaultValue(x => x.AsSubString(4, 2), CurrentDevice.ReleaseDate, null) + "-" + MobPropertyDataConvert.AsDefaultValue(x => x.AsSubString(6, 2), CurrentDevice.ReleaseDate, null); abort(); }
protected override void show() { base.show(); var CurrentPerformance = (PERFORM_DISK.SubDevice) this.CurrentSubDevice; lbl_Free_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt32() / 1024, CurrentPerformance.FreeMegabytes, "N/A", "{0:N0}") + " GB"; lbl_Write_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt32() / 1024, CurrentPerformance.DiskWriteBytesPersec, "N/A", "{0:N0}") + " KB"; lbl_Read_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt32() / 1024, CurrentPerformance.DiskReadBytesPersec, "N/A", "{0:N0}") + " KB"; lbl_Transfer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.DiskTransfersPersec, "N/A", "{0:N0}"); chartReadTime.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentDiskReadTime); chartWriteTime.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentDiskWriteTime); chartDiskTime.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentDiskTime); chartIdleTime.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentIdleTime); chartDiskFree.FillSize = MobPropertyChartConvert.FillOrDefault(x => 100 - x.AsInt32(), CurrentPerformance.PercentFreeSpace); }
protected override void show() { base.show(); var CurrentPerformance = (PERFORM_RAM.SubDevice) this.CurrentSubDevice; lbl_CacheUsage_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt64() / 1048576, CurrentPerformance.CacheBytes, "N/A", "{0:N0}") + " MB"; lbl_CacheUsageMax_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt64() / 1048576, CurrentPerformance.CacheBytesPeak, "N/A", "{0:N0}") + " MB"; lbl_RamOut_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt64() / 1048576, CurrentPerformance.CommittedBytes, "N/A", "{0:N0}") + " MB"; lbl_Free_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.AvailableMBytes, "N/A", "{0:N0}") + " MB"; lbl_PageIn_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PagesInputPersec, "N/A", "{0:N0}"); lbl_PageOut_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PagesOutputPersec, "N/A", "{0:N0}"); lbl_PageWrite_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PageWritesPersec, "N/A", "{0:N0}"); lbl_PageRead_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PageReadsPersec, "N/A", "{0:N0}"); lbl_PagePersec_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PagesPersec, "N/A", "{0:N0}"); chartRamUsage.FillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PerUsage); }
protected override void show() { base.show(); String currentCpu = (CurrentDevice as DevicePerformance).DeviceRelated; lbl_CpuSpeed_Value.Text = MobPropertyDataConvert.AsDefaultValue((CurrentDevice.SubDevices.Where(d => d.Name.AsString().Equals(currentCpu + ",_Total")).First() as PERFORM_CPU.SubDevice).Frequency, "N/A", "{0:N0}") + " Mhz"; chartCpuUsage.FillSize = MobPropertyChartConvert.FillOrDefault(x => x.AsInt16(), (CurrentDevice.SubDevices.Where(d => d.Name.AsString().Equals(currentCpu + ",_Total")).First() as PERFORM_CPU.SubDevice).PercentProcessorTime); int i = 0; foreach (WinformComponents.ChartBar ctrl in pnl_Threads.Controls.Find(typeof(WinformComponents.ChartBar).ToString(), false)) { ctrl.BarFillSize = MobPropertyChartConvert.FillOrDefault(x => x.AsInt16(), (CurrentDevice.SubDevices.Where(d => d.Name.AsString() == currentCpu + "," + i).First() as PERFORM_CPU.SubDevice).PercentProcessorTime); i++; } }
protected override void show() { base.show(); var CurrentSubDevice = (PhysicalMemory.SubDevice) this.CurrentSubDevice; lbl_BlockSize_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Capacity, "N/A", "{0:N0}") + " Kbytes"; lbl_BlockSlotPosition_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.DeviceLocator, "N/A"); lbl_BlockLocation_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.BankLabel, "N/A"); lbl_BlockManufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Manufacturer, "N/A"); lbl_BlockNumberParty_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.PartNumber, "N/A"); lbl_BlockSerial_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.SerialNumber, "N/A"); lbl_BlockSpeed_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.ConfiguredClockSpeed, "N/A", "{0:N0}") + " Mhz"; lbl_BlockBusSize_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.DataWidth, "N/A") + " Bytes"; lbl_BlockVoltage_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MinVoltage, "N/A", "{0:N0}") + " mV"; abort(); }
protected override void show() { base.show(); var CurrentSubDevice = (DiskDrive.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Caption, "N/A"); lbl_Tipology_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MediaType, "N/A"); lbl_ConnectionType_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.InterfaceType, "N/A"); lbl_Size_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt64() / 1048576, CurrentSubDevice.Size, "N/A", "{0:N0}") + " MB"; lbl_SerialNumber_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.SerialNumber, "N/A"); lbl_Cylinders_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.TotalCylinders, "N/A", "{0:N0}"); lbl_Heads_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.TotalHeads, "N/A", "{0:N0}"); lbl_Sectors_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.TotalSectors, "N/A", "{0:N0}"); lbl_Tracks_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.TotalTracks, "N/A", "{0:N0}"); lbl_TracksPerCylinder_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.TracksPerCylinder, "N/A", "{0:N0}"); lbl_BytesPerSector_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.BytesPerSector, "N/A", "{0:N0}"); lbl_Firmware_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.FirmwareRevision, "N/A"); }
protected override void show() { base.show(); var CurrentSubDevice = (VideoController.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Name, "N/A");; lbl_Manufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.AdapterCompatibility, "N/A"); lbl_Adapter_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.AdapterDACType, "N/A"); lbl_Memory_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt64() / 1024, CurrentSubDevice.AdapterRAM, "N/A", "{0:N0}") + " MB"; lbl_BitsPixel_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.CurrentBitsPerPixel, "N/A"); lbl_HorizontalResolution_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.CurrentHorizontalResolution, "N/A", "{0:N0}") + " Pixel"; lbl_VerticalResolution_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.CurrentVerticalResolution, "N/A", "{0:N0}") + " Pixel"; lbl_FreqNow_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.CurrentRefreshRate, "N/A") + " Hz"; lbl_FreqMax_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MaxRefreshRate, "N/A") + " Hz"; lbl_FreqMin_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MinRefreshRate, "N/A") + " Hz"; lbl_ColorsNumber_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.CurrentNumberOfColors, "N/A", "{0:N0}");; lbl_ModalitySupported_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.VideoModeDescription, "N/A");; }
protected override void show() { base.show(); var CurrentSubDevice = (NetworkAdapter.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Name, "N/A"); lbl_Tipology_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.NetConnectionID, "N/A"); lbl_Manufacturer_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Manufacturer, "N/A"); lbl_AdapterType_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.AdapterType, "N/A"); lbl_DeviceID_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.DeviceID, "N/A"); lbl_Speed_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsDouble() / 1000000, CurrentSubDevice.Speed, "N/A") + " Mbps"; lbl_MACAddress_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MACAddress, "N/A"); lbl_IPAddress_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsArray(0), CurrentSubDevice.IpAddress, "N/A"); lbl_PrimaryDNS_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsArray(0), CurrentSubDevice.DNSServerSearchOrder, "N/A"); lbl_SecondaryDNS_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsArray(1), CurrentSubDevice.DNSServerSearchOrder, "N/A"); lbl_SubnetMask_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsArray(0), CurrentSubDevice.IpSubnet, "N/A"); lbl_Getway_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsArray(0), CurrentSubDevice.DefaultIPGateway, "N/A"); }
protected override void show() { base.show(); var CurrentSubDevice = (Processor.SubDevice) this.CurrentSubDevice; lbl_Name_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Name, "N/A"); lbl_Size_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.AddressWidth, "N/A") + " bit"; lbl_Description_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Description, "N/A"); lbl_Producteur_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Manufacturer, "N/A"); lbl_Revision_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.Revision, "N/A"); lbl_Socket_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.SocketDesignation, "N/A"); lbl_Core_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.NumberOfCores, "N/A"); lbl_Thread_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.NumberOfLogicalProcessors, "N/A"); lbl_MaxSpeed_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.MaxClockSpeed, "N/A", "{0:N0}") + " Mhz"; lbl_L1CacheSize_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsInt16() / 4, CurrentSubDevice.L2CacheSize, "N/A") + " Kb"; lbl_L2CacheSize_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.L2CacheSize, "N/A") + " Kb"; lbl_L3CacheSize_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentSubDevice.L3CacheSize, "N/A") + " Kb"; abort(); }
protected override void show() { base.show(); var CurrentPerformance = (PERFORM_NETWORK.SubDevice) this.CurrentSubDevice; lbl_BytesReceived_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.BytesReceivedPersec, "N/A", "{0:N0}"); lbl_BytesSent_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.BytesSentPersec, "N/A", "{0:N0}"); lbl_PacketsReceived_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PacketsReceivedPersec, "N/A", "{0:N0}"); lbl_PacketsSent_Value.Text = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.PacketsSentPersec, "N/A", "{0:N0}"); lbl_TotalReceived_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt32() / 1024, CurrentPerformance.TotalBytesReceived, "N/A", "{0:N0}"); lbl_TotalSent_Value.Text = MobPropertyDataConvert.AsDefaultValue(x => x.AsUInt32() / 1024, CurrentPerformance.TotalBytesSent, "N/A", "{0:N0}"); chartBytesReceived.BarFillSize = MobPropertyChartConvert.FillOrDefault(x => x.AsInt16(), CurrentPerformance.PercentBytesReceived); chartBytesSent.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentBytesSent); chartPacketsReceived.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentPacketsReceived); chartPacketsSent.BarFillSize = MobPropertyChartConvert.FillOrDefault(CurrentPerformance.PercentPacketsSents); pic_Received.BackColor = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.BytesReceivedPersec, "0").Equals("0") ? Color.Transparent : Color.LightGreen; pic_Sent.BackColor = MobPropertyDataConvert.AsDefaultValue(CurrentPerformance.BytesSentPersec, "0").Equals("0") ? Color.Transparent : Color.Tomato; }