예제 #1
0
        public void AddNewFidelityParameters()
        {
            var newMessage = FidelityBuilder.builder.CreateNew();

            MessageUtil.AdjustEnumValues(newMessage);
            int index = messages.Count > 0 ? messages.Keys.Max() + 1 : 1;

            messages.Add(index, newMessage);
            FileUtil.SaveFidelityMessage(newMessage, index);
            RefreshTrends();
        }
예제 #2
0
 public void RefreshFidelityParameters(IMessage message, int index)
 {
     messages[index] = message;
     FileUtil.SaveFidelityMessage(message, index);
     RefreshTrends();
 }