Plane.Sdk3/PlaneGcsSdk_Shared/CommunicationManagement/CommWriteMissinState.cs

21 lines
559 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace Plane.CommunicationManagement
{
public class CommWriteMissinState
{
public CommWriteMissinState(bool sendAchieved)
{
this.SendAchieved = sendAchieved;
}
public int StateReturn = 0;
public int ErrorCode = 0;
public bool SendAchieved = false;
public bool WriteSucceed = false;
public bool IsFailed { get { return StateReturn != 0 || ErrorCode != 0 || !SendAchieved || !WriteSucceed; } }
}
}