<Button Command="{Binding RelativeSource={RelativeSource AncestorType={x:Type DataGrid}},Path=DataContext.CmdTempSet}" CommandParameter="{Binding}" Content="温度" />