Hi mkjeff,
Could you change the public Item? SecsItem { get; init; }syntax to public Item? SecsItem { get; set; }.
My approach is to pre-define the message format and store it in an SML file, and then retrieve it from there, only needing to modify a part of the Item. If it's defined as "init", I won't be able to modify it after I get the SecsMessage.
btw, I need to modify an ASCII type Item.
Hi mkjeff, Could you change the
public Item? SecsItem { get; init; }
syntax topublic Item? SecsItem { get; set; }
. My approach is to pre-define the message format and store it in an SML file, and then retrieve it from there, only needing to modify a part of the Item. If it's defined as "init", I won't be able to modify it after I get the SecsMessage. btw, I need to modify an ASCII type Item.