コード例 #1
0
ファイル: Program.cs プロジェクト: Rustam-carlos/DP_HW_2.2
        public string ShowProcessorStation(IMainboard device)
        {
            var result = device.ShowMessage();

            return($"({result}): установлен");
        }
コード例 #2
0
        public string ShowBatteryChargeLevel(IMainboard collaborator)
        {
            var result = collaborator.ShowMessage();

            return($"({result}): processor charge level is 40%");
        }