Пример #1
0
 public void WriteHeader(STMMemoryWriter __out)
 {
     __out.Write(NameAddr);
     __out.Write(EEPROM_ADDR);
     __out.Write(DATAMAP_ADDR);
     __out.Write(MODEL_IDX);
     __out.Write(INC);
     __out.Write(MIN);
     __out.Write(MAX);
     __out.Write(DEF);
     __out.Write((ushort)0);
 }
Пример #2
0
 public void WriteTo(STMMemoryWriter __out)
 {
     if (NameAddr != 0)
     {
         __out.Write(NameAddr, Name);
     }
 }
Пример #3
0
 public void WriteTo(STMMemoryWriter __out)
 {
     if (Addr != 0)
     {
         __out.Write(Addr, Text);
     }
 }
Пример #4
0
        public void WriteTo(STMMemoryWriter __out)
        {
            if (List.Count > 0)
            {
                __out.Position = ArrayAddr;
                __out.Write((uint)0);  // this is NO string

                foreach (var v in List)
                {
                    v.WriteHeader(__out);
                }

                foreach (var v in List)
                {
                    v.WriteTo(__out);
                }
            }
        }
Пример #5
0
 public void WriteHeader(STMMemoryWriter __out)
 {
     __out.Write(Addr);
 }