Skip to content

Commit

Permalink
Fix static analysis complains.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona committed Sep 15, 2019
1 parent fbef3bd commit 189e902
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// <copyright file="20190915121030_InitialCreate.cs" company="Shuai Zhang">
// Copyright Shuai Zhang. All rights reserved.
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information.
// </copyright>

using System;
using Microsoft.EntityFrameworkCore.Migrations;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// <copyright file="20190915131054_SplitActualAndDesiredDevicesStates.cs" company="Shuai Zhang">
// Copyright Shuai Zhang. All rights reserved.
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information.
// </copyright>

using System;
using Microsoft.EntityFrameworkCore.Migrations;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

namespace GeothermalResearchInstitute.ServerConsole.Model
{
[System.Diagnostics.CodeAnalysis.SuppressMessage(
"Performance", "CA1819:属性不应返回数组", Justification = "Disable for DTO.")]
public class DeviceActualStates : DeviceStates
{
public byte[] IPAddress { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="Device.cs" company="Shuai Zhang">
// <copyright file="DeviceStates.cs" company="Shuai Zhang">
// Copyright Shuai Zhang. All rights reserved.
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information.
// </copyright>
Expand Down

0 comments on commit 189e902

Please sign in to comment.