Esempio n. 1
0
        public string TransferTimeString;        // computed

        public void Normalise()
        {
            ShipTypeFD         = JournalFieldNaming.NormaliseFDShipName(ShipType);
            ShipType           = JournalFieldNaming.GetBetterShipName(ShipTypeFD);
            ShipType_Localised = ShipType_Localised.Alt(ShipType);
            TransferTimeSpan   = new System.TimeSpan((int)(TransferTime / 60 / 60), (int)((TransferTime / 60) % 60), (int)(TransferTime % 60));
            TransferTimeString = TransferTimeSpan.ToString();
        }
Esempio n. 2
0
 public void Normalise()
 {
     FDShipType         = JournalFieldNaming.NormaliseFDShipName(ShipType);
     ShipType           = JournalFieldNaming.GetBetterShipName(FDShipType);
     ShipType_Localised = JournalFieldNaming.CheckLocalisation(ShipType_Localised ?? "", ShipType);
 }
Esempio n. 3
0
            public string FriendlyShipType;   // created

            public void Normalise()
            {
                ShipType           = JournalFieldNaming.NormaliseFDShipName(ShipType);
                FriendlyShipType   = JournalFieldNaming.GetBetterShipName(ShipType);
                ShipType_Localised = JournalFieldNaming.CheckLocalisation(ShipType_Localised, FriendlyShipType);
            }
Esempio n. 4
0
 public void Normalise()
 {
     FDShipType         = JournalFieldNaming.NormaliseFDShipName(ShipType);
     ShipType           = JournalFieldNaming.GetBetterShipName(FDShipType);
     ShipType_Localised = ShipType_Localised.Alt(ShipType);
 }