mkjeff / secs4net

SECS-II/HSMS-SS/GEM implementation on .NET
https://mkjeff.github.io/secs4net/
MIT License
443 stars 195 forks source link

A suggestion for class SecsMessage #92

Closed Bert-hu closed 11 months ago

Bert-hu commented 1 year ago

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.