예제 #1
0
        }                                                                                                                                      //S6F11自訂內容



        public static MacS6F11 Create()
        {
            var rs = new MacS6F11();

            rs.Message.header.StreamId   = 6;
            rs.Message.header.FunctionId = 11;
            rs.RootList = new CxSecsIINodeList();
            var rootList = rs.RootList;


            rootList.Data.AddRange(new CxSecsIINode[] {
                (CxSecsIINodeASCII)"",

                //Common
                new CxSecsIINodeList()
                {
                    Data = new List <CxSecsIINode>(new [] {
                        (CxSecsIINodeASCII)"Common[0]"
                    })
                },

                //Content
                new CxSecsIINodeList(),
            });



            return(rs as MacS6F11);
        }
예제 #2
0
        public new static MacS6F11DockComplete Create()
        {
            var rs = new MacS6F11DockComplete(MacS6F11.Create());

            rs.MessageName = EnumMacCeid.S6F11_DockComplete.ToString();

            rs.S6F11CustomContent.Data.AddRange(new CxSecsIINodeASCII[2]);

            rs.PodBarcode = "PBC123456";
            rs.BoxBarcode = "BBC654321";


            return(rs);
        }