diff --git a/dependency/proto/Services.proto b/dependency/proto/Services.proto index 5385004..7104849 100755 --- a/dependency/proto/Services.proto +++ b/dependency/proto/Services.proto @@ -20,8 +20,8 @@ service AvailableService rpc SendMessage (SendMsg) returns (BoolRes); // rpc GetMessage (IDMsg) returns (stream MsgRes); rpc StartLearning (IDMsg) returns (BoolRes); // 开始修理机器 - rpc StartRescueMate (TreatAndRescueMsg) returns (BoolRes); // 开始救人 - rpc StartTreatMate (TreatAndRescueMsg) returns (BoolRes); + rpc StartRescueMate (IDMsg) returns (BoolRes); // 开始救人 + rpc StartTreatMate (IDMsg) returns (BoolRes); // 开始治疗 rpc Attack (AttackMsg) returns (BoolRes); // 攻击 rpc Graduate (IDMsg) returns (BoolRes); // 相当于逃跑 rpc OpenDoor (IDMsg) returns (BoolRes); // 开门 diff --git a/installer/Installer/MainWindow.xaml b/installer/Installer/MainWindow.xaml index 957889f..3f54032 100644 --- a/installer/Installer/MainWindow.xaml +++ b/installer/Installer/MainWindow.xaml @@ -5,16 +5,17 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Installer" mc:Ignorable="d" - Title="Installer" Height="450" Width="800"> + Title="Installer" Height="200" Window.SizeToContent="Width"> - - - - + + + + + @@ -26,22 +27,44 @@ - - - + + + + + +