Compare commits
3 Commits
1efa2ff9fd
...
0748365cdb
Author | SHA1 | Date | |
---|---|---|---|
0748365cdb | |||
af328bdb8f | |||
b8b6fde9b0 |
File diff suppressed because it is too large
Load Diff
@ -148,7 +148,7 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
/// 是否被连接
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool? IsConned { set; get; }
|
||||
public bool? IsConned { set; get; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 当前这个set的连接情况
|
||||
@ -168,8 +168,7 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
#endregion
|
||||
|
||||
public ec_CableSetEntity()
|
||||
{
|
||||
IsConned = null;
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
this.ChannelID = Guid.NewGuid().ToString();
|
||||
this.CreateTime = Time.MySqlTime;
|
||||
UserInfo userInfo = LoginUserInfo.Get();
|
||||
this.CreateUserID = userInfo.userId;
|
||||
this.CreateUserID = userInfo?.userId;
|
||||
|
||||
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
this.StripID = Guid.NewGuid().ToString();
|
||||
this.CreateTime = Time.MySqlTime;
|
||||
UserInfo userInfo = LoginUserInfo.Get();
|
||||
this.CreateUserID = userInfo.userId;
|
||||
this.CreateUserID = userInfo?.userId;
|
||||
|
||||
|
||||
}
|
||||
@ -96,15 +96,23 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<ec_PanelChannelEntity> Channels { set; get; } = new List<ec_PanelChannelEntity>();
|
||||
|
||||
/// <summary>
|
||||
/// channel在<see cref="ec_WireTerminalEntity"/>里有,同时<see cref="ec_Wire_GroupEntity.ChannelID"/>也有
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ChannelsUsed { set; get; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// channel在<see cref="ec_WireTerminalEntity"/>里有,但是没有信号
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ChannelsUsedNoSignal { set; get; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// channel在<see cref="ec_WireTerminalEntity"/>里没有
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ChannelsSpared { set; get; } = 0;
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string TagNumber { set; get; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user